diff --git a/python-virtualenv.spec b/python-virtualenv.spec index d5df2f13c6e2248327c6089344d27707e2696816..a549d6f7b4106123449444113e227d01ed4ca39c 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -1,14 +1,15 @@ Name: python-virtualenv -Version: 16.0.0 -Release: 6 +Version: 20.0.21 +Release: 0 Summary: A tool to create isolated Python environments License: MIT 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 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 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} %{?python_provide:%python_provide python2-virtualenv-python26} Provides: bundled(python2dist(argparse)) = 1.4.0 -Provides: bundled(python2dist(pip)) = 9.0.3 -Provides: bundled(python2dist(setuptools)) = 36.8.0 -Provides: bundled(python2dist(wheel)) = 0.29.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. @@ -57,16 +62,19 @@ Summary: Extra bits of virtuelenv only needed with Python 2.6 Requires: python3-virtualenv = %{version}-%{release} %{?python_provide:%python_provide python3-virtualenv-python26} Provides: bundled(python2dist(argparse)) = 1.4.0 -Provides: bundled(python2dist(pip)) = 9.0.3 -Provides: bundled(python2dist(setuptools)) = 36.8.0 -Provides: bundled(python2dist(wheel)) = 0.29.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 python3-virtualenv-python26 Tools that support for python2.6 virtual environments with python3. %prep -%autosetup -n virtualenv-%{version} -p1 -Sgit -sed -i -e "1s|#!/usr/bin/env python||" virtualenv.py +%autosetup -n virtualenv-%{version} -p1 %build %py2_build @@ -77,30 +85,26 @@ sed -i -e "1s|#!/usr/bin/env python||" virtualenv.py %py3_install %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/ +%license LICENSE +%doc docs/*rst PKG-INFO +%{python2_sitelib}/virtualenv* +%{_bindir}/virtualenv %files -n python2-virtualenv-python26 -%{python2_sitelib}/virtualenv_support/*.whl +%{python2_sitelib}/virtualenv/seed/embed/wheels/*.whl %files -n python3-virtualenv -%license LICENSE.txt -%doc docs/*rst PKG-INFO AUTHORS.txt +%license LICENSE +%doc docs/*rst PKG-INFO +%{python3_sitelib}/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 -%{python3_sitelib}/virtualenv_support/*.whl +%{python3_sitelib}/virtualenv/seed/embed/wheels/*.whl %changelog +* Thu Jun 4 2020 chengzihan 20.0.21-0 +- Upgrade package to version 20.0.21 + * Mon Dec 9 2019 openEuler Buildteam - 16.0.0-6 - Package init diff --git a/virtualenv-16.0.0.tar.gz b/virtualenv-16.0.0.tar.gz deleted file mode 100644 index 98b35c75297ad3517a31e984d96d2ab8fc813c16..0000000000000000000000000000000000000000 Binary files a/virtualenv-16.0.0.tar.gz and /dev/null differ diff --git a/virtualenv-20.0.21.tar.gz b/virtualenv-20.0.21.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..34372fdce2e2461aae9a0119a5c802ca9d6f173b Binary files /dev/null and b/virtualenv-20.0.21.tar.gz differ