Hello community,

here is the log from the commit of package python-testtools for 
openSUSE:Factory checked in at 2013-06-25 17:19:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-testtools (Old)
 and      /work/SRC/openSUSE:Factory/.python-testtools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-testtools"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes        
2013-06-25 06:59:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes   
2013-06-25 17:24:06.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Jun 25 11:35:04 UTC 2013 - [email protected]
+
+- Introduce a build conditional for running tests to break build cycle
+  with python-extras
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-testtools.spec ++++++
--- /var/tmp/diff_new_pack.GmWm42/_old  2013-06-25 17:24:07.000000000 +0200
+++ /var/tmp/diff_new_pack.GmWm42/_new  2013-06-25 17:24:07.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:           python-testtools
 Version:        0.9.32
 Release:        0
@@ -28,8 +32,10 @@
 # Documentation requirements:
 BuildRequires:  python-Sphinx
 # Test requirements:
+%if %{with tests}
 BuildRequires:  python-extras
 BuildRequires:  python-python-mimeparse
+%endif
 Requires:       python-extras
 Requires:       python-python-mimeparse
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -40,9 +46,9 @@
 %endif
 
 %description
-testtools is a set of extensions to the Python standard library's unit testing
+testtools is a set of extensions to the Python standard library's unit tests
 framework. These extensions have been derived from many years of experience
-with unit testing in Python and come from many different sources. testtools
+with unit tests in Python and come from many different sources. testtools
 also ports recent unittest changes all the way back to Python 2.4.
 
 %prep
@@ -55,8 +61,10 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+%if %{with tests}
 %check
 python setup.py test
+%endif
 
 %files
 %defattr(-,root,root,-)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to