%global pypi_name virtualenvName: python-%{pypi_name}Version: 20.35.4Release: 1Summary: A tool to create isolated Python environmentsLicense: MITURL: http://pypi.python.org/pypi/virtualenvSource0: %{pypi_source %{pypi_name}}BuildArch: noarchBuildRequires: python3-distlib python3-filelockBuildRequires: python3-devel python3-setuptoolsBuildRequires: python3-pipBuildRequires: python3-wheelBuildRequires: python3-editablesBuildRequires: python3-hatch-vcsBuildRequires: python3-hatchling%descriptionVirtualenv is a tool to create isolated Python environments. Since Python3.3, a subset of it has been integrated into the standard library underthe venv module. Note though, that the venv module does not offer allfeatures of this library (e.g. cannot create bootstrap scripts, cannotcreate virtual environments for other python versions than the host python,not relocatable, etc.). Tools in general as such still may prefer usingvirtualenv for its ease of upgrading (via pip), unified handling of differentPython versions and some more advanced features.%package -n python3-virtualenvSummary: Tool to create isolated Python environmentsRequires: python3-setuptoolsRequires: python3-distlib python3-filelock%{?python_provide:%python_provide python3-virtualenv}Provides: virtualenv = %{version}-%{release}Requires: python-pip-wheel python-setuptools-wheel python-wheel-wheelRequires: python3-distlib python3-filelockObsoletes: python3-virtualenv-python26 < %{version}-%{release}%description -n python3-%{pypi_name}virtualenv support in python3.%prep%autosetup -n %{pypi_name}-%{version} -p1%build%pyproject_build%install%pyproject_install# revert the version.py content to origin sourcesexport ver_pyfile=$(find %{buildroot}%{python3_sitelib}/%{pypi_name} -name version.py)sed -i "s/^version = /__version__ = version = /g" ${ver_pyfile}sed -i "s/^version_tuple = /__version_tuple__ = version_tuple = /g" ${ver_pyfile}%files -n python3-%{pypi_name}%license LICENSE%doc README.md%{_bindir}/virtualenv%{python3_sitelib}/%{pypi_name}%{python3_sitelib}/%{pypi_name}*.dist-info/%changelog* Mon Nov 24 2025 warlock <hunan@kylinos.cn> - 20.35.4-1- Update to version 20.35.4* Add AppData and Cache protocols to discovery for decoupling* Patch get_interpreter to handle missing cache and app_data* Upgrade embedded wheels* Tue sep 30 2025 zengliwen <zengliwen@kylinos.cn> - 20.34.0-1- Update to version 20.34.0* Wed May 14 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 20.31.2-1- Update to version 20.31.2* Fri Oct 11 2024 xu_ping <707078654@qq.com> - 20.26.6-1- update version to 20.26.6* Thu Jun 06 2024 liuzhilin <liuzhilin@kylinos.cn> - 20.26.2-1- update version to 20.26.2- Fix bad return code from activate.sh if hashing is disabled - by :user:’fenkes-ibm’.* Mon Jan 15 2024 xu_ping <707078654@qq.com.com> - 20.24.4-1- update version to 20.24.4* Sun Jun 4 2023 Dongxing Wang <dxwangk@isoftstone.com> - 20.23.0-1- update version to 20.23.0* 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* 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- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型