From 1781399e33140328f032b063c8dc3a2c17292a77430a69221040468a2ce81f4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 17 Jul 2018 13:13:11 +0000 Subject: [PATCH] - Version update to 3.1.2: * Many changes in the code, dropped support for py <2.7 and <3.3 * See CHANGELOG.rst - Do not build sphinx documentation, additional dependencies OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=40 --- python-tox.changes | 8 ++++++++ python-tox.spec | 41 ++++++++++++++++------------------------- tox-2.9.1.tar.gz | 3 --- tox-3.1.2.tar.gz | 3 +++ 4 files changed, 27 insertions(+), 28 deletions(-) delete mode 100644 tox-2.9.1.tar.gz create mode 100644 tox-3.1.2.tar.gz diff --git a/python-tox.changes b/python-tox.changes index 80c14cc..80b3f1b 100644 --- a/python-tox.changes +++ b/python-tox.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Jul 17 12:44:06 UTC 2018 - tchvatal@suse.com + +- Version update to 3.1.2: + * Many changes in the code, dropped support for py <2.7 and <3.3 + * See CHANGELOG.rst +- Do not build sphinx documentation, additional dependencies + ------------------------------------------------------------------- Fri Dec 22 13:02:40 UTC 2017 - dimstar@opensuse.org diff --git a/python-tox.spec b/python-tox.spec index 2369a78..028e717 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -1,7 +1,7 @@ # # spec file for package python-tox # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,34 +18,37 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-tox -Version: 2.9.1 +Version: 3.1.2 Release: 0 Summary: Virtualenv-based automation of test activities License: MIT Group: Development/Languages/Python -Url: http://tox.testrun.org/ +URL: https://github.com/tox-dev/tox Source: https://files.pythonhosted.org/packages/source/t/tox/tox-%{version}.tar.gz -# Test requirements: BuildRequires: %{python_module pip} BuildRequires: %{python_module pluggy >= 0.3.0} BuildRequires: %{python_module py >= 1.4.17} -BuildRequires: %{python_module pytest >= 2.3.5} +BuildRequires: %{python_module six >= 1.0.0} +Requires: python-six >= 1.0.0 +BuildRequires: %{python_module pytest >= 3.0.0} +BuildRequires: %{python_module pytest-cov >= 2.5.1} +BuildRequires: %{python_module pytest-mock >= 1.10.0} +BuildRequires: %{python_module pytest-timeout >= 1.3.0} +BuildRequires: %{python_module pytest-xdist >= 1.22.2} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module virtualenv >= 1.11.2} BuildRequires: python-rpm-macros -BuildRequires: python3-Sphinx BuildRequires: unzip Requires: python-pluggy >= 0.3.0 Requires: python-py >= 1.4.17 Requires: python-virtualenv >= 1.11.2 -Requires(post): update-alternatives +Requires(post): update-alternatives Requires(postun): update-alternatives +BuildArch: noarch %ifpython3 Provides: tox = %{version} %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %python_subpackages %description @@ -89,7 +92,6 @@ This is the HTML documentation for tox package. %build %python_build -python3 setup.py build_sphinx && rm -r doc/build/html/.buildinfo # Generate HTML documentation %install %python_install @@ -98,16 +100,8 @@ for B in tox tox-quickstart ; do done %check -%{python_expand # okay -$python -m virtualenv env-%{$python_bin_suffix} --system-site-packages -. env-%{$python_bin_suffix}/bin/activate -$python setup.py install -# run test_config separately because it does something to other tests -$python -m pytest tests/test_config.py -# skip also cmdline tests, they are slow and mostly broken in our environment -$python -m pytest tests -k "not test_config and not test_z_cmdline" -deactivate -} +export PYTHONDONTWRITEBYTECODE=1 +%python_exec setup.py test %post %python_install_alternative tox tox-quickstart @@ -116,14 +110,11 @@ deactivate %python_uninstall_alternative tox %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst CHANGELOG.rst +%license LICENSE +%doc README.rst CHANGELOG.rst %python_alternative %{_bindir}/tox %python_alternative %{_bindir}/tox-quickstart %{python_sitelib}/tox-%{version}-py%{python_version}.egg-info %{python_sitelib}/tox -%files -n %{name}-doc -%doc LICENSE README.rst doc/build/html - %changelog diff --git a/tox-2.9.1.tar.gz b/tox-2.9.1.tar.gz deleted file mode 100644 index c294f36..0000000 --- a/tox-2.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:752f5ec561c6c08c5ecb167d3b20f4f4ffc158c0ab78855701a75f5cef05f4b8 -size 1855982 diff --git a/tox-3.1.2.tar.gz b/tox-3.1.2.tar.gz new file mode 100644 index 0000000..b8812d6 --- /dev/null +++ b/tox-3.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f0cbcc36e08c2c4ae90d02d3d1f9a62231f974bcbc1df85e8045946d8261059 +size 231166