2021-01-28 11:27:18 +08:00
|
|
|
%global srcname virtualenv
|
|
|
|
|
Name: python-%{srcname}
|
2021-12-09 08:09:11 +00:00
|
|
|
Version: 20.4.7
|
2023-05-16 19:11:01 +08:00
|
|
|
Release: 2
|
2019-12-14 21:12:55 +08:00
|
|
|
Summary: A tool to create isolated Python environments
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://pypi.python.org/pypi/virtualenv
|
2021-12-09 08:09:11 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/7c/46/4d4c37b6d96eb06961f8b2f38f7df12bb1a4951ff1145ac5dead9977e674/virtualenv-20.4.7.tar.gz
|
2019-12-14 21:12:55 +08:00
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2020-07-24 17:20:14 +08:00
|
|
|
BuildRequires: python3-appdirs python3-distlib python3-filelock python3-six
|
|
|
|
|
BuildRequires: python3-devel python3-setuptools_scm python3-setuptools
|
2019-12-14 21:12:55 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Virtualenv is a tool to create isolated Python environments. Since Python
|
|
|
|
|
3.3, a subset of it has been integrated into the standard library under
|
|
|
|
|
the venv module. Note though, that the venv module does not offer all
|
|
|
|
|
features of this library (e.g. cannot create bootstrap scripts, cannot
|
|
|
|
|
create virtual environments for other python versions than the host python,
|
|
|
|
|
not relocatable, etc.). Tools in general as such still may prefer using
|
|
|
|
|
virtualenv for its ease of upgrading (via pip), unified handling of different
|
|
|
|
|
Python versions and some more advanced features.
|
|
|
|
|
|
|
|
|
|
%package -n python3-virtualenv
|
|
|
|
|
Summary: Tool to create isolated Python environments
|
2023-05-16 19:11:01 +08:00
|
|
|
Requires: python3-setuptools python3-appdirs
|
2020-07-24 17:20:14 +08:00
|
|
|
Requires: python3-distlib python3-filelock python3-six
|
2019-12-14 21:12:55 +08:00
|
|
|
%{?python_provide:%python_provide python3-virtualenv}
|
|
|
|
|
Provides: virtualenv = %{version}-%{release}
|
|
|
|
|
Requires: python-pip-wheel python-setuptools-wheel python-wheel-wheel
|
2021-04-28 12:43:52 +08:00
|
|
|
Requires: python3-appdirs python3-distlib python3-filelock
|
2023-05-16 19:11:01 +08:00
|
|
|
Obsoletes: python3-virtualenv-python26 < %{version}-%{release}
|
2019-12-14 21:12:55 +08:00
|
|
|
|
|
|
|
|
%description -n python3-virtualenv
|
|
|
|
|
virtualenv support in python3.
|
|
|
|
|
|
|
|
|
|
%prep
|
2020-06-23 16:22:45 +08:00
|
|
|
%autosetup -n virtualenv-%{version} -p1
|
2019-12-14 21:12:55 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%files -n python3-virtualenv
|
2020-06-23 16:22:45 +08:00
|
|
|
%license LICENSE
|
|
|
|
|
%doc docs/*rst PKG-INFO
|
|
|
|
|
%{python3_sitelib}/virtualenv*
|
2019-12-14 21:12:55 +08:00
|
|
|
%{_bindir}/virtualenv
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-05-16 19:11:01 +08:00
|
|
|
* Tue May 16 2023 shixuantong <shixuantong1@huawei.com> - 20.4.7-2
|
|
|
|
|
- remove python3-virtualenv-python26
|
|
|
|
|
|
2021-12-09 08:09:11 +00:00
|
|
|
* Thu Dec 09 2021 shixuantong <shixuantong@huawei.com> - 20.4.7-1
|
|
|
|
|
- update version to 20.4.7
|
|
|
|
|
|
2021-08-05 17:45:45 +08:00
|
|
|
* Thu Aug 05 2021 liusheng <liusheng2048@gmail.com> - 20.4.2-1
|
|
|
|
|
- Upgrade to version 20.4.2
|
|
|
|
|
|
2021-04-28 12:43:52 +08:00
|
|
|
* Wed Apr 28 2021 shixuantong<shixuantong@huawei.com> - 20.3.0-2
|
|
|
|
|
- add requires python3-appdirs python3-distlib python3-filelock
|
|
|
|
|
|
2021-01-28 11:27:18 +08:00
|
|
|
* Thu Jan 28 2021 liudabo <liudabo1@huawei.com> - 20.3.0-1
|
|
|
|
|
- upgrade version to 20.3.0
|
|
|
|
|
|
2020-07-24 17:20:14 +08:00
|
|
|
* Fri Jul 24 2020 shixuantong <shixuantong@huawei.com> - 20.0.27-1
|
|
|
|
|
- update to 20.0.27-1
|
|
|
|
|
|
2020-06-23 16:22:45 +08:00
|
|
|
* Thu Jun 4 2020 chengzihan <chengzihan2@huawei.com> 20.0.21-0
|
|
|
|
|
- Upgrade package to version 20.0.21
|
|
|
|
|
|
2019-12-14 21:12:55 +08:00
|
|
|
* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 16.0.0-6
|
|
|
|
|
- Package init
|