forked from pool/python-flickrapi
- 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).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flickrapi?expand=0&rev=8
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f280ee1a3472728658044671d83a99eade8446f264ff192e04594d0732607849
|
||||
size 24157
|
||||
3
flickrapi-2.3.tar.gz
Normal file
3
flickrapi-2.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:897bd7de9cd6ab878fa1a9816e4e58d317e447135e93d2f784ce9134610b7b99
|
||||
size 28511
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user