From b8bfdb93f7c7f2ff9dd4b8fc701818f00bebaaa36ce06d404c5ffc790597548c Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Mon, 18 May 2015 13:35:12 +0000 Subject: [PATCH] Accepting request 307123 from home:benoit_monin:branches:devel:languages:python - update to version 3.3.0 - add new build dependency python-pip - remove python-simplejson from dependencies - add new dependencies python-requests, python-requests-oauthlib and python-six to match requirements.txt - remove the examples directory from site package root OBS-URL: https://build.opensuse.org/request/show/307123 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tweepy?expand=0&rev=12 --- python-tweepy.changes | 74 +++++++++++++++++++++++++++++++++++++++++++ python-tweepy.spec | 15 ++++++--- tweepy-2.1.tar.gz | 3 -- tweepy-3.3.0.tar.gz | 3 ++ 4 files changed, 88 insertions(+), 7 deletions(-) delete mode 100644 tweepy-2.1.tar.gz create mode 100644 tweepy-3.3.0.tar.gz diff --git a/python-tweepy.changes b/python-tweepy.changes index e92c0df..e3ccb41 100644 --- a/python-tweepy.changes +++ b/python-tweepy.changes @@ -1,3 +1,77 @@ +------------------------------------------------------------------- +Thu May 14 11:43:51 UTC 2015 - benoit.monin@gmx.fr + +- update to version 3.3.0: + * Loosen our dependency requirements for Requests (>= 2.4.3) + * Fix issue with streams freezing up on Python 3 (Issue #556) + * Add keep_alive() callback to StreamListener when keep alive + messages arrive + * Fix issue with stream session headers not being used when + restarting connection + * Fix issue with streams getting stuck in a loop when connection + dies. (PR #561) +- additional changes from version 3.2.0 + * Remove deprecated trends methods. + * Fix tweepy.debug() to work in Python 3. + * Fixed issue #529 - StreamListener language filter stopped + working. + * Add Documentation Page for streaming. + * Add media/upload endpoint. + * Add media_ids parameter to update_status(). +- additional changes from version 3.1.0 + * Allow specifying your own ssl certificates for streaming client. + * Distribute Python Wheels instead of dumb binaries. + * Fix cursor invocation, passing args to underlying method. + (https://github.com/tweepy/tweepy/issues/515) + * Upgrade to Request 2.4.3 +- additional changes from version 3.0 + * Added multiple list members operation api methods + (add_list_members, remove_list_members). + * Added sitestream endpoint. + * Switch to using Requests instead of httplib. + * Fully removed support for non-secure HTTP. + * Proxy support. + * Add API method for /statuses/lookup.json + * Add missing 'count' parameter to followers_ids + * Added allowed_param to update_profile_image + * Comparison between Status objects + * Extend on_data method by including a conditional to process + warning messages and add the definition of the method to manage + those warning messages + * Better Python 3 support. +- additional changes from version 2.2 + * Added update_profile_banner endpoint. + * Don't treat HTTP status codes in 200 range as errors. + * Tests no longer packaged into egg releases. + * Improve test stability and enable CI testing on pull requests. + * Removed Basic Auth. + * Use built-in timeout feature of httplib to fix appengine. + * Added retweeters() endpoint. + * Removed deprecated retweeted_by and retweeted_by_ids. + * Improved datetime parsing. Should be more thread safe. + * Enable coverage reporting. Upload reports to Coveralls. + https://coveralls.io/r/tweepy/tweepy + * Removed deprecated test() endpoint. + * New stream listeners callback on_disconnect(). Called whenever + "disconnect" messages arrive from Twitter before connection is + killed. + * Compare View + * Use HTTPS by default. + * Support setting the starting cursor postion (ex: Ex: + Cursor(api.friends_ids, cursor=123456)) + * Added API.cached_result instance flag that is "True" when + cached result is returned. + * New Streaming client callbacks + * Improvements to streaming client re-connection behavior / + configuration. + (https://github.com/tweepy/tweepy/commit/447f69cd3de67b0d241b9d4 + f669ecc9b9c0cdb54) +- add new build dependency python-pip +- remove python-simplejson from dependencies +- add new dependencies python-requests, python-requests-oauthlib + and python-six to match requirements.txt +- remove the examples directory from site package root + ------------------------------------------------------------------- Fri Nov 15 23:25:43 UTC 2013 - p.drouand@gmail.com diff --git a/python-tweepy.spec b/python-tweepy.spec index 5691b03..a6065d9 100644 --- a/python-tweepy.spec +++ b/python-tweepy.spec @@ -1,7 +1,7 @@ # # spec file for package python-tweepy # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-tweepy -Version: 2.1 +Version: 3.3.0 Release: 0 Url: http://github.com/joshthecoder/tweepy Summary: Twitter library for python @@ -26,9 +26,14 @@ Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/t/tweepy/tweepy-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel +BuildRequires: python-pip +BuildRequires: python-requests >= 2.4.3 +BuildRequires: python-requests-oauthlib >= 0.4.1 BuildRequires: python-setuptools -BuildRequires: python-simplejson -Requires: python-simplejson +BuildRequires: python-six >= 1.7.3 +Requires: python-requests >= 2.4.3 +Requires: python-requests-oauthlib >= 0.4.1 +Requires: python-six >= 1.7.3 %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else @@ -47,6 +52,8 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +# remove the examples from site package root +rm -r %{buildroot}%{python_sitelib}/examples %files %defattr(-,root,root,-) diff --git a/tweepy-2.1.tar.gz b/tweepy-2.1.tar.gz deleted file mode 100644 index 8519a18..0000000 --- a/tweepy-2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:557b598b1c241afbe5efc5f28f46326dc58c85efb42270563b33bca3b6e33fc7 -size 26896 diff --git a/tweepy-3.3.0.tar.gz b/tweepy-3.3.0.tar.gz new file mode 100644 index 0000000..8ac5f4f --- /dev/null +++ b/tweepy-3.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2eb0b1396a9dbb29568bb037e77f2123c504bdc4055ac011f2027f3833b27068 +size 23624