Upgrade package to version 20.0.21

This commit is contained in:
chengzihan2 2020-06-23 16:22:45 +08:00
parent 9d572abb33
commit c1681e0d8a
3 changed files with 32 additions and 28 deletions

View File

@ -1,14 +1,15 @@
Name: python-virtualenv Name: python-virtualenv
Version: 16.0.0 Version: 20.0.21
Release: 6 Release: 0
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/33/bc/fa0b5347139cd9564f0d44ebd2b147ac97c36b2403943dbee8a25fd74012/virtualenv-16.0.0.tar.gz Source0: https://files.pythonhosted.org/packages/55/67/beb3ecfa973181a52fad76fc959b745631b258c5387348ae1e06c8ca7a81/virtualenv-20.0.21.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: git-core python2-devel python3-devel python3-sphinx BuildRequires: git-core python2-devel python3-devel python3-sphinx
BuildRequires: python-pip-wheel python-setuptools-wheel python-wheel-wheel BuildRequires: python-pip-wheel python-wheel-wheel python-setuptools >= 41.0.0
BuildRequires: python2-setuptools_scm 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
@ -34,9 +35,13 @@ Summary: Extra bits of virtuelenv only needed with Python 2.6
Requires: python2-virtualenv = %{version}-%{release} Requires: python2-virtualenv = %{version}-%{release}
%{?python_provide:%python_provide python2-virtualenv-python26} %{?python_provide:%python_provide python2-virtualenv-python26}
Provides: bundled(python2dist(argparse)) = 1.4.0 Provides: bundled(python2dist(argparse)) = 1.4.0
Provides: bundled(python2dist(pip)) = 9.0.3 Provides: bundled(python2dist(pip)) = 19.1.1
Provides: bundled(python2dist(setuptools)) = 36.8.0 Provides: bundled(python2dist(pip)) = 20.1.1
Provides: bundled(python2dist(wheel)) = 0.29.0 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 %description -n python2-virtualenv-python26
Tools that support for python2.6 virtual environments with python2. Tools that support for python2.6 virtual environments with python2.
@ -57,16 +62,19 @@ Summary: Extra bits of virtuelenv only needed with Python 2.6
Requires: python3-virtualenv = %{version}-%{release} Requires: python3-virtualenv = %{version}-%{release}
%{?python_provide:%python_provide python3-virtualenv-python26} %{?python_provide:%python_provide python3-virtualenv-python26}
Provides: bundled(python2dist(argparse)) = 1.4.0 Provides: bundled(python2dist(argparse)) = 1.4.0
Provides: bundled(python2dist(pip)) = 9.0.3 Provides: bundled(python2dist(pip)) = 19.1.1
Provides: bundled(python2dist(setuptools)) = 36.8.0 Provides: bundled(python2dist(pip)) = 20.1.1
Provides: bundled(python2dist(wheel)) = 0.29.0 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 python3-virtualenv-python26 %description -n python3-virtualenv-python26
Tools that support for python2.6 virtual environments with python3. Tools that support for python2.6 virtual environments with python3.
%prep %prep
%autosetup -n virtualenv-%{version} -p1 -Sgit %autosetup -n virtualenv-%{version} -p1
sed -i -e "1s|#!/usr/bin/env python||" virtualenv.py
%build %build
%py2_build %py2_build
@ -77,30 +85,26 @@ sed -i -e "1s|#!/usr/bin/env python||" virtualenv.py
%py3_install %py3_install
%files -n python2-virtualenv %files -n python2-virtualenv
%license LICENSE.txt %license LICENSE
%doc docs/*rst PKG-INFO AUTHORS.txt %doc docs/*rst PKG-INFO
%{python2_sitelib}/virtualenv.py* %{python2_sitelib}/virtualenv*
%dir %{python2_sitelib}/virtualenv_support/ %{_bindir}/virtualenv
%{python2_sitelib}/virtualenv_support/__init__.py*
%{python2_sitelib}/virtualenv-*.egg-info/
%files -n python2-virtualenv-python26 %files -n python2-virtualenv-python26
%{python2_sitelib}/virtualenv_support/*.whl %{python2_sitelib}/virtualenv/seed/embed/wheels/*.whl
%files -n python3-virtualenv %files -n python3-virtualenv
%license LICENSE.txt %license LICENSE
%doc docs/*rst PKG-INFO AUTHORS.txt %doc docs/*rst PKG-INFO
%{python3_sitelib}/virtualenv*
%{_bindir}/virtualenv %{_bindir}/virtualenv
%{python3_sitelib}/virtualenv.py
%dir %{python3_sitelib}/virtualenv_support/
%{python3_sitelib}/virtualenv_support/__init__.py
%{python3_sitelib}/virtualenv_support/__pycache__/
%{python3_sitelib}/virtualenv-*.egg-info/
%{python3_sitelib}/__pycache__/*
%files -n python3-virtualenv-python26 %files -n python3-virtualenv-python26
%{python3_sitelib}/virtualenv_support/*.whl %{python3_sitelib}/virtualenv/seed/embed/wheels/*.whl
%changelog %changelog
* Thu Jun 4 2020 chengzihan <chengzihan2@huawei.com> 20.0.21-0
- Upgrade package to version 20.0.21
* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 16.0.0-6 * Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 16.0.0-6
- Package init - Package init

Binary file not shown.

BIN
virtualenv-20.0.21.tar.gz Normal file

Binary file not shown.