Hello community,

here is the log from the commit of package python-pyflakes for openSUSE:Factory 
checked in at 2018-01-19 11:48:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyflakes (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyflakes.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyflakes"

Fri Jan 19 11:48:36 2018 rev:21 rq:566730 version:1.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyflakes/python-pyflakes.changes  
2017-11-04 10:24:37.121082844 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyflakes.new/python-pyflakes.changes     
2018-01-19 11:48:50.176017628 +0100
@@ -1,0 +2,6 @@
+Wed Jan 17 02:11:04 UTC 2018 - [email protected]
+
+- Implement tests
+- Fix source and URL
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pyflakes.spec ++++++
--- /var/tmp/diff_new_pack.i6ttEE/_old  2018-01-19 11:48:50.619996695 +0100
+++ /var/tmp/diff_new_pack.i6ttEE/_new  2018-01-19 11:48:50.619996695 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyflakes
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,16 +17,17 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without  test
 Name:           python-pyflakes
 Version:        1.6.0
 Release:        0
-Url:            https://launchpad.net/pyflakes
+Url:            https://github.com/PyCQA/pyflakes
 Summary:        Passive checker of Python programs
 License:        MIT
 Group:          Development/Languages/Python
-Source:         pyflakes-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Source:         
https://files.pythonhosted.org/packages/source/p/pyflakes/pyflakes-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 # the pkg_resources module is required at runtime
 Requires:       python-setuptools
@@ -49,8 +50,14 @@
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}/pyflakes/
 %python_clone -a %{buildroot}%{_bindir}/pyflakes
 
+%if %{with test}
+%check
+%python_exec setup.py test
+%endif
+
 %post
 %python_install_alternative pyflakes
 


Reply via email to