Hello community, here is the log from the commit of package python-pytest for openSUSE:Factory checked in at 2013-05-13 15:26:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest (Old) and /work/SRC/openSUSE:Factory/.python-pytest.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest" Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes 2013-04-23 11:39:09.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 2013-05-13 15:26:55.000000000 +0200 @@ -1,0 +2,5 @@ +Thu May 2 08:45:19 UTC 2013 - speili...@suse.com + +- Enable testsuite + +------------------------------------------------------------------- New Changes file: --- /dev/null 2013-05-09 10:40:33.472011256 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest.new/python3-pytest.changes 2013-05-13 15:26:55.000000000 +0200 @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu May 2 08:44:44 UTC 2013 - speili...@suse.com + +- Initial version + New: ---- python3-pytest.changes python3-pytest.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest.spec ++++++ --- /var/tmp/diff_new_pack.7LWeDE/_old 2013-05-13 15:26:56.000000000 +0200 +++ /var/tmp/diff_new_pack.7LWeDE/_new 2013-05-13 15:26:56.000000000 +0200 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-pytest Version: 2.3.4 Release: 0 @@ -23,10 +24,12 @@ Group: Development/Languages/Python Url: http://pytest.org Source: http://pypi.python.org/packages/source/p/pytest/pytest-%{version}.zip -BuildRequires: python-Sphinx BuildRequires: python-devel -BuildRequires: python-py BuildRequires: unzip +# Documentation requirements: +BuildRequires: python-Sphinx +# Test requirements: +BuildRequires: python-py Requires: python-py BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 @@ -55,19 +58,19 @@ %build python setup.py build -cd doc/en && make html && rm -r _build/html/.buildinfo # Build HTML documentation +python setup.py build_sphinx %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -# %%check -# python setup.py test +%check +python setup.py test %files %defattr(-,root,root,-) -%doc LICENSE README.txt -%doc doc/en/_build/html -%{_bindir}/py.test* +%doc LICENSE README.txt build/sphinx/html +%{_bindir}/py.test +%{_bindir}/py.test-%{py_ver} %{python_sitelib}/* %changelog ++++++ python3-pytest.spec ++++++ # # spec file for package python3-pytest # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python3-pytest Version: 2.3.4 Release: 0 Summary: Simple powerful testing with Python License: MIT Group: Development/Languages/Python Url: http://pytest.org Source: http://pypi.python.org/packages/source/p/pytest/pytest-%{version}.zip BuildRequires: python3-devel BuildRequires: unzip # Documentation requirements: BuildRequires: python3-Sphinx # Test requirements: BuildRequires: python3-py Requires: python3-py BuildRoot: %{_tmppath}/%{name}-%{version}-build %description pytest helps you write better programs. It is a a mature full-featured, cross-project Python testing tool. It provides: * auto-discovery of test modules and functions, * detailed info on failing assert statements (no need to remember self.assert* names), * modular fixtures for managing small or parametrized long-lived test resources. * multi-paradigm support: you can use py.test to run test suites based on unittest (or trial), nose, * single-source compatibility to Python2.4 all the way up to Python3.3, PyPy-1.9 and Jython-2.5.1, and * many external plugins. %prep %setup -q -n pytest-%{version} %build python3 setup.py build python3 setup.py build_sphinx %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} # Drop unversioned binary, collides with py2 pkg, maybe update-alternatives? rm %{buildroot}%{_bindir}/py.test %check python3 setup.py test %files %defattr(-,root,root,-) %doc LICENSE README.txt build/sphinx/html %{_bindir}/py.test-%{py3_ver} %{python3_sitelib}/* %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org