%global modulename pytest-runner %global _modulename pytest_runner # Tests require virtualenv fixture, we only have venv %bcond tests 0 Name: python-%{modulename} Version: 4.0 Release: 25%{?dist} Summary: Invoke py.test as distutils command with dependency resolution License: MIT URL: https://pypi.python.org/pypi/pytest-runner # setuptools-scm requires a pypi tarball and doesn't like github tarball Source0: https://files.pythonhosted.org/packages/source/p/%{modulename}/%{modulename}-%{version}.tar.gz BuildArch: noarch # deprecated upstream, see https://github.com/pytest-dev/pytest-runner/blob/main/README.rst#deprecation-notice Provides: deprecated() %global _description \ Setup scripts can use pytest-runner to add setup.py test support for pytest runner. %description %{_description} %package -n python3-%{modulename} Summary: %{summary} %{?python_provide:%python_provide python3-%{modulename}} Requires: python3-pytest BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm %if %{with tests} BuildRequires: python3-pytest BuildRequires: python3-pytest-venv %endif %description -n python3-%{modulename} %{_description} Python 3 version. %prep %autosetup -n %{modulename}-%{version} %build %py3_build %install %py3_install %check %py3_check_import ptr %if %{with tests} %pytest %endif %files -n python3-%{modulename} %doc README.rst %license LICENSE %{python3_sitelib}/ptr.py %{python3_sitelib}/%{_modulename}-%{version}-py%{python3_version}.egg-info/ %{python3_sitelib}/__pycache__/ptr.* %changelog * Mon Dec 23 2024 Michel Lind - 4.0-25 - Use `pytest` instead of the removed `setup.py test` for setuptools 74+ compatibility - Mark as deprecated * Fri Jul 19 2024 Fedora Release Engineering - 4.0-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 4.0-23 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 4.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 4.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 4.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 4.0-19 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 4.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 4.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 4.0-16 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 4.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 4.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 02 2021 Python Maint - 4.0-13 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 4.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 4.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri May 22 2020 Miro Hrončok - 4.0-10 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 4.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Oct 29 2019 Miro Hrončok - 4.0-8 - Subpackage python2-pytest-runner has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Thu Oct 03 2019 Miro Hrončok - 4.0-7 - Rebuilt for Python 3.8.0rc1 (#1748018) * Thu Aug 15 2019 Miro Hrončok - 4.0-6 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 15 2018 Miro Hrončok - 4.0-2 - Rebuilt for Python 3.7 * Sun Feb 11 2018 Vadim Rutkovsky - 4.0-1 - Update to 4.0 (#1544167) * Fri Feb 09 2018 Fedora Release Engineering - 3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Nov 03 2017 Igor Gnatenko - 3.0-2 - Fix broken dep * Thu Nov 02 2017 Vadim Rutkovsky - 3.0-1 - Update to 3.0 (#1508216) * Fri Oct 13 2017 Vadim Rutkovsky - 2.12.1-1 - Update to 2.12.1 (#1487972) * Fri Sep 29 2017 Troy Dawson - 2.9-6 - Cleanup spec file conditionals * Thu Jul 27 2017 Fedora Release Engineering - 2.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Mar 9 2017 Orion Poplawski - 2.9-4 - Build python 3 version for EPEL * Sat Feb 11 2017 Fedora Release Engineering - 2.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Dec 13 2016 Stratakis Charalampos - 2.9-2 - Rebuild for Python 3.6 * Sat Aug 06 2016 Vadim Rutkovsky - 2.9-1 - Initial package