Hello community, here is the log from the commit of package python3-extras for openSUSE:Factory checked in at 2015-03-03 11:14:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-extras (Old) and /work/SRC/openSUSE:Factory/.python3-extras.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python3-extras" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-extras/python3-extras.changes 2015-01-23 15:46:35.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-extras.new/python3-extras.changes 2015-03-03 11:14:26.000000000 +0100 @@ -1,0 +2,10 @@ +Fri Feb 27 08:42:45 UTC 2015 - dimstar@opensuse.org + +- Introduce tests build condition (disabled by default): only + conditionally BuildRequire python3-testtools and + python3-nosetests, as this causes a cycle (python3-testtools + depends on python3-extras). +- Add python3-setuptools BuildRequires: it happened to be implicit + by another dep. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-extras.spec ++++++ --- /var/tmp/diff_new_pack.0H5xcU/_old 2015-03-03 11:14:26.000000000 +0100 +++ /var/tmp/diff_new_pack.0H5xcU/_new 2015-03-03 11:14:26.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-extras # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,6 +16,10 @@ # +# Tests should be run on a local build on each update; Don't enable them on OBS +# as it causes a build cycle between python3-testtools and python3-extras +%bcond_with tests + Name: python3-extras Version: 0.0.3 Release: 0 @@ -25,9 +29,12 @@ Url: https://github.com/testing-cabal/extras Source: http://pypi.python.org/packages/source/e/extras/extras-%{version}.tar.gz BuildRequires: python3-devel +BuildRequires: python3-setuptools +%if %{with tests} # Test requirements: BuildRequires: python3-nose BuildRequires: python3-testtools +%endif # Break cycle #!BuildIgnore: python3-extras BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -47,8 +54,10 @@ %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} +%if %{with tests} %check nosetests-%{py3_ver} +%endif %files %defattr(-,root,root,-) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org