diff --git a/accessible-pygments-0.0.5.tar.gz b/accessible-pygments-0.0.5.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..fd5afacc36fd8a9fbb1f1d3f827b7a2dcb46ec75 Binary files /dev/null and b/accessible-pygments-0.0.5.tar.gz differ diff --git a/python-accessible-pygments.spec b/python-accessible-pygments.spec new file mode 100644 index 0000000000000000000000000000000000000000..7cdd3e3590d14250f87557124f01012cf809c00b --- /dev/null +++ b/python-accessible-pygments.spec @@ -0,0 +1,66 @@ +%define anolis_release 1 + +%global giturl https://github.com/Quansight-Labs/accessible-pygments + +Name: python-accessible-pygments +Version: 0.0.5 +Release: %{anolis_release}%{?dist} +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. + +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + +%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 +%generate_compatibility_deps + +%check +%pytest -v + +%files doc +%doc CHANGELOG.md README.md + +%files -n python3-accessible-pygments -f %{pyproject_files} +%dir %{abidir} + +%changelog +* Fri Apr 17 2026 Yuki Zhu - 0.0.5-1 +- Init Package from upstream