14
0
forked from pool/python-tweepy

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
This commit is contained in:
Jan Matejek
2015-05-18 13:35:12 +00:00
committed by Git OBS Bridge
parent d8d603a517
commit b8bfdb93f7
4 changed files with 88 additions and 7 deletions

View File

@@ -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 Fri Nov 15 23:25:43 UTC 2013 - p.drouand@gmail.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-tweepy # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-tweepy Name: python-tweepy
Version: 2.1 Version: 3.3.0
Release: 0 Release: 0
Url: http://github.com/joshthecoder/tweepy Url: http://github.com/joshthecoder/tweepy
Summary: Twitter library for python 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 Source: http://pypi.python.org/packages/source/t/tweepy/tweepy-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-pip
BuildRequires: python-requests >= 2.4.3
BuildRequires: python-requests-oauthlib >= 0.4.1
BuildRequires: python-setuptools BuildRequires: python-setuptools
BuildRequires: python-simplejson BuildRequires: python-six >= 1.7.3
Requires: python-simplejson 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 %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()")} %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else %else
@@ -47,6 +52,8 @@ python setup.py build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
# remove the examples from site package root
rm -r %{buildroot}%{python_sitelib}/examples
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:557b598b1c241afbe5efc5f28f46326dc58c85efb42270563b33bca3b6e33fc7
size 26896

3
tweepy-3.3.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2eb0b1396a9dbb29568bb037e77f2123c504bdc4055ac011f2027f3833b27068
size 23624