forked from pool/python-tox
Accepting request 684316 from home:mcepl:branches:devel:languages:python
- Update to 3.7.0: - Parallel mode added (alternative to detox which is being deprecated), for more details see `parallel_mode` - Added command line shortcut -s for --skip-missing-interpreters - Whitelisting of externals will be mandatory in tox 4: issue a deprecation warning as part of the already existing warning - Clarify explanations in examples and avoid unsupported end line comments - Set to PULL_REQUEST_TEMPLATE.md use relative instead of absolute URLs - if the packaging phase successfully builds a package set it as environment variable under TOX_PACKAGE (useful to make assertions on the built package itself, instead of just how it ends up after installation) - On windows, check sys.executable before others for interpreter version lookup. This matches what happens on non-windows. - Don't rewrite {posargs} substitution for absolute paths. - Correctly fail tox --notest when setup fails. - Link to related projects (Invoke and Nox) from the documentation - Obsoletes python-detox. OBS-URL: https://build.opensuse.org/request/show/684316 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=49
This commit is contained in:
committed by
Git OBS Bridge
parent
5ba12ba7ba
commit
1528b03197
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-tox
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-tox
|
||||
Version: 3.5.2
|
||||
Version: 3.7.0
|
||||
Release: 0
|
||||
Summary: Virtualenv-based automation of test activities
|
||||
License: MIT
|
||||
@@ -26,6 +26,7 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/tox-dev/tox
|
||||
Source: https://files.pythonhosted.org/packages/source/t/tox/tox-%{version}.tar.gz
|
||||
BuildRequires: %{python_module filelock}
|
||||
BuildRequires: %{python_module freezegun}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pluggy >= 0.3.0}
|
||||
BuildRequires: %{python_module py >= 1.4.17}
|
||||
@@ -56,6 +57,7 @@ BuildArch: noarch
|
||||
%ifpython3
|
||||
Provides: tox = %{version}
|
||||
%endif
|
||||
Obsoletes: python-detox
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -113,7 +115,7 @@ done
|
||||
export LANG=en_US.UTF-8
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
export PATH=%{buildroot}%{_bindir}:$PATH
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v -k 'not network'
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v -k 'not (network or parallel)'
|
||||
|
||||
%post
|
||||
%python_install_alternative tox tox-quickstart
|
||||
@@ -123,7 +125,7 @@ export PATH=%{buildroot}%{_bindir}:$PATH
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst docs/changelog.rst CONTRIBUTORS CONTRIBUTING.rst
|
||||
%doc README.md docs/changelog.rst CONTRIBUTORS CONTRIBUTING.rst
|
||||
%python_alternative %{_bindir}/tox
|
||||
%python_alternative %{_bindir}/tox-quickstart
|
||||
%{python_sitelib}/tox-%{version}-py%{python_version}.egg-info
|
||||
|
Reference in New Issue
Block a user