Hello community,

here is the log from the commit of package python-trollius for openSUSE:Factory 
checked in at 2017-07-11 08:25:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-trollius (Old)
 and      /work/SRC/openSUSE:Factory/.python-trollius.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-trollius"

Tue Jul 11 08:25:20 2017 rev:2 rq:508498 version:2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-trollius/python-trollius.changes  
2015-08-07 00:23:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-trollius.new/python-trollius.changes     
2017-07-11 08:25:21.259603237 +0200
@@ -1,0 +2,6 @@
+Wed Jul  5 16:24:27 UTC 2017 - [email protected]
+
+- Update to version 2.1 (see doc/changelog.rst)
+  * Trollius is now deprecated
+
+-------------------------------------------------------------------

Old:
----
  trollius-1.0.4.tar.gz

New:
----
  trollius-2.1.tar.gz

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

Other differences:
------------------
++++++ python-trollius.spec ++++++
--- /var/tmp/diff_new_pack.IW4o2g/_old  2017-07-11 08:25:21.939507340 +0200
+++ /var/tmp/diff_new_pack.IW4o2g/_new  2017-07-11 08:25:21.939507340 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-trollius
 #
-# Copyright (c) 2015 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
@@ -16,22 +16,24 @@
 #
 
 
+%if 0%{suse_version} > 1320
+%define oldpython python2
+%else
+%define oldpython python
+%endif
 Name:           python-trollius
-Version:        1.0.4
+Version:        2.1
 Release:        0
-License:        Apache-2.0
 Summary:        Port of the Tulip project (asyncio module, PEP 3156) on Python 
2
-Url:            https://bitbucket.org/enovance/trollius/
-Group:          Productivity/Editors/Vi
-Source:         trollius-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+License:        Apache-2.0
+Group:          Development/Languages/Python
+Url:            https://github.com/haypo/trollius
+Source:         
https://files.pythonhosted.org/packages/source/t/trollius/trollius-%{version}.tar.gz
+BuildRequires:  %{oldpython}-devel
+BuildRequires:  %{oldpython}-setuptools
+Provides:       python2-trollius = %{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%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()")}
-%elseif
 BuildArch:      noarch
-%endif
 
 %description
 Trollius provides infrastructure for writing single-threaded concurrent code
@@ -40,19 +42,22 @@
 
 %prep
 %setup -q -n trollius-%{version}
+rm -rf trollius.egg-info
+# use correct interpreter
+sed -e '1c#!/usr/bin/python2' -i examples/tcp_echo.py examples/udp_echo.py
 
 %build
-python setup.py build
+python2 setup.py build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %files
 %defattr(-,root,root)
-%doc AUTHORS COPYING README TODO
+%doc AUTHORS COPYING README.rst TODO.rst
 %doc doc/*.rst doc/trollius.jpg
 %doc examples/
-%{python_sitelib}/trollius-%{version}-*.egg-info/
 %{python_sitelib}/trollius/
+%{python_sitelib}/trollius-%{version}-*.egg-info/
 
 %changelog

++++++ trollius-1.0.4.tar.gz -> trollius-2.1.tar.gz ++++++
++++ 12158 lines of diff (skipped)


Reply via email to