diff --git a/accessible-pygments-0.0.4-gh.tar.gz b/accessible-pygments-0.0.4-gh.tar.gz deleted file mode 100644 index 6d5dc70..0000000 --- a/accessible-pygments-0.0.4-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c53231d81bf5baf9dde7e27e8894290c1012284543128f1d3c8c28ddd95dd2b4 -size 4540933 diff --git a/accessible-pygments-0.0.5-gh.tar.gz b/accessible-pygments-0.0.5-gh.tar.gz new file mode 100644 index 0000000..48e9732 --- /dev/null +++ b/accessible-pygments-0.0.5-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:410489f33b2673fd77452134f557da41ee6e3e46854cab82f2b4c2e3bb35eb82 +size 2273172 diff --git a/python-accessible-pygments.changes b/python-accessible-pygments.changes index bd999b2..beb4596 100644 --- a/python-accessible-pygments.changes +++ b/python-accessible-pygments.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Jan 7 03:05:05 UTC 2026 - Steve Kowalik + +- Update to 0.0.5: + * ENH - Move to hatch for dev/build + * ENH - Automate theme READMEs + * BUG - Ensure no local version + * BUG - Fix contrast failures for high contrast light theme + * ENH - Fix broken theme URLs in README, typo in demo html + * ENH - Update code to not get images from placeholder.com + * ENH - Reflect that rgb colors are in 0-1 and floats. + * ENH - Rename hex to float function + * ENH - Set a11y-light default background to #f2f2f2 (light gray) + ------------------------------------------------------------------- Fri Jun 13 05:35:04 UTC 2025 - Steve Kowalik diff --git a/python-accessible-pygments.spec b/python-accessible-pygments.spec index f319a64..c6b1c91 100644 --- a/python-accessible-pygments.spec +++ b/python-accessible-pygments.spec @@ -1,7 +1,7 @@ # # spec file for package python-accessible-pygments # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,16 +19,17 @@ %define modname accessible-pygments %{?sle15_python_module_pythons} Name: python-accessible-pygments -Version: 0.0.4 +Version: 0.0.5 Release: 0 Summary: A collection of accessible pygments styles License: BSD-3-Clause URL: https://github.com/Quansight-Labs/accessible-pygments Source: https://github.com/Quansight-Labs/accessible-pygments/archive/refs/tags/v%{version}.tar.gz#/accessible-pygments-%{version}-gh.tar.gz +BuildRequires: %{python_module hatch-fancy-pypi-readme} +BuildRequires: %{python_module hatch-vcs} +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pygments >= 1.5 @@ -45,16 +46,15 @@ A collection of accessible pygments styles %setup -q -n accessible-pygments-%{version} %build +export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %install %pyproject_install -%python_expand rm -rf %{buildroot}%{$python_sitelib}/test %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -export PYTHONPATH=$PWD -%python_exec test/run_tests.py +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python test/render_html.py %files %{python_files} %doc README.md