added py3 support [release 2.1.3-2mamba;Sun Jul 24 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 16:25:47 +01:00
parent 1aaf3c3fe2
commit eee1a4f71e

View File

@ -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 <stefano.cotta@openmamba.org>
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 <silvan.calarco@mambasoft.it> 2.1.3-2mamba
- added py3 support
* Thu Mar 03 2016 Automatic Build System <autodist@mambasoft.it> 2.1.3-1mamba
- automatic version update by autodist