Hello community,

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

Package is "python3-six"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-six/python3-six.changes  2013-06-19 
15:51:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-six.new/python3-six.changes     
2013-07-31 17:24:58.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Jul 30 07:38:22 UTC 2013 - speili...@suse.com
+
+- Don't remove __pycache__
+- Run testsuite
+- Build and package HTML documentation
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python3-six.spec ++++++
--- /var/tmp/diff_new_pack.deeIRQ/_old  2013-07-31 17:24:58.000000000 +0200
+++ /var/tmp/diff_new_pack.deeIRQ/_new  2013-07-31 17:24:58.000000000 +0200
@@ -16,20 +16,22 @@
 #
 
 
-%define modname six
-Name:           python3-%{modname}
+Name:           python3-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:  python3-2to3
 BuildRequires:  python3-devel
+# Documentation requirements:
+BuildRequires:  python3-Sphinx
+# Test requirements:
+BuildRequires:  python3-py
+BuildRequires:  python3-pytest
 BuildArch:      noarch
-Requires:       python(abi) = %{py3_ver}
 
 %description
 Six is a Python 2 and 3 compatibility library. It provides utility 
@@ -39,19 +41,23 @@
 what is provided.
 
 %prep
-%setup -q -n %{modname}-%{version}
+%setup -q -n six-%{version}
 
 %build
 python3 setup.py build
+cd documentation && make html && rm _build/html/.buildinfo
 
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
-rm -rf %{buildroot}%{python3_sitelib}/__pycache__/
+
+%check
+python3 test_six.py
 
 %files
 %defattr(-,root,root)
-%doc LICENSE README
-%{python3_sitelib}/%{modname}.py*
-%{python3_sitelib}/%{modname}-%{version}-py%{py3_ver}.egg-info
+%doc LICENSE README documentation/_build/html
+%{python3_sitelib}/six.py*
+%{python3_sitelib}/six-%{version}-py%{py3_ver}.egg-info
+%{python3_sitelib}/__pycache__/six.*
 
 %changelog

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

Reply via email to