## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 %global srcname doxypypy Name: python-%{srcname} Version: 0.8.8.7 Release: %autorelease License: GPL-2.0-only Summary: A more Pythonic version of doxypy, a Doxygen filter for Python Url: https://github.com/Feneric/%{srcname} Source: %{pypi_source} Patch: doxypypy-visit_Constant-fix.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-pytest BuildRequires: python3-chardet %global _description %{expand: A more Pythonic version of doxypy, a Doxygen filter for Python.} %description %_description %package -n python3-%{srcname} Summary: %{summary} Recommends: python3-%{srcname} %description -n python3-%{srcname} %_description %prep %autosetup -n %{srcname}-%{version} -p1 # Remove shebangs find . -name \*.py -exec sed -i '/#!\/usr\/bin\/env /d' '{}' \; find . -name \*.py -exec sed -i '/#!\/usr\/bin\/python/d' '{}' \; %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # Test fixture samples use UTF-16/32 BOM; not importable, drop from buildroot rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/test %pyproject_save_files -l %{srcname} # The wheel RECORD still lists the test fixtures; filter them out of the # generated file/module lists grep -v "/%{srcname}/test" %{pyproject_files} > %{pyproject_files}.tmp && mv %{pyproject_files}.tmp %{pyproject_files} grep -v "^%{srcname}\.test" %{_pyproject_modules} > %{_pyproject_modules}.tmp && mv %{_pyproject_modules}.tmp %{_pyproject_modules} %check %pyproject_check_import %pytest doxypypy %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst %{_bindir}/%{srcname} %changelog ## START: Generated by rpmautospec * Tue Nov 17 2026 Filipe Rosset - 0.8.8.7-1 - Update to 0.8.8.7 + spec cleanup, resolves rhbz#2377672 * Thu Jul 16 2026 Fedora Release Engineering - 0.8.8.6-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Wed Jun 03 2026 Python Maint - 0.8.8.6-16 - Rebuilt for Python 3.15 * Sat Jan 17 2026 Fedora Release Engineering - 0.8.8.6-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Sep 19 2025 Python Maint - 0.8.8.6-14 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 0.8.8.6-13 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 0.8.8.6-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Jun 02 2025 Python Maint - 0.8.8.6-11 - Rebuilt for Python 3.14 * Sat Jan 18 2025 Fedora Release Engineering - 0.8.8.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Jul 29 2024 Miroslav Suchý - 0.8.8.6-9 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 0.8.8.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.8.8.6-7 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.8.8.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.8.8.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.8.8.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.8.8.6-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.8.8.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Dec 19 2022 Onuralp SEZER - 0.8.8.6-1 - Initial version of package ## END: Generated by rpmautospec