Drop python2-virtualenv

epel9
Miro Hrončok 6 years ago
parent 66b7533376
commit e13c91be3a

@ -1,6 +1,6 @@
Name: python-virtualenv Name: python-virtualenv
Version: 16.6.1 Version: 16.6.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: Tool to create isolated Python environments Summary: Tool to create isolated Python environments
License: MIT License: MIT
@ -16,8 +16,6 @@ Patch2: lib64-license.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: git-core BuildRequires: git-core
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
@ -55,25 +53,6 @@ written by Ian Bicking, and sponsored by the Open Planning Project. It is
licensed under an MIT-style permissive license. licensed under an MIT-style permissive license.
%package -n python2-virtualenv
Summary: Tool to create isolated Python environments
Requires: python2-setuptools
Obsoletes: python2-virtualenv-python26 < 16.6
%{?python_provide:%python_provide python2-virtualenv}
# RPM installed wheels
Requires: python-pip-wheel
Requires: python-setuptools-wheel
Requires: python-wheel-wheel
%description -n python2-virtualenv
virtualenv is a tool to create isolated Python environments. virtualenv
is a successor to workingenv, and an extension of virtual-python. It is
written by Ian Bicking, and sponsored by the Open Planning Project. It is
licensed under an MIT-style permissive license
%package -n python3-virtualenv %package -n python3-virtualenv
Summary: Tool to create isolated Python environments Summary: Tool to create isolated Python environments
@ -119,7 +98,6 @@ test ! -f virtualenv_support/*.whl
%build %build
# Build code # Build code
%{py2_build}
%{py3_build} %{py3_build}
# Build docs # Build docs
@ -129,10 +107,6 @@ rm -f build/sphinx/html/.buildinfo
%endif %endif
%install %install
# As https://bugzilla.redhat.com/show_bug.cgi?id=1599422 we ship binaries in py3
%{py2_install}
rm %{buildroot}/%{_bindir}/virtualenv
%{py3_install} %{py3_install}
%if %{with tests} %if %{with tests}
@ -152,14 +126,6 @@ rm virtualenv_support/*.whl
rm -r tmp_path rm -r tmp_path
%endif %endif
%files -n python2-virtualenv
%license LICENSE.txt
%doc docs/*rst PKG-INFO AUTHORS.txt
%{python2_sitelib}/virtualenv.py*
%dir %{python2_sitelib}/virtualenv_support/
%{python2_sitelib}/virtualenv_support/__init__.py*
%{python2_sitelib}/virtualenv-*.egg-info/
%files -n python3-virtualenv %files -n python3-virtualenv
%license LICENSE.txt %license LICENSE.txt
%doc docs/*rst PKG-INFO AUTHORS.txt %doc docs/*rst PKG-INFO AUTHORS.txt
@ -178,6 +144,9 @@ rm -r tmp_path
%changelog %changelog
* Mon Jul 29 2019 Miro Hrončok <mhroncok@redhat.com> - 16.6.1-2
- Drop python2-virtualenv
* Thu Jul 11 2019 Miro Hrončok <mhroncok@redhat.com> - 16.6.1-1 * Thu Jul 11 2019 Miro Hrončok <mhroncok@redhat.com> - 16.6.1-1
- Update to 16.6.1 (#1699031) - Update to 16.6.1 (#1699031)
- No more Python 2.6 or Jython support - No more Python 2.6 or Jython support

Loading…
Cancel
Save