forked from pool/python-pytest-helpers-namespace
Accepting request 881221 from home:jayvdb:branches:devel:languages:python:pytest
Depends on https://build.opensuse.org/request/show/881190 - Disabled Python 2 packages due to Python 2 only dependencies - Disabled sdist test which requires pypi.org network access - Update to v2021.3.24 OBS-URL: https://build.opensuse.org/request/show/881221 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-helpers-namespace?expand=0&rev=9
This commit is contained in:
@@ -17,15 +17,17 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-pytest-helpers-namespace
|
||||
Version: 2019.1.8
|
||||
Version: 2021.3.24
|
||||
Release: 0
|
||||
Summary: PyTest Helpers Namespace
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/saltstack/pytest-helpers-namespace
|
||||
Source: https://github.com/saltstack/pytest-helpers-namespace/archive/v%{version}.tar.gz#/pytest-helpers-namespace-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-helpers-namespace/pytest-helpers-namespace-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module setuptools-declarative-requirements}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytest
|
||||
@@ -41,6 +43,8 @@ PyTest Helpers Namespace.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-helpers-namespace-%{version}
|
||||
# Remove versions which cause pypi.org network access
|
||||
sed -i '/setuptools/d' setup.cfg
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -53,7 +57,7 @@ PyTest Helpers Namespace.
|
||||
%pytest -ra --forked
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%doc README.rst docs/*.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user