diff --git a/flickrapi-2.0.tar.gz b/flickrapi-2.0.tar.gz deleted file mode 100644 index 55a1442..0000000 --- a/flickrapi-2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f280ee1a3472728658044671d83a99eade8446f264ff192e04594d0732607849 -size 24157 diff --git a/flickrapi-2.3.tar.gz b/flickrapi-2.3.tar.gz new file mode 100644 index 0000000..622077f --- /dev/null +++ b/flickrapi-2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:897bd7de9cd6ab878fa1a9816e4e58d317e447135e93d2f784ce9134610b7b99 +size 28511 diff --git a/python-flickrapi.changes b/python-flickrapi.changes index 29e2e32..1fabd97 100644 --- a/python-flickrapi.changes +++ b/python-flickrapi.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Tue May 16 16:07:22 UTC 2017 - dmueller@suse.com + +- update to 2.3: + - Removed flickrapi/contrib.py, as a persistent connection is now managed (much better) + - Added explicit support for Python 3.5. + - Moved from a Mercurial repository at BitBucket to a [Git repository + at GitHub](https://github.com/sybrenstuvel/flickrapi/). + - Mocking some calls to Flickr, so that unit tests can run without + requiring the user to authenticate via the browser. This also + prevents the upload of the test photo. + - More serious testing, using py.test and Tox to test on all support + versions of Python. + - Automated builds are performed with Travis-CI. + - Make flickrapi token storage directory configurable. + [[ Feature request #68 ]](https://github.com/sybrenstuvel/flickrapi/issues/68) + - Put requests in a session to benefit from connection reuse (Alexandre L). + - When uploading a photo, send the title as UTF8 + - Sort many photosets with 'flickr.photosets.orderSets' failed + [[ Bug report #74]](https://github.com/sybrenstuvel/flickrapi/issues/74) + - Converted requested_permissions to unicode and ported authentication + example to Python 3 (Michael Klich). + ------------------------------------------------------------------- Tue May 5 12:31:06 UTC 2015 - benoit.monin@gmx.fr diff --git a/python-flickrapi.spec b/python-flickrapi.spec index 75e4ead..65b7bc5 100644 --- a/python-flickrapi.spec +++ b/python-flickrapi.spec @@ -1,7 +1,7 @@ # # spec file for package python-flickrapi # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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,32 +17,32 @@ Name: python-flickrapi -Version: 2.0 +Version: 2.3 Release: 0 Url: http://stuvel.eu/projects/flickrapi Summary: Python interface to Flickr License: Python-2.0 Group: Development/Libraries/Python -Source0: https://pypi.python.org/packages/source/f/flickrapi/flickrapi-%{version}.tar.gz +Source0: https://pypi.io/packages/source/f/flickrapi/flickrapi-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module requests } +BuildRequires: %{python_module requests-oauthlib } +BuildRequires: %{python_module requests-toolbelt } +BuildRequires: %{python_module setuptools } +BuildRequires: %{python_module six } BuildRequires: fdupes BuildRequires: python-devel -BuildRequires: python-requests >= 2.4.3 -BuildRequires: python-requests-oauthlib >= 0.4.2 -BuildRequires: python-requests-toolbelt >= 0.3.1 -BuildRequires: python-setuptools -BuildRequires: python-six >= 1.8.0 +BuildRequires: python-rpm-macros Requires: python-requests >= 2.4.3 Requires: python-requests-oauthlib >= 0.4.2 Requires: python-requests-toolbelt >= 0.3.1 Requires: python-six >= 1.8.0 +%ifpython2 Provides: python-flickrapi-doc = %{version} Obsoletes: python-flickrapi-doc < %{version} -%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 -BuildArch: noarch %endif +BuildArch: noarch +%python_subpackages %description The easiest to use, most complete, and most actively developed @@ -55,16 +55,16 @@ photos, and all Flickr API functions. sed -i "1d" flickrapi/__init__.py # Fix non-executable script %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install rm -rf %{buildroot}%{python_sitelib}/*.txt # Remove wrongly installed documentation %fdupes %{buildroot}/%{_prefix} -%files +%files %{python_files} %defattr(-,root,root) -%doc LICENSE.txt README.txt UPGRADING.txt +%doc LICENSE.txt README.md %{python_sitelib}/* %changelog