Hello community,

here is the log from the commit of package python-flickrapi for 
openSUSE:Factory checked in at 2017-05-17 17:18:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flickrapi (Old)
 and      /work/SRC/openSUSE:Factory/.python-flickrapi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-flickrapi"

Wed May 17 17:18:59 2017 rev:11 rq:495528 version:2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-flickrapi/python-flickrapi.changes        
2013-09-17 16:25:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-flickrapi.new/python-flickrapi.changes   
2017-05-17 17:20:15.960898103 +0200
@@ -1,0 +2,45 @@
+Tue May 16 16:07:22 UTC 2017 - [email protected]
+
+- 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 - [email protected]
+
+- update to version 2.0:
+  * Major revision; now uses OAuth to interface with Flickr.
+    Combines work of Sybren A. Stüvel, Jim Easterbrook,
+    Thai Nguyen, Nick Loadholtes and Bengt.
+- drop flickrapi-drop-bootstrap-distribute.patch: fixed upstream
+- point the source URL to pypi
+- remove unneeded depedencies to python-docutils, python-xml
+  and unzip
+- add new dependencies required by upstream:
+  * python-requests
+  * python-requests-oauthlib
+  * python-requests-toolbelt
+  * python-six
+- always requires fdupes and run it after install
+- define python_sitelib only for SLE11
+- doc is not provided anymore: do not build it
+- rename LICENSE, README, UPGRADING to LICENSE.txt, README.txt,
+  UPGRADING.txt: changed upstream
+
+-------------------------------------------------------------------

Old:
----
  flickrapi-1.4.2.zip
  flickrapi-drop-bootstrap-distribute.patch

New:
----
  flickrapi-2.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-flickrapi.spec ++++++
--- /var/tmp/diff_new_pack.rGqauH/_old  2017-05-17 17:20:17.152730017 +0200
+++ /var/tmp/diff_new_pack.rGqauH/_new  2017-05-17 17:20:17.156729453 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-flickrapi
 #
-# Copyright (c) 2011 SUSE LINUX Products 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
@@ -11,39 +11,39 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-flickrapi
-Version:        1.4.2
+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:        flickrapi-%{version}.zip
-Patch0:         flickrapi-drop-bootstrap-distribute.patch
+Source0:        
https://pypi.io/packages/source/f/flickrapi/flickrapi-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-docutils
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-xml
-BuildRequires:  unzip
-Requires:       python-xml
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1010
+BuildRequires:  %{python_module requests }
+BuildRequires:  %{python_module requests-oauthlib }
+BuildRequires:  %{python_module requests-toolbelt }
+BuildRequires:  %{python_module setuptools }
+BuildRequires:  %{python_module six }
 BuildRequires:  fdupes
-%endif
-%if 0%{?suse_version} > 1110
-BuildArch:      noarch
-%endif
-%endif
+BuildRequires:  python-devel
+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}
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
+BuildArch:      noarch
+%python_subpackages
 
 %description
 The easiest to use, most complete, and most actively developed
@@ -54,19 +54,18 @@
 %prep
 %setup -q -n flickrapi-%{version}
 sed -i "1d" flickrapi/__init__.py # Fix non-executable script
-%patch0 -p1
 
 %build
-python setup.py build
-cd doc && make # Build HTML documentation
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-rm -rf 
%{buildroot}/usr/{{LICENSE,README,UPGRADING},share/doc/flickrapi-%{version}} # 
Remove wrongly installed documentation
+%python_install
+rm -rf %{buildroot}%{python_sitelib}/*.txt # Remove wrongly installed 
documentation
+%fdupes %{buildroot}/%{_prefix}
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
-%doc LICENSE README UPGRADING
+%doc LICENSE.txt README.md
 %{python_sitelib}/*
 
 %changelog


Reply via email to