You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python-accessible-pygments/SPECS/python-accessible-pygments....

92 lines
2.8 KiB

## 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 <tigro@msvsphere-os.ru> - 0.0.5-3
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jul 17 2024 Jerry James <loganjerry@gmail.com> - 0.0.5-2
- Fix the VCS field
* Wed Jun 12 2024 Jerry James <loganjerry@gmail.com> - 0.0.5-1
- Version 0.0.5
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.0.4-6
- Rebuilt for Python 3.13
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.0.4-2
- Rebuilt for Python 3.12
* Thu Mar 30 2023 Jerry James <loganjerry@gmail.com> - 0.0.4-1
- Initial RPM
## END: Generated by rpmautospec