pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/chat/py-mastodon



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Jul 28 16:09:58 UTC 2019

Modified Files:
        pkgsrc/chat/py-mastodon: Makefile distinfo

Log Message:
py-mastodon: Update to 1.4.6

v1.4.6
------
* Fix documentation for list_accounts()
* Add note about block lists to documentation
* Add note that 2.7 support is being sunset

v1.4.5
------
* Small fix to be friendlier to hosted apps

v1.4.4
------
* Added support for moderation API (Thanks Gargron for the clarifications and dotUser for helping with testing)
* Made status_delete return the deleted status (With "source" attribute)
* Added account_id parameter to notifications
* Added streaming_health
* Added support for local hashtag streams
* Made blurhash an optional dependency (Thanks limburgher)
* Fixed some things related to error handling (Thanks lefherz)
* Fixed various small documentation issues (Thanks lefherz)

v1.4.3
------
* BREAKING BUT ONLY FOR YOUR DEPLOY, POTENTIALLY: http_ece and cryptography are now optional dependencies, if you need full webpush crypto support add the "webpush" feature to your Mastodon.py 
requirements or require one or both manually in your own setup.py.
* Fixed a bug in create_account (Thanks csmall for the report)
* Allowed and documented non-authenticated access to streaming API (Thanks webwurst)
* Fixed MastodonServerError not being exported (Thanks lefherz)
* Fixed various small documentation issues (Thanks julianaito)

v1.4.2
------
* Fixed date parsing in hashtag dicts.

v1.4.1
------
* Fixed search not working on Mastodon versions before 2.8.0. search now dynamically selects search_v1 or search_v2 and adjusts valid parameters depending on the detected Mastodon version.
* Added blurhash decoding.

v1.4.0
------
There are some breaking changes in this release, though less than you might think, considering
this goes all the way from version 2.4.3 to 2.8.0.

* BREAKING CHANGE: Changed streaming API behaviour to make the initial connection asynchronous (Thanks to Shura0 for the detailed report)
    * Old behaviour: The initial connection could fail, the stream functions would then throw an exception.
    * New behaviour: The initial connection function just returns immediately. If there is a connection error, the listeners on_abort handler is called to inform the user and the connection is 
retried.
* BREAKING CHANGE: search() now calls through to search_v2. The old behaviour is available as search_v1.
* Added support for polls (Added in 2.8.0)
* Added support for preferences API (Added in 2.8.0)
* Added support for the boost visibility parameter (Added in 2.8.0)
* Added support for type, limit, offset, min_id, max_id, account_id on the search API (Added in 2.8.0)
* Added support for scheduled statuses (Added in 2.7.0)
* Added support for account creation via the API (Thanks gargron for clarifying many things here and in other places. Added in 2.7.0)
* Added support for conversation streaming / stream_direct (Added in 2.6.0)
* Added support for conversations (Added in 2.6.0)
* Added support for report forwarding (Added in 2.5.0)
* Added support for multiple OAuth redirect URIs and forcing the user to re-login in OAuth flows.
* Added support for app_verify_credentials endpoint (Added in 2.7.2).
* Added support for min_id based backwards pagination (Added in 2.6.0). The old method is still supported for older installs.
* Added support for account pins / endorsements (Added in 2.5.0).
* Updated documentation for changes to entities.
* Added the ability to access non-authenticated endpoints with no app credentials (Thanks to cerisara for the report and codl).
* Fixed the streaming API not working with gzip encoding (Thanks to bitleks for the report).
* Added more explicitly caught error classes (Thanks to lefherz).
* Improved Pleroma support including content-type and pagination fixes (Thanks to jfmcbrayer for the report and codl).
* Added better session support (Thanks to jrabbit).
* Fixed dependencies (Thanks to jrabbit).
* Fixed variousmime type issues (Thanks to errbufferoverfl and jfmcbrayer).
* Improved the example code (Thanks to MarkEEaton).
* Fixed various small documentation issues (Thanks to allo-).


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/chat/py-mastodon/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/chat/py-mastodon/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/py-mastodon/Makefile
diff -u pkgsrc/chat/py-mastodon/Makefile:1.7 pkgsrc/chat/py-mastodon/Makefile:1.8
--- pkgsrc/chat/py-mastodon/Makefile:1.7        Mon Oct  1 16:31:11 2018
+++ pkgsrc/chat/py-mastodon/Makefile    Sun Jul 28 16:09:58 2019
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2018/10/01 16:31:11 nia Exp $
+# $NetBSD: Makefile,v 1.8 2019/07/28 16:09:58 nia Exp $
 
-VERSION=       1.3.1
-DISTNAME=      Mastodon.py-${VERSION}
-PKGNAME=       ${PYPKGPREFIX}-mastodon-${VERSION}
+PKGNAME=       ${PYPKGPREFIX}-mastodon-1.4.6
+DISTNAME=      Mastodon.py-${PKGVERSION_NOREV}
 CATEGORIES=    chat www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=M/Mastodon.py/}
 
@@ -17,6 +16,7 @@ USE_LANGUAGES=        # none
 DEPENDS+=      ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
 DEPENDS+=      ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
 DEPENDS+=      ${PYPKGPREFIX}-http_ece-[0-9]*:../../www/py-http_ece
+DEPENDS+=      ${PYPKGPREFIX}-magic-[0-9]*:../../sysutils/py-magic
 DEPENDS+=      ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
 DEPENDS+=      ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
@@ -29,5 +29,8 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-wrapt-[0-9
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
 
+# "Note that python 2.7 is now no longer officially supported."
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/chat/py-mastodon/distinfo
diff -u pkgsrc/chat/py-mastodon/distinfo:1.5 pkgsrc/chat/py-mastodon/distinfo:1.6
--- pkgsrc/chat/py-mastodon/distinfo:1.5        Mon Oct  1 16:31:11 2018
+++ pkgsrc/chat/py-mastodon/distinfo    Sun Jul 28 16:09:58 2019
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2018/10/01 16:31:11 nia Exp $
+$NetBSD: distinfo,v 1.6 2019/07/28 16:09:58 nia Exp $
 
-SHA1 (Mastodon.py-1.3.1.tar.gz) = 101164587179c1cf20a17c1a57960c1b1b8c8433
-RMD160 (Mastodon.py-1.3.1.tar.gz) = 703f45e4814e1a393946ba5decd11e1ba8b02fdd
-SHA512 (Mastodon.py-1.3.1.tar.gz) = affcc2f4915676e2b6cc1ac1a3dd30917ae6160962b9438232157b069e6fcbdcdda9126dddd8b58376eecda2da6b494ba2de9ddb97b6d7286687ea767f9b3e40
-Size (Mastodon.py-1.3.1.tar.gz) = 831977 bytes
+SHA1 (Mastodon.py-1.4.6.tar.gz) = b0b68428faf758aef6b990fceb51848dcf941ed2
+RMD160 (Mastodon.py-1.4.6.tar.gz) = 942ef6cae5df21c52c9d68976e5c31d3ad8bb54a
+SHA512 (Mastodon.py-1.4.6.tar.gz) = f10e86433a9a02147a58e115ed942857f6dfb2c0332353dff0df57e606246ff5bbaaf7f004c3634bdf22277ae09af8fbcd828d6aa9d2189aa5ddd5fa649617df
+Size (Mastodon.py-1.4.6.tar.gz) = 680887 bytes
 SHA1 (patch-mastodon_Mastodon.py) = d4330248d17d99dd4b5b401de9690f346220ed86



Home | Main Index | Thread Index | Old Index