Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2016-01-23 01:04:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-doc.changes 2015-10-19 22:47:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six-doc.changes 2016-01-23 01:04:10.000000000 +0100 @@ -1,0 +2,8 @@ +Tue Jan 19 09:07:19 UTC 2016 - toddrme2...@gmail.com + +- Run tests in -doc package to avoid dependency loops + * python-setuptools -> python-six -> python-py -> python-setuptools + * python-setuptools -> python-six -> python-pytest -> python-setuptools +- Actually run the tests. They weren't previously being run. + +------------------------------------------------------------------- python-six.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-six-doc.spec ++++++ --- /var/tmp/diff_new_pack.4le5IH/_old 2016-01-23 01:04:11.000000000 +0100 +++ /var/tmp/diff_new_pack.4le5IH/_new 2016-01-23 01:04:11.000000000 +0100 @@ -25,8 +25,12 @@ Group: Development/Libraries/Python Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-six +# Documentation requirements: BuildRequires: python-Sphinx -BuildRequires: python-devel +# Test requirements: +BuildRequires: python-py +BuildRequires: python-pytest BuildArch: noarch %description @@ -45,6 +49,16 @@ cd documentation && make html && rm _build/html/.buildinfo %install +# only build documentation + +# Run tests here to avoid dependency loop +%check +mkdir test +cp test_six.py test +pushd test +py.test test_six.py +popd +rm -rf test %files %defattr(-,root,root) ++++++ python-six.spec ++++++ --- /var/tmp/diff_new_pack.4le5IH/_old 2016-01-23 01:04:11.000000000 +0100 +++ /var/tmp/diff_new_pack.4le5IH/_new 2016-01-23 01:04:11.000000000 +0100 @@ -15,11 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -# NOTE(saschpe): git invocation and pythonpath issues with testrepository -# enable testing with a build conditional (off by default): -%bcond_with test - Name: python-six Version: 1.10.0 Release: 0 @@ -30,19 +25,12 @@ Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -%if %{with test} -# Test requirements: -BuildRequires: python-py -BuildRequires: python-pytest -%endif %if 0%{?suse_version} <= 1110 BuildRequires: python-argparse Requires: python-argparse %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%else -BuildArch: noarch -%py_requires %endif +BuildArch: noarch %description Six is a Python 2 and 3 compatibility library. It provides utility @@ -62,10 +50,9 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%if %{with test} -%check -python test_six.py -%endif +# Run tests in -doc package to avoid dependency loop +# %check +# python test_six.py %pre # previous versions of the package installed .egg-info as a directory, @@ -78,6 +65,6 @@ %defattr(-,root,root) %doc LICENSE README %{python_sitelib}/six.py* -%{python_sitelib}/six-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/six-%{version}-py*.egg-info %changelog