commit 88c62a93427bfb006b62d1a0faa3a7093bb6e729 Author: tigro Date: Sun Jan 5 15:06:05 2025 +0300 import python-accessible-pygments-0.0.5-3.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cb58a68 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/accessible-pygments-0.0.5.tar.gz diff --git a/.python-accessible-pygments.metadata b/.python-accessible-pygments.metadata new file mode 100644 index 0000000..2da2505 --- /dev/null +++ b/.python-accessible-pygments.metadata @@ -0,0 +1 @@ +eb622df11bcadba00b455a9431dafe282ad77cb8 SOURCES/accessible-pygments-0.0.5.tar.gz diff --git a/SPECS/python-accessible-pygments.spec b/SPECS/python-accessible-pygments.spec new file mode 100644 index 0000000..3ebbe2b --- /dev/null +++ b/SPECS/python-accessible-pygments.spec @@ -0,0 +1,91 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + 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 giturl https://github.com/Quansight-Labs/accessible-pygments + +Name: python-accessible-pygments +Version: 0.0.5 +Release: %autorelease +Summary: Accessible pygments themes + +BuildArch: noarch +License: BSD-3-Clause +URL: https://quansight-labs.github.io/accessible-pygments/ +VCS: git:%{giturl}.git +Source: %{giturl}/archive/v%{version}/accessible-pygments-%{version}.tar.gz + +BuildRequires: python3-devel + +%description +This package includes a collection of accessible themes for pygments +based on different sources. + +%package -n python3-accessible-pygments +Summary: %{summary} + +%py_provides python3-a11y-pygments + +%description -n python3-accessible-pygments +This package includes a collection of accessible themes for pygments +based on different sources. + +%prep +%autosetup -n accessible-pygments-%{version} + +%generate_buildrequires +export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}' +%pyproject_buildrequires -x tests + +%build +export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}' +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files a11y_pygments + +%check +%pytest + +%files -n python3-accessible-pygments -f %{pyproject_files} +%doc CHANGELOG.md README.md + +%changelog +* Sun Jan 05 2025 Arkady L. Shane - 0.0.5-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.0.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Jul 17 2024 Jerry James - 0.0.5-2 +- Fix the VCS field + +* Wed Jun 12 2024 Jerry James - 0.0.5-1 +- Version 0.0.5 + +* Fri Jun 07 2024 Python Maint - 0.0.4-6 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.0.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 0.0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 0.0.4-2 +- Rebuilt for Python 3.12 + +* Thu Mar 30 2023 Jerry James - 0.0.4-1 +- Initial RPM +## END: Generated by rpmautospec