Compare commits

..

No commits in common. "dd832e3323ff95a996d61905f85eedde162a2cba" and "9659569e492fb9c77abc4067f41a6e81a5dbb753" have entirely different histories.

2 changed files with 24 additions and 23 deletions

View File

@ -1,11 +1,10 @@
%global srcname virtualenv
Name: python-%{srcname}
Version: 20.4.7
Release: 2
Name: python-virtualenv
Version: 20.0.27
Release: 1
Summary: A tool to create isolated Python environments
License: MIT
URL: http://pypi.python.org/pypi/virtualenv
Source0: https://files.pythonhosted.org/packages/7c/46/4d4c37b6d96eb06961f8b2f38f7df12bb1a4951ff1145ac5dead9977e674/virtualenv-20.4.7.tar.gz
Source0: https://files.pythonhosted.org/packages/aa/9d/d7713847ff3f58801045ab2ea5d4b6cdebc4a075b2bdd086f093beb92ecf/virtualenv-20.0.27.tar.gz
BuildArch: noarch
BuildRequires: python3-appdirs python3-distlib python3-filelock python3-six
@ -23,17 +22,31 @@ Python versions and some more advanced features.
%package -n python3-virtualenv
Summary: Tool to create isolated Python environments
Requires: python3-setuptools python3-appdirs
Requires: python3-setuptools python3-appdirs python3-virtualenv-python26
Requires: python3-distlib python3-filelock python3-six
%{?python_provide:%python_provide python3-virtualenv}
Provides: virtualenv = %{version}-%{release}
Requires: python-pip-wheel python-setuptools-wheel python-wheel-wheel
Requires: python3-appdirs python3-distlib python3-filelock
Obsoletes: python3-virtualenv-python26 < %{version}-%{release}
%description -n python3-virtualenv
virtualenv support in python3.
%package -n python3-virtualenv-python26
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)) = 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
@ -49,22 +62,10 @@ virtualenv support in python3.
%{python3_sitelib}/virtualenv*
%{_bindir}/virtualenv
%files -n python3-virtualenv-python26
%{python3_sitelib}/virtualenv/seed/wheels/embed/*.whl
%changelog
* Tue May 16 2023 shixuantong <shixuantong1@huawei.com> - 20.4.7-2
- remove python3-virtualenv-python26
* Thu Dec 09 2021 shixuantong <shixuantong@huawei.com> - 20.4.7-1
- update version to 20.4.7
* Thu Aug 05 2021 liusheng <liusheng2048@gmail.com> - 20.4.2-1
- Upgrade to version 20.4.2
* Wed Apr 28 2021 shixuantong<shixuantong@huawei.com> - 20.3.0-2
- add requires python3-appdirs python3-distlib python3-filelock
* Thu Jan 28 2021 liudabo <liudabo1@huawei.com> - 20.3.0-1
- upgrade version to 20.3.0
* Fri Jul 24 2020 shixuantong <shixuantong@huawei.com> - 20.0.27-1
- update to 20.0.27-1