14
0

6 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
0497456b4a Accepting request 1285321 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1285321
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-accessible-pygments?expand=0&rev=4
2025-06-13 16:45:50 +00:00
0c328f40ff - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-accessible-pygments?expand=0&rev=8
2025-06-13 05:39:06 +00:00
74a4b26396 Accepting request 1203320 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1203320
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-accessible-pygments?expand=0&rev=3
2024-09-25 19:54:20 +00:00
21ad56037c Accepting request 1203046 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1203046
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-accessible-pygments?expand=0&rev=6
2024-09-25 07:51:22 +00:00
4 changed files with 39 additions and 12 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,27 @@
-------------------------------------------------------------------
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>
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Sep 24 18:26:05 UTC 2024 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 30 07:26:57 UTC 2023 - Dirk Müller <dmueller@suse.com> Thu Mar 30 07:26:57 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-accessible-pygments # spec file for package python-accessible-pygments
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2026 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,19 @@
%define modname accessible-pygments %define modname accessible-pygments
%{?sle15_python_module_pythons}
Name: python-accessible-pygments Name: python-accessible-pygments
Version: 0.0.4 Version: 0.0.5
Release: 0 Release: 0
Summary: A collection of accessible pygments styles Summary: A collection of accessible pygments styles
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/Quansight-Labs/accessible-pygments 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 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 pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-pygments >= 1.5 Requires: python-pygments >= 1.5
@@ -42,21 +46,20 @@ A collection of accessible pygments styles
%setup -q -n accessible-pygments-%{version} %setup -q -n accessible-pygments-%{version}
%build %build
%python_build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand rm -rf %{buildroot}%{$python_sitelib}/test
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
export PYTHONPATH=$PWD %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python test/render_html.py
%python_exec test/run_tests.py
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{python_sitelib}/a11y_pygments %{python_sitelib}/a11y_pygments
%{python_sitelib}/accessible_pygments-%{version}*-info %{python_sitelib}/accessible_pygments-%{version}.dist-info
%changelog %changelog