From eee1a4f71e8896d192063f2c40302061854ceec6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:25:47 +0100 Subject: [PATCH] added py3 support [release 2.1.3-2mamba;Sun Jul 24 2016] --- python-pygments.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/python-pygments.spec b/python-pygments.spec index e79e2a3..b91d98c 100644 --- a/python-pygments.spec +++ b/python-pygments.spec @@ -1,13 +1,13 @@ Name: python-pygments Version: 2.1.3 -Release: 1mamba +Release: 2mamba Summary: A syntax highlighting package written in Python Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Stefano Cotta Ramusino URL: http://pygments.org/ -Source: http://pypi.python.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz +Source: http://pypi.debian.net/Pygments/Pygments-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: libpython-devel @@ -28,6 +28,10 @@ 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 + %prep %setup -q -n Pygments-%{version} @@ -52,7 +56,7 @@ install -D -m 0644 doc/pygmentize.1 \ %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %dir %{python_sitearch}/pygments %dir %{python_sitearch}/*.egg-info @@ -61,6 +65,9 @@ install -D -m 0644 doc/pygmentize.1 \ #CHANGES TODO %changelog +* Sun Jul 24 2016 Silvan Calarco 2.1.3-2mamba +- added py3 support + * Thu Mar 03 2016 Automatic Build System 2.1.3-1mamba - automatic version update by autodist