forked from pool/python-accessible-pygments
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 0497456b4a | |||
| 0c328f40ff | |||
| 74a4b26396 | |||
| 21ad56037c |
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-accessible-pygments
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
%define modname accessible-pygments
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-accessible-pygments
|
||||
Version: 0.0.4
|
||||
Release: 0
|
||||
@@ -24,8 +25,10 @@ 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 pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pygments >= 1.5
|
||||
@@ -42,10 +45,10 @@ A collection of accessible pygments styles
|
||||
%setup -q -n accessible-pygments-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand rm -rf %{buildroot}%{$python_sitelib}/test
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
@@ -57,6 +60,6 @@ export PYTHONPATH=$PWD
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/a11y_pygments
|
||||
%{python_sitelib}/accessible_pygments-%{version}*-info
|
||||
%{python_sitelib}/accessible_pygments-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user