Subpackage python2-pygments has been removed
https://fedoraproject.org/wiki/Changes/RetirePython2
This commit is contained in:
parent
0989d90a49
commit
e2a8ab7854
@ -7,7 +7,7 @@
|
||||
|
||||
Name: python-pygments
|
||||
Version: 2.4.2
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: %{sum}
|
||||
|
||||
License: BSD
|
||||
@ -32,29 +32,6 @@ need to prettify source code. Highlights are:
|
||||
* ... and it highlights even Brainf*ck!
|
||||
|
||||
|
||||
%package -n python2-%{srcname}
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-nose
|
||||
Requires: python2-setuptools
|
||||
Summary: %{sum}
|
||||
%{?python_provide:%python_provide python2-%{srcname}}
|
||||
|
||||
%description -n python2-%{srcname}
|
||||
Pygments is a generic syntax highlighter for general use in all kinds
|
||||
of software such as forum systems, wikis or other applications that
|
||||
need to prettify source code. Highlights are:
|
||||
|
||||
* a wide range of common languages and markup formats is supported
|
||||
* special attention is paid to details that increase highlighting
|
||||
quality
|
||||
* support for new languages and formats are added easily; most
|
||||
languages use a simple regex-based lexing mechanism
|
||||
* a number of output formats is available, among them HTML, RTF,
|
||||
LaTeX and ANSI sequences
|
||||
* it is usable as a command-line tool and as a library
|
||||
* ... and it highlights even Brainf*ck!
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
@ -86,14 +63,9 @@ need to prettify source code. Highlights are:
|
||||
|
||||
%build
|
||||
%{__sed} -i 's/\r//' LICENSE
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
# Python 2 install
|
||||
%py2_install
|
||||
|
||||
# Python 3 install
|
||||
%py3_install
|
||||
|
||||
%if %{with docs}
|
||||
@ -104,19 +76,9 @@ cp -r doc/docs doc/reST
|
||||
|
||||
|
||||
%check
|
||||
make test PYTHON=%{__python2}
|
||||
make test PYTHON=%{__python3}
|
||||
|
||||
|
||||
%files -n python2-pygments
|
||||
%doc AUTHORS CHANGES doc/reST TODO
|
||||
%if %{with docs}
|
||||
%doc build/sphinx/html
|
||||
%endif
|
||||
%license LICENSE
|
||||
%{python2_sitelib}/pygments/
|
||||
%{python2_sitelib}/Pygments-%{version}-py%{python2_version}.egg-info/
|
||||
|
||||
%files -n python3-pygments
|
||||
%doc AUTHORS CHANGES doc/reST TODO
|
||||
%license LICENSE
|
||||
@ -129,6 +91,10 @@ make test PYTHON=%{__python3}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Nov 15 2019 Miro Hrončok <mhroncok@redhat.com> - 2.4.2-6
|
||||
- Subpackage python2-pygments has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/RetirePython2
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.4.2-5
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user