Hello community,

here is the log from the commit of package python-zope.exceptions for 
openSUSE:Factory checked in at 2013-09-23 10:59:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.exceptions (Old)
 and      /work/SRC/openSUSE:Factory/.python-zope.exceptions.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zope.exceptions"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-zope.exceptions/python-zope.exceptions.changes
    2013-03-22 09:21:39.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-zope.exceptions.new/python-zope.exceptions.changes
       2013-09-23 11:17:57.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Jul 29 14:04:41 UTC 2013 - [email protected]
+
+- generate documentation in separate -doc file
+- enable tests (run tests on source tree)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-zope.exceptions.spec ++++++
--- /var/tmp/diff_new_pack.vFuXUh/_old  2013-09-23 11:17:57.000000000 +0200
+++ /var/tmp/diff_new_pack.vFuXUh/_new  2013-09-23 11:17:57.000000000 +0200
@@ -13,22 +13,27 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 Name:           python-zope.exceptions
 Version:        4.0.6
 Release:        0
-License:        ZPL-2.1
 Summary:        Zope Exceptions
-Url:            http://cheeseshop.python.org/pypi/zope.exceptions
+License:        ZPL-2.1
 Group:          Development/Languages/Python
+Url:            http://cheeseshop.python.org/pypi/zope.exceptions
 Source:         
http://pypi.python.org/packages/source/z/zope.exceptions/zope.exceptions-%{version}.zip
 BuildRequires:  python-devel
 BuildRequires:  python-distribute
 BuildRequires:  unzip
+# Documentation requirements:
+BuildRequires:  python-Sphinx
+BuildRequires:  python-repoze.sphinx.autointerface
 # Test requirements:
-#BuildRequires:  python-zope.interface
-#BuildRequires:  python-zope.testrunner
+BuildRequires:  python-six
+BuildRequires:  python-zope.interface
+BuildRequires:  python-zope.testrunner
 Requires:       python-zope.interface
 Requires:       python-zope.testrunner
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -42,22 +47,37 @@
 This package contains exception interfaces and implementations which are so
 general purpose that they don't belong in Zope application-specific packages.
 
+%package doc
+Summary:        Zope Exceptions
+Group:          Development/Languages/Python
+Requires:       %{name} = %{version}
+
+%description doc
+This package contains documentation files for %{name}.
+
 %prep
 %setup -q -n zope.exceptions-%{version}
 
 %build
 python setup.py build
+PYTHONPATH=$(pwd)/build/lib python setup.py build_sphinx && rm 
build/sphinx/html/.buildinfo
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-#NOTE(saschpe): Tests are self-referential, i.e. move to sperarate spec file:
-#%%check
-#python setup.py test
+#NOTE(saschpe): Tests are self-referential, i.e. move to sperarate spec file
+#NOTE(frispete): run tests against source in order to avoid the need for an
+#                external test package
+%check
+PYTHONPATH=$(pwd)/src python setup.py test
 
 %files
 %defattr(-,root,root,-)
-%doc COPYRIGHT.txt LICENSE.txt README.rst
+%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
 %{python_sitelib}/*
 
+%files doc
+%defattr(-,root,root,-)
+%doc build/sphinx/html/
+
 %changelog


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

Reply via email to