## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-pytest-cython Version: 0.2.2 Release: %autorelease Summary: Pytest plugin for testing Cython extension modules License: MIT URL: https://pytest-cython.readthedocs.io/ VCS: https://github.com/lgpage/pytest-cython Source0: %{vcs}/archive/v%{version}/pytest-cython-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # Test dependencies BuildRequires: gcc-c++ BuildRequires: %{py3_dist cython} BuildRequires: %{py3_dist nox} %global _desc %{expand: This pytest plugin enables the doctesting of C extension modules for Python, specifically created through Cython.} %description %_desc %package -n python3-pytest-cython Summary: %{summary} %description -n python3-pytest-cython %_desc %prep %autosetup -n pytest-cython-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pytest_cython %check # Cannot use the %%pytest macro because an import path check fails pytest %files -n python3-pytest-cython -f %{pyproject_files} %doc CHANGELOG.md README.md %license LICENSE.md %changelog ## START: Generated by rpmautospec * Sat Mar 30 2024 Jerry James - 0.2.2-1 - Version 0.2.2 * Fri Jan 26 2024 Fedora Release Engineering - 0.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 29 2023 Python Maint - 0.2.1-2 - Rebuilt for Python 3.12 * Sun Mar 26 2023 Jerry James - 0.2.1-1 - Initial import ## END: Generated by rpmautospec