Hello community,

here is the log from the commit of package python-isodate for openSUSE:Factory 
checked in at 2017-05-16 14:29:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-isodate (Old)
 and      /work/SRC/openSUSE:Factory/.python-isodate.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-isodate"

Tue May 16 14:29:49 2017 rev:13 rq:493456 version:0.5.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-isodate/python-isodate.changes    
2017-02-03 18:57:40.575189564 +0100
+++ /work/SRC/openSUSE:Factory/.python-isodate.new/python-isodate.changes       
2017-05-16 14:29:51.132130506 +0200
@@ -1,0 +2,6 @@
+Wed May  3 17:04:31 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version.
+- Fix source URL.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-isodate.spec ++++++
--- /var/tmp/diff_new_pack.whHXms/_old  2017-05-16 14:29:51.848029934 +0200
+++ /var/tmp/diff_new_pack.whHXms/_new  2017-05-16 14:29:51.852029373 +0200
@@ -15,7 +15,10 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+# Tests don't work and cause a dependency loop with python-SPARQLWrapper
+%bcond_without tests
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-isodate
 Version:        0.5.4
 Release:        0
@@ -23,15 +26,14 @@
 Summary:        An ISO 8601 Date/Time/Duration Parser and Formatter
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Source:         
https://pypi.io/packages/source/i/isodate/isodate-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/i/isodate/isodate-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-%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
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 This module implements ISO 8601 date, time and duration parsing.
@@ -44,15 +46,18 @@
 %setup -q -n isodate-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%if %{with tests}
 %check
-python setup.py -q test
+%python_exec setup.py -q test
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc CHANGES.txt README.rst TODO.txt
 %{python_sitelib}/*


Reply via email to