|
|
|
@@ -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) 2025 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# 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,6 +17,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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.4
|
|
|
|
Release: 0
|
|
|
|
Release: 0
|
|
|
|
@@ -24,8 +25,10 @@ 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 pip}
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-pygments >= 1.5
|
|
|
|
Requires: python-pygments >= 1.5
|
|
|
|
@@ -42,10 +45,10 @@ A collection of accessible pygments styles
|
|
|
|
%setup -q -n accessible-pygments-%{version}
|
|
|
|
%setup -q -n accessible-pygments-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%pyproject_install
|
|
|
|
%python_expand rm -rf %{buildroot}%{$python_sitelib}/test
|
|
|
|
%python_expand rm -rf %{buildroot}%{$python_sitelib}/test
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -57,6 +60,6 @@ export PYTHONPATH=$PWD
|
|
|
|
%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
|
|
|
|
|