update to 2.18.0 [release 2.18.0-1mamba;Thu May 09 2024]

This commit is contained in:
Silvan Calarco 2024-05-14 21:34:07 +02:00
parent adb22f5333
commit 0004e6af76

View File

@ -1,14 +1,14 @@
%define pkgname %(echo %name | cut -d- -f2-)
Name: python-pygments
Version: 2.16.1
Release: 2mamba
Version: 2.18.0
Release: 1mamba
Summary: A syntax highlighting package written in Python
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pygments.org/
Source: http://pypi.debian.net/Pygments/Pygments-%{version}.tar.gz
Source: http://pypi.debian.net/Pygments/pygments-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
@ -27,10 +27,6 @@ Highlights are:
* it is usable as a command-line tool and as a library
* ... and it highlights even Brainfuck!
%if "%{?with_pyver}"
%pyver_package
%endif
%package %{?pyappend:%pyappend-}tools
Group: Development/Tools
Summary: Utilities for %{name}
@ -39,9 +35,12 @@ Requires: %{name}%{?pyappend:-%pyappend} = %{?epoch:%epoch:}%{version}-%{re
%description %{?pyappend:%pyappend-}tools
This package contains utilities for %{name}.
%prep
%setup -q -n Pygments-%{version}
%if "%{?with_pyver}"
%pyver_package
%endif
%prep
%setup -q -n pygments-%{version}
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
@ -74,13 +73,16 @@ install -D -m 0644 doc/pygmentize.1 \
%defattr(-,root,root)
%{_bindir}/pygmentize*
%{_mandir}/man1/pygmentize*.1*
%dir %{python_sitelib}/Pygments-%{version}.dist-info
%{python_sitelib}/Pygments-%{version}.dist-info/*
%dir %{python_sitelib}/pygments-%{version}.dist-info
%{python_sitelib}/pygments-%{version}.dist-info/*
%dir %{python_sitelib}/pygments
%{python_sitelib}/pygments/*
%doc AUTHORS LICENSE
%changelog
* Thu May 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.18.0-1mamba
- update to 2.18.0
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 2.16.1-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba