Hello community,

here is the log from the commit of package python-leather for openSUSE:Factory 
checked in at 2019-02-27 15:10:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-leather (Old)
 and      /work/SRC/openSUSE:Factory/.python-leather.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-leather"

Wed Feb 27 15:10:11 2019 rev:3 rq:679759 version:0.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-leather/python-leather.changes    
2019-01-24 14:14:07.551313215 +0100
+++ /work/SRC/openSUSE:Factory/.python-leather.new.28833/python-leather.changes 
2019-02-27 15:10:15.934371422 +0100
@@ -1,0 +2,5 @@
+Wed Feb 27 08:50:54 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Switch to github tarball for tests and license file
+
+-------------------------------------------------------------------

Old:
----
  COPYING
  leather-0.3.3.tar.gz

New:
----
  0.3.3.tar.gz

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

Other differences:
------------------
++++++ python-leather.spec ++++++
--- /var/tmp/diff_new_pack.u9cojA/_old  2019-02-27 15:10:16.554371221 +0100
+++ /var/tmp/diff_new_pack.u9cojA/_new  2019-02-27 15:10:16.554371221 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-leather
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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,25 +17,22 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without  test
 Name:           python-leather
 Version:        0.3.3
 Release:        0
 Summary:        Python charting for 80% of humans
 License:        MIT
 Group:          Development/Languages/Python
-Url:            http://leather.readthedocs.io/
-Source:         
https://files.pythonhosted.org/packages/source/l/leather/leather-%{version}.tar.gz
-Source10:       
https://raw.githubusercontent.com/wireservice/leather/%{version}/COPYING
+URL:            https://github.com/wireservice/leather
+Source:         
https://github.com/wireservice/leather/archive/%{version}.tar.gz
+BuildRequires:  %{python_module lxml >= 3.6.0}
+BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six >= 1.6.1}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with test}
-BuildRequires:  %{python_module six >= 1.6.1}
-%endif
 Requires:       python-six >= 1.6.1
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -44,8 +41,9 @@
 
 %prep
 %setup -q -n leather-%{version}
-cp %{SOURCE10} .
 find leather -name '*.py' -exec sed -i -e '/^#!\//, 1d' {} \;
+# this testcase is in git but does not work
+rm test.py
 
 %build
 %python_build
@@ -54,13 +52,10 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with test}
 %check
-%python_exec leather/testcase.py
-%endif
+%python_expand nosetests-%{$python_bin_suffix}
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc README.rst
 %license COPYING
 %{python_sitelib}/*

++++++ leather-0.3.3.tar.gz -> 0.3.3.tar.gz ++++++
++++ 2994 lines of diff (skipped)


Reply via email to