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:
2021-03-25 07:55:52 +00:00
committed by Git OBS Bridge
parent 667a8e7cf0
commit 7af68e1817
4 changed files with 20 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b93dabf6d29c00149932e8162823b8e666e46ac5d575291ebca5abe15ed19fa
size 10274

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:188df5a7c52390fa27d6cd2f18e74d64a2ef0b9fb6e12f15fdf5a95f4813d25f
size 29236

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Mar 24 17:57:35 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
- Disabled Python 2 packages due to Python 2 only dependencies
- Disabled sdist test which requires pypi.org network access
- Update to v2021.3.24
* Switched project to a ``src`` layout.
* Switched project to a declarative setuptools approach
* Added support to check if a helper has been registered
-------------------------------------------------------------------
Tue Feb 18 11:10:47 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -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}/*