Hello community,

here is the log from the commit of package python-testresources for 
openSUSE:Factory checked in at 2017-05-06 20:46:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-testresources (Old)
 and      /work/SRC/openSUSE:Factory/.python-testresources.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-testresources"

Sat May  6 20:46:52 2017 rev:7 rq:488179 version:2.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-testresources/python-testresources.changes    
    2014-06-17 11:23:25.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-testresources.new/python-testresources.changes
   2017-05-06 20:46:52.534190547 +0200
@@ -1,0 +2,23 @@
+Sun Apr  9 13:28:52 UTC 2017 - aloi...@gmx.com
+
+- Converted to single-spec
+- Fixed source URL
+
+-------------------------------------------------------------------
+Mon Nov 14 14:13:03 UTC 2016 - dmuel...@suse.com
+
+- update to 2.0.1:
+  * Fix #1590536 classifiers not reported in PyPI
+  * Drop support for Python 2.4, 2.5, 3.2
+  * Bug #1524048: depend on pbr at runtime
+  * Handle unittest2 test suites as well
+  * Use pbr for versions as well
+  * More diagnostics on sort failures
+  * Cleanup old helper we don't need anymore
+  * Add a tox.ini for convenience
+  * Add a Travis config
+  * Ignore more files
+  * Build and ship wheels
+  * Migrate to pbr
+
+-------------------------------------------------------------------

Old:
----
  testresources-0.2.7.tar.gz

New:
----
  testresources-2.0.1.tar.gz

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

Other differences:
------------------
++++++ python-testresources.spec ++++++
--- /var/tmp/diff_new_pack.bsFXQ1/_old  2017-05-06 20:46:55.085830595 +0200
+++ /var/tmp/diff_new_pack.bsFXQ1/_new  2017-05-06 20:46:55.089830031 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-testresources
 #
-# Copyright (c) 2014 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,26 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-testresources
-Version:        0.2.7
+Version:        2.0.1
 Release:        0
 Summary:        Testresources, a pyunit extension for managing expensive test 
resources
 License:        (Apache-2.0 or BSD-3-Clause) and GPL-2.0+
 Group:          Development/Languages/Python
 Url:            https://launchpad.net/testresources
-Source:         
http://pypi.python.org/packages/source/t/testresources/testresources-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+Source:         
https://files.pythonhosted.org/packages/source/t/testresources/testresources-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module fixtures}
+BuildRequires:  %{python_module pbr}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module testtools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:       python-pbr
 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()")}
-%else
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 testresources: extensions to python unittest to allow declarative use
@@ -41,17 +45,19 @@
 %setup -q -n testresources-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 
 %check
-python setup.py test
+%python_expand LANG=en_US.UTF-8 PYTHONPATH=%{buildroot}%{$python_sitelib} 
$python -m testtools.run discover
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%doc README
-%{python_sitelib}/*
+%doc README.rst
+%{python_sitelib}/testresources
+%{python_sitelib}/testresources-%{version}-py%{python_version}.egg-info
 
 %changelog

++++++ testresources-0.2.7.tar.gz -> testresources-2.0.1.tar.gz ++++++
++++ 7102 lines of diff (skipped)


Reply via email to