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
|
Name: python-pygments
|
||||||
Version: 2.4.2
|
Version: 2.4.2
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -32,29 +32,6 @@ need to prettify source code. Highlights are:
|
|||||||
* ... and it highlights even Brainf*ck!
|
* ... 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}
|
%package -n python3-%{srcname}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
@ -86,14 +63,9 @@ need to prettify source code. Highlights are:
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%{__sed} -i 's/\r//' LICENSE
|
%{__sed} -i 's/\r//' LICENSE
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# Python 2 install
|
|
||||||
%py2_install
|
|
||||||
|
|
||||||
# Python 3 install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
@ -104,19 +76,9 @@ cp -r doc/docs doc/reST
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test PYTHON=%{__python2}
|
|
||||||
make test PYTHON=%{__python3}
|
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
|
%files -n python3-pygments
|
||||||
%doc AUTHORS CHANGES doc/reST TODO
|
%doc AUTHORS CHANGES doc/reST TODO
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -129,6 +91,10 @@ make test PYTHON=%{__python3}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.4.2-5
|
||||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user