Hello community,

here is the log from the commit of package python-six for openSUSE:Factory 
checked in at 2013-07-31 17:24:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-six (Old)
 and      /work/SRC/openSUSE:Factory/.python-six.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-six"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-six/python-six.changes    2013-05-02 
11:44:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes       
2013-07-31 17:24:52.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Jul 30 07:41:52 UTC 2013 - speili...@suse.com
+
+- Run testsuite
+- Build and package HTML documentation
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-six.spec ++++++
--- /var/tmp/diff_new_pack.kZosRm/_old  2013-07-31 17:24:52.000000000 +0200
+++ /var/tmp/diff_new_pack.kZosRm/_new  2013-07-31 17:24:52.000000000 +0200
@@ -17,16 +17,21 @@
 
 
 %define modname six
-Name:           python-%{modname}
+Name:           python-six
 Version:        1.3.0
 Release:        0
 Url:            http://pypi.python.org/pypi/six/
 Summary:        Python 2 and 3 compatibility utilities
 License:        MIT
 Group:          Development/Libraries/Python
-Source:         
http://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz
+Source:         
http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
+# Documentation requirements:
+BuildRequires:  python-Sphinx
+# Test requirements:
+BuildRequires:  python-py
+BuildRequires:  python-pytest
 %if 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 %else
@@ -42,18 +47,22 @@
 what is provided.
 
 %prep
-%setup -q -n %{modname}-%{version}
+%setup -q -n six-%{version}
 
 %build
 python setup.py build
+cd documentation && make html && rm _build/html/.buildinfo
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+%check
+python test_six.py
+
 %files
 %defattr(-,root,root)
-%doc LICENSE README
-%{python_sitelib}/%{modname}.py*
-%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
+%doc LICENSE README documentation/_build/html
+%{python_sitelib}/six.py*
+%{python_sitelib}/six-%{version}-py%{py_ver}.egg-info
 
 %changelog

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

Reply via email to