pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/py-tweepy
Module Name: pkgsrc
Committed By: adam
Date: Sun Mar 7 17:20:00 UTC 2021
Modified Files:
pkgsrc/net/py-tweepy: Makefile PLIST distinfo
Removed Files:
pkgsrc/net/py-tweepy/patches: patch-setup.py patch-tweepy_streaming.py
Log Message:
py-tweepy: updated to 3.10.0
Version 3.10.0
This will be the last major and minor version to support Python 2.7
The next non-patch release should be version 4.0.0.
New Features / Improvements
Add API.search_30_day and API.search_full_archive
Update allowed parameters for API.home_timeline
Add trim_user, exclude_replies, include_entities
Remove page as erroneously documented parameter
Reorder count to be the first parameter
Update allowed parameters for API.get_oembed
Add hide_thread, theme, link_color, widget_type, dnt
Remove id
Remove API.update_profile_background_image
Add support for Python 3.9
Switch from Travis CI to GitHub Actions to run tests and deploy releases
Update and improve various documentation
Bug Fixes
Use mimetypes.guess_type as fallback for determining image file type
Use proper MIME type in Content-Type header for uploaded images
Allow file parameter to be used again for API.media_upload
Allow file parameter to be used again for API.update_profile_banner, API.update_profile_image, and API.update_with_media
Fix User.lists, User.lists_memberships, and User.lists_subscriptions to retrieve information about the user in question rather than the authenticating user
Version 3.9.0
New Features / Improvements
Add API.create_media_metadata
Update allowed parameters for API.update_status
Add exclude_reply_user_ids, attachment_url, possibly_sensitive, trim_user, enable_dmcommands, fail_dmcommands, card_uri
Remove in_reply_to_status_id_str, source
Add allowed parameters to API.get_status
trim_user, include_my_retweet, include_entities, include_ext_alt_text, include_card_uri
Add allowed parameters to API.statuses_lookup
include_ext_alt_text, include_card_uri
Improve API.lookup_users
Improve and optimize API.statuses_lookup, API.create_media_metadata, API.update_status
Add reverse as allowed parameter for API.lists_all
Add count as allowed parameter for API.lists_memberships
Add count as allowed parameter for API.lists_subscriptions
Add include_entities as allowed parameter for API.list_timeline
Add allowed parameters to API.list_subscribers
count, include_entities, skip_status
Add support for Python 3.8
Update and improve setup.py
Use requests socks extra instead of requiring PySocks directly
Allow uploading of images with file names without extensions
Support uploading WebP images
Add missing attributes to Relationship model
Update max allowed size for uploaded GIFs
Add _json attribute to DirectMessage model
Update and improve tests
Add documentation for extended Tweets
Document API.lookup_users
Add documentation for running tests
Add Korean translation of documentation
Add Polish translation of documentation
Document API.lookup_friendships
Update and improve various documentation
Bug Fixes
Fix handling of invalid credentials for API.verify_credentials
Handle boolean value for API.verify_credentials include_email parameter
Allow Cursor to be used with API.list_direct_messages by adding DMCursorIterator
Version 3.8.0
New Features / Improvements
Allow streams to use daemon threads
Remove API.set_delivery_device
Remove simplejson import and usage
Allow cursor parameter for API.blocks_ids and API.mutes_ids
Drop support for Python 3.4
Allow perform_block parameter for API.report_spam
Add API.mutes
Allow count parameter for API.friends
Remove since, from, to, and source as allowed parameters for API.search
Handle location deletion and withheld content notices for streams
Allow usage of equality and difference operators with User objects
Add _json attribute to Category, Friendship, and List models
Remove API.suggested_categories, API.suggested_users, and API.suggested_users_tweets
Update and improve tests and cassettes
Update DirectMessage model
Replace API.direct_messages and API.sent_direct_messages with API.list_direct_messages
Update API.get_direct_message, API.send_direct_message, and API.destroy_direct_message
Update and improve various documentation
Bug Fixes
Exclude examples during installation
Properly initialize OAuthHandler.request_token
Properly handle map_ parameter for API.statuses_lookup
Support cursor pagination for API.blocks_ids and API.mutes_ids
Return values for API.update_profile_background_image and API.update_profile_banner
Replace usage of root logger
Close Requests sessions
Version 3.7.0
New Features / Improvements
Allow trim_user and exclude_replies as parameters for API.user_timeline
Allow tweet_mode parameter for API.statuses_lookup
Drop support for Python 2.6 and 3.3
Discord Server
Add proxy support for streams
Add API.create_mute, API.destroy_mute, and API.mutes_ids
Allow tweet_mode parameter for API.lookup_users
Bug Fixes
Fix AttributeError during streaming
Update how requirements are specified
Fix compatibility issue with Python 3.7
Version 3.6.0
New Features / Improvements
Parse Status.quoted_status as a Status object
Allow in_reply_to_status_id_str as a parameter for API.update_status and API.update_with_media
Add stall_warnings parameter to Stream.sample
Add API.unretweet
Allow auto_populate_reply_metadata as a parameter for API.update_status and API.update_with_media
Allow profile_link_color as a parameter for API.update_profile
Add support for Python 3.6
Bug Fixes
Update file size limit for API.media_upload
Fix JSONParser.parse returning None in certain cases
Include URL parameters when accessing cache
Properly re-raise exceptions during streaming
Fix AttributeError and TypeError during streaming
Properly encode filter_level for Stream.filter
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/net/py-tweepy/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/py-tweepy/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/py-tweepy/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/net/py-tweepy/patches/patch-setup.py \
pkgsrc/net/py-tweepy/patches/patch-tweepy_streaming.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/py-tweepy/Makefile
diff -u pkgsrc/net/py-tweepy/Makefile:1.8 pkgsrc/net/py-tweepy/Makefile:1.9
--- pkgsrc/net/py-tweepy/Makefile:1.8 Mon Feb 24 00:02:59 2020
+++ pkgsrc/net/py-tweepy/Makefile Sun Mar 7 17:20:00 2021
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2020/02/24 00:02:59 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2021/03/07 17:20:00 adam Exp $
-DISTNAME= tweepy-3.5.0
+DISTNAME= tweepy-3.10.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tweepy/}
@@ -11,12 +10,13 @@ HOMEPAGE= https://github.com/tweepy/twee
COMMENT= Basic Python API for Twitter
LICENSE= mit
-DEPENDS+= ${PYPKGPREFIX}-requests>=2.4.3:../../devel/py-requests
-DEPENDS+= ${PYPKGPREFIX}-requests-oauthlib>=0.4.1:../../security/py-requests-oauthlib
-DEPENDS+= ${PYPKGPREFIX}-six>=1.7.3:../../lang/py-six
-BUILD_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
+DEPENDS+= ${PYPKGPREFIX}-requests>=2.11.1:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-requests-oauthlib>=0.7.0:../../security/py-requests-oauthlib
+DEPENDS+= ${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-JWT
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/py-tweepy/PLIST
diff -u pkgsrc/net/py-tweepy/PLIST:1.3 pkgsrc/net/py-tweepy/PLIST:1.4
--- pkgsrc/net/py-tweepy/PLIST:1.3 Mon Feb 24 00:02:59 2020
+++ pkgsrc/net/py-tweepy/PLIST Sun Mar 7 17:20:00 2021
@@ -1,18 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2020/02/24 00:02:59 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/03/07 17:20:00 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/${EGG_INFODIR}/zip-safe
-${PYSITELIB}/examples/__init__.py
-${PYSITELIB}/examples/__init__.pyc
-${PYSITELIB}/examples/__init__.pyo
-${PYSITELIB}/examples/oauth.py
-${PYSITELIB}/examples/oauth.pyc
-${PYSITELIB}/examples/oauth.pyo
-${PYSITELIB}/examples/streaming.py
-${PYSITELIB}/examples/streaming.pyc
-${PYSITELIB}/examples/streaming.pyo
${PYSITELIB}/tweepy/__init__.py
${PYSITELIB}/tweepy/__init__.pyc
${PYSITELIB}/tweepy/__init__.pyo
Index: pkgsrc/net/py-tweepy/distinfo
diff -u pkgsrc/net/py-tweepy/distinfo:1.4 pkgsrc/net/py-tweepy/distinfo:1.5
--- pkgsrc/net/py-tweepy/distinfo:1.4 Mon Feb 24 00:02:59 2020
+++ pkgsrc/net/py-tweepy/distinfo Sun Mar 7 17:20:00 2021
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.4 2020/02/24 00:02:59 joerg Exp $
+$NetBSD: distinfo,v 1.5 2021/03/07 17:20:00 adam Exp $
-SHA1 (tweepy-3.5.0.tar.gz) = 572ab73540ac6aadd19c125dfaa3208c661ca65d
-RMD160 (tweepy-3.5.0.tar.gz) = 96db56b0233e8ec01b57e2d28b1176b6f42c328c
-SHA512 (tweepy-3.5.0.tar.gz) = cf87f0b7dea0ca444c17a3fdb9c2ebef814683c110511876c1997630b3202393276d3dd2de3b37fc21eb7a15382d22cc886109bda5a11b3d06a08081704c8c2a
-Size (tweepy-3.5.0.tar.gz) = 24348 bytes
-SHA1 (patch-setup.py) = 45429ecb0f37893df924aca353cd85add2fdd0dd
-SHA1 (patch-tweepy_streaming.py) = 456652db7f555a8c0bb57e3cc168b039f6e637a3
+SHA1 (tweepy-3.10.0.tar.gz) = ef525295bc526a483174c2c291ab703b29cad979
+RMD160 (tweepy-3.10.0.tar.gz) = c4d33d313d3aa2fb5498f9c48ac085f9ee42bd52
+SHA512 (tweepy-3.10.0.tar.gz) = bee4e5438935b497ab7b726246865ab5c0cf86c06ea5e59b31eca71d9a01eb4465e3ca7b4e43f34218ab2bef6a4dbb1815da4f3967ed401359cdffd4e1ecfdd4
+Size (tweepy-3.10.0.tar.gz) = 27706 bytes
Home |
Main Index |
Thread Index |
Old Index