commit python-trollius for openSUSE:Factory
Hello community, here is the log from the commit of package python-trollius for openSUSE:Factory checked in at 2017-07-19 11:22:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-trollius (Old) and /work/SRC/openSUSE:Factory/.python-trollius.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-trollius" Wed Jul 19 11:22:49 2017 rev:3 rq:511236 version:2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-trollius/python-trollius.changes 2017-07-11 08:25:21.259603237 +0200 +++ /work/SRC/openSUSE:Factory/.python-trollius.new/python-trollius.changes 2017-07-19 12:22:18.945295852 +0200 @@ -1,0 +2,8 @@ +Tue Jul 18 14:53:08 UTC 2017 - toddrme2178@gmail.com + +- Run tests + Since this is deprecated detecting failures is particularly + important. +- Add missing requirements. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-trollius.spec ++++++ --- /var/tmp/diff_new_pack.Psbisr/_old 2017-07-19 12:22:19.377234899 +0200 +++ /var/tmp/diff_new_pack.Psbisr/_new 2017-07-19 12:22:19.377234899 +0200 @@ -21,6 +21,7 @@ %else %define oldpython python %endif +%bcond_without test Name: python-trollius Version: 2.1 Release: 0 @@ -31,6 +32,15 @@ Source: https://files.pythonhosted.org/packages/source/t/trollius/trollius-%{version}.tar.gz BuildRequires: %{oldpython}-devel BuildRequires: %{oldpython}-setuptools +BuildRequires: %{oldpython}-futures +BuildRequires: %{oldpython}-six +%if %{with test} +BuildRequires: %{oldpython}-coverage +BuildRequires: %{oldpython}-mock +BuildRequires: %{oldpython}-unittest2 +%endif +Requires: %{oldpython}-futures +Requires: %{oldpython}-six Provides: python2-trollius = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -52,6 +62,11 @@ %install python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} +%if %{with test} +%check +python2 setup.py test +%endif + %files %defattr(-,root,root) %doc AUTHORS COPYING README.rst TODO.rst
participants (1)
-
root@hilbert.suse.de