Hello community,

here is the log from the commit of package python3-testtools for 
openSUSE:Factory checked in at 2013-07-03 10:25:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-testtools (Old)
 and      /work/SRC/openSUSE:Factory/.python3-testtools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-testtools"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-testtools/python3-testtools.changes      
2013-06-25 07:28:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-testtools.new/python3-testtools.changes 
2013-07-03 10:25:57.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Jul  2 14:48:42 UTC 2013 - speili...@suse.com
+
+- Introduce a build conditional for running tests to break build cycle
+  with python-extras
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python3-testtools.spec ++++++
--- /var/tmp/diff_new_pack.n1FADW/_old  2013-07-03 10:25:57.000000000 +0200
+++ /var/tmp/diff_new_pack.n1FADW/_new  2013-07-03 10:25:57.000000000 +0200
@@ -16,6 +16,10 @@
 #
 
 
+# A build cycle exists between python-extras and python-testtools. Thus, only
+# enable testing with a build conditional (off by default):
+%bcond_with tests 
+
 Name:           python3-testtools
 Version:        0.9.32
 Release:        0
@@ -28,8 +32,10 @@
 # Documentation requirements:
 BuildRequires:  python3-Sphinx
 # Test requirements:
+%if %{with tests}
 BuildRequires:  python3-extras
 BuildRequires:  python3-python-mimeparse
+%endif
 Requires:       python3-extras
 Requires:       python3-python-mimeparse
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -51,8 +57,10 @@
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+%if %{with tests}
 %check
 python3 setup.py test
+%endif
 
 %files
 %defattr(-,root,root,-)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to