!9 remove python2 subpackage
From: @tong_1001 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
7783404d2d
@ -1,15 +1,15 @@
|
|||||||
Name: python-virtualenv
|
Name: python-virtualenv
|
||||||
Version: 20.0.23
|
Version: 20.0.23
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A tool to create isolated Python environments
|
Summary: A tool to create isolated Python environments
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://pypi.python.org/pypi/virtualenv
|
URL: http://pypi.python.org/pypi/virtualenv
|
||||||
Source0: https://files.pythonhosted.org/packages/a5/fb/b95b0ce5160296aa3b220574a5fc13f53250a4f6770c126ae968960b95db/virtualenv-20.0.23.tar.gz
|
Source0: https://files.pythonhosted.org/packages/a5/fb/b95b0ce5160296aa3b220574a5fc13f53250a4f6770c126ae968960b95db/virtualenv-20.0.23.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: git-core python2-devel python3-devel python3-sphinx
|
BuildRequires: git-core python3-devel python3-sphinx
|
||||||
BuildRequires: python-pip-wheel python-wheel-wheel python-setuptools >= 41.0.0
|
BuildRequires: python-pip-wheel python-wheel-wheel python-setuptools >= 41.0.0
|
||||||
BuildRequires: python2-setuptools_scm python3-setuptools_scm
|
BuildRequires: python3-setuptools_scm
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Virtualenv is a tool to create isolated Python environments. Since Python
|
Virtualenv is a tool to create isolated Python environments. Since Python
|
||||||
@ -21,31 +21,6 @@ not relocatable, etc.). Tools in general as such still may prefer using
|
|||||||
virtualenv for its ease of upgrading (via pip), unified handling of different
|
virtualenv for its ease of upgrading (via pip), unified handling of different
|
||||||
Python versions and some more advanced features.
|
Python versions and some more advanced features.
|
||||||
|
|
||||||
%package -n python2-virtualenv
|
|
||||||
Summary: Tool to create isolated Python environments
|
|
||||||
Requires: python2-setuptools python2-devel python2-virtualenv-python26
|
|
||||||
%{?python_provide:%python_provide python2-virtualenv}
|
|
||||||
Requires: python-pip-wheel python-setuptools-wheel python-wheel-wheel
|
|
||||||
|
|
||||||
%description -n python2-virtualenv
|
|
||||||
virtualenv support in python2.
|
|
||||||
|
|
||||||
%package -n python2-virtualenv-python26
|
|
||||||
Summary: Extra bits of virtuelenv only needed with Python 2.6
|
|
||||||
Requires: python2-virtualenv = %{version}-%{release}
|
|
||||||
%{?python_provide:%python_provide python2-virtualenv-python26}
|
|
||||||
Provides: bundled(python2dist(argparse)) = 1.4.0
|
|
||||||
Provides: bundled(python2dist(pip)) = 19.1.1
|
|
||||||
Provides: bundled(python2dist(pip)) = 20.1.1
|
|
||||||
Provides: bundled(python2dist(setuptools)) = 43.0.0
|
|
||||||
Provides: bundled(python2dist(setuptools)) = 44.1.0
|
|
||||||
Provides: bundled(python2dist(setuptools)) = 46.4.0
|
|
||||||
Provides: bundled(python2dist(wheel)) = 0.33.6
|
|
||||||
Provides: bundled(python2dist(wheel)) = 0.34.2
|
|
||||||
|
|
||||||
%description -n python2-virtualenv-python26
|
|
||||||
Tools that support for python2.6 virtual environments with python2.
|
|
||||||
|
|
||||||
%package -n python3-virtualenv
|
%package -n python3-virtualenv
|
||||||
Summary: Tool to create isolated Python environments
|
Summary: Tool to create isolated Python environments
|
||||||
Requires: python3-setuptools python3-devel python3-virtualenv-python26
|
Requires: python3-setuptools python3-devel python3-virtualenv-python26
|
||||||
@ -77,22 +52,11 @@ Tools that support for python2.6 virtual environments with python3.
|
|||||||
%autosetup -n virtualenv-%{version} -p1
|
%autosetup -n virtualenv-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%files -n python2-virtualenv
|
|
||||||
%license LICENSE
|
|
||||||
%doc docs/*rst PKG-INFO
|
|
||||||
%{python2_sitelib}/virtualenv*
|
|
||||||
%{_bindir}/virtualenv
|
|
||||||
|
|
||||||
%files -n python2-virtualenv-python26
|
|
||||||
%{python2_sitelib}/virtualenv/seed/embed/wheels/*.whl
|
|
||||||
|
|
||||||
%files -n python3-virtualenv
|
%files -n python3-virtualenv
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc docs/*rst PKG-INFO
|
%doc docs/*rst PKG-INFO
|
||||||
@ -103,6 +67,9 @@ Tools that support for python2.6 virtual environments with python3.
|
|||||||
%{python3_sitelib}/virtualenv/seed/embed/wheels/*.whl
|
%{python3_sitelib}/virtualenv/seed/embed/wheels/*.whl
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 30 2020 shixuantong<shixuantong@huawei.com> - 20.0.23-2
|
||||||
|
- remove python2 subpackage
|
||||||
|
|
||||||
* Mon Aug 31 2020 pengyeqing <pengyeqing@huawei.com> 20.0.23-1
|
* Mon Aug 31 2020 pengyeqing <pengyeqing@huawei.com> 20.0.23-1
|
||||||
- Upgrade to version 20.0.23
|
- Upgrade to version 20.0.23
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user