%global srcname pytest-remotedata %global sum The py.test remotedata plugin Name: python-%{srcname} Version: 0.3.3 Release: 5%{?dist} Summary: %{sum} License: BSD URL: https://pypi.python.org/pypi/%{srcname} Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-wheel BuildRequires: python3-pytest BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm BuildRequires: python3-six BuildRequires: python3-wheel %description This package provides a plugin for the pytest framework that allows developers to control unit tests that require access to data from the internet. Many software packages provide features that require access to data from the internet. These features need to be tested, but unit tests that access the internet can dominate the overall runtime of a test suite. The pytest-remotedata plugin allows developers to indicate which unit tests require access to the internet, and to control when and whether such tests should execute as part of any given run of the test suite. %package -n python3-%{srcname} Summary: %{sum} Requires: python3-pytest Requires: python3-six %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} This package provides a plugin for the pytest framework that allows developers to control unit tests that require access to data from the internet. Many software packages provide features that require access to data from the internet. These features need to be tested, but unit tests that access the internet can dominate the overall runtime of a test suite. The pytest-remotedata plugin allows developers to indicate which unit tests require access to the internet, and to control when and whether such tests should execute as part of any given run of the test suite. %prep %autosetup -n %{srcname}-%{version} %build %py3_build %install %py3_install # Remove source tests directory installed by mistake rm -fr %{buildroot}%{python3_sitelib}/tests # Note that there is no %%files section for the unversioned python module if we are building for several python runtimes %files -n python3-%{srcname} %license LICENSE.rst %doc CHANGES.rst README.rst %{python3_sitelib}/* %changelog * Fri Jan 20 2023 Fedora Release Engineering - 0.3.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.3.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.3.3-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Dec 31 2021 Christian Dersch - 0.3.3-1 - new version * Fri Jul 23 2021 Fedora Release Engineering - 0.3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.3.2-4 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 17 2020 Christian Dersch - 0.3.2-1 - new version * Tue May 26 2020 Miro Hrončok - 0.3.1-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.3.1-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.3.1-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Mar 29 2019 Christian Dersch - 0.3.1-1 - new version * Sat Feb 02 2019 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 24 2018 Christian Dersch - 0.3.0-1 - new version * Tue Jun 19 2018 Miro Hrončok - 0.2.0-2 - Rebuilt for Python 3.7 * Sat Mar 17 2018 Christian Dersch - 0.2.0-1 - initial packaging effort