17
0

2 Commits

Author SHA256 Message Date
fb87055da6 Accepting request 1325687 from devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1325687
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-accessible-pygments?expand=0&rev=5
2026-01-07 15:02:07 +00:00
08dd797c3b - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-accessible-pygments?expand=0&rev=10
2026-01-07 03:06:25 +00:00
4 changed files with 24 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c53231d81bf5baf9dde7e27e8894290c1012284543128f1d3c8c28ddd95dd2b4
size 4540933

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:410489f33b2673fd77452134f557da41ee6e3e46854cab82f2b4c2e3bb35eb82
size 2273172

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Jan 7 03:05:05 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <steven.kowalik@suse.com>

View File

@@ -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