Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
31168474d6
!35 [sync] PR-34: Update to 20.26.6 for fix CVE-2024-53899
From: @openeuler-sync-bot 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2024-11-27 09:37:17 +00:00
starlet-dx
9114cfc62f Update to 20.26.6 for fix CVE-2024-53899
(cherry picked from commit 64688fa53b04521267def000be7cba1258e52e9d)
2024-11-27 15:09:59 +08:00
openeuler-ci-bot
84ad3f2f17
!29 Upgrade version to 20.24.4
From: @cherry530 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2024-02-29 03:12:23 +00:00
cherry530
2813883394 Upgrade version to 20.24.4
Signed-off-by: cherry530 <707078654@qq.com>
2024-01-15 16:25:12 +08:00
openeuler-ci-bot
86368a6528
!28 update to upstream version 20.23.0
From: @desert-sailor 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-06-14 08:39:59 +00:00
desert-sailor
661d631809 upgrade to version 20.23.0 2023-06-14 16:16:27 +08:00
openeuler-ci-bot
ed54380bf3
!23 remove python3-virtualenv-python26
From: @tong_1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-05-17 02:03:46 +00:00
shixuantong
d14fa52317 remove python3-virtualenv-python26 2023-05-16 19:11:01 +08:00
openeuler-ci-bot
dcf2647285 !17 update version to 20.4.7
From: @tong_1001
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-12-09 09:38:53 +00:00
桐小哥
6643d41d68 update versiosn to 20.4.7 2021-12-09 16:30:42 +08:00
2 changed files with 42 additions and 35 deletions

View File

@ -1,15 +1,20 @@
%global srcname virtualenv
Name: python-%{srcname}
Version: 20.4.2
%global pypi_name virtualenv
Name: python-%{pypi_name}
Version: 20.26.6
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/79/64/203241c2e2b5abfd5edca4e28242c21bf8a9e84490873e4a8a155a9658fc/virtualenv-20.4.2.tar.gz
Source0: %{pypi_source %{pypi_name}}
BuildArch: noarch
BuildRequires: python3-appdirs python3-distlib python3-filelock python3-six
BuildRequires: python3-devel python3-setuptools_scm python3-setuptools
BuildRequires: python3-distlib python3-filelock
BuildRequires: python3-devel python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-editables
BuildRequires: python3-hatch-vcs
BuildRequires: python3-hatchling
%description
Virtualenv is a tool to create isolated Python environments. Since Python
@ -23,51 +28,53 @@ Python versions and some more advanced features.
%package -n python3-virtualenv
Summary: Tool to create isolated Python environments
Requires: python3-setuptools python3-appdirs python3-virtualenv-python26
Requires: python3-distlib python3-filelock python3-six
Requires: python3-setuptools
Requires: python3-distlib python3-filelock
%{?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
Requires: python3-distlib python3-filelock
Obsoletes: python3-virtualenv-python26 < %{version}-%{release}
%description -n python3-virtualenv
%description -n python3-%{pypi_name}
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
%autosetup -n %{pypi_name}-%{version} -p1
%build
%py3_build
%pyproject_build
%install
%py3_install
%pyproject_install
# revert the version.py content to origin sources
export 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-virtualenv
%files -n python3-%{pypi_name}
%license LICENSE
%doc docs/*rst PKG-INFO
%{python3_sitelib}/virtualenv*
%doc README.md
%{_bindir}/virtualenv
%files -n python3-virtualenv-python26
%{python3_sitelib}/virtualenv/seed/wheels/embed/*.whl
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}*.dist-info/
%changelog
* Wed Nov 27 2024 yaoxin <yao_xin001@hoperun.com> - 20.26.6-1
- Update to 20.26.6 for fix CVE-2024-53899
* 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