upgrade to version 20.23.0
This commit is contained in:
parent
ed54380bf3
commit
661d631809
@ -1,15 +1,20 @@
|
|||||||
%global srcname virtualenv
|
%global pypi_name virtualenv
|
||||||
Name: python-%{srcname}
|
Name: python-%{pypi_name}
|
||||||
Version: 20.4.7
|
Version: 20.23.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: A tool to create isolated Python environments
|
Summary: A tool to create isolated Python environments
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://pypi.python.org/pypi/virtualenv
|
URL: http://pypi.python.org/pypi/virtualenv
|
||||||
Source0: https://files.pythonhosted.org/packages/7c/46/4d4c37b6d96eb06961f8b2f38f7df12bb1a4951ff1145ac5dead9977e674/virtualenv-20.4.7.tar.gz
|
Source0: %{pypi_source %{pypi_name}}
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3-appdirs python3-distlib python3-filelock python3-six
|
BuildRequires: python3-distlib python3-filelock
|
||||||
BuildRequires: python3-devel python3-setuptools_scm python3-setuptools
|
BuildRequires: python3-devel python3-setuptools
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-editables
|
||||||
|
BuildRequires: python3-hatch-vcs
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Virtualenv is a tool to create isolated Python environments. Since Python
|
Virtualenv is a tool to create isolated Python environments. Since Python
|
||||||
@ -23,33 +28,41 @@ Python versions and some more advanced features.
|
|||||||
|
|
||||||
%package -n python3-virtualenv
|
%package -n python3-virtualenv
|
||||||
Summary: Tool to create isolated Python environments
|
Summary: Tool to create isolated Python environments
|
||||||
Requires: python3-setuptools python3-appdirs
|
Requires: python3-setuptools
|
||||||
Requires: python3-distlib python3-filelock python3-six
|
Requires: python3-distlib python3-filelock
|
||||||
%{?python_provide:%python_provide python3-virtualenv}
|
%{?python_provide:%python_provide python3-virtualenv}
|
||||||
Provides: virtualenv = %{version}-%{release}
|
Provides: virtualenv = %{version}-%{release}
|
||||||
Requires: python-pip-wheel python-setuptools-wheel python-wheel-wheel
|
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}
|
Obsoletes: python3-virtualenv-python26 < %{version}-%{release}
|
||||||
|
|
||||||
%description -n python3-virtualenv
|
%description -n python3-%{pypi_name}
|
||||||
virtualenv support in python3.
|
virtualenv support in python3.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n virtualenv-%{version} -p1
|
%autosetup -n %{pypi_name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%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
|
%license LICENSE
|
||||||
%doc docs/*rst PKG-INFO
|
%doc README.md
|
||||||
%{python3_sitelib}/virtualenv*
|
|
||||||
%{_bindir}/virtualenv
|
%{_bindir}/virtualenv
|
||||||
|
%{python3_sitelib}/%{pypi_name}
|
||||||
|
%{python3_sitelib}/%{pypi_name}*.dist-info/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Tue May 16 2023 shixuantong <shixuantong1@huawei.com> - 20.4.7-2
|
||||||
- remove python3-virtualenv-python26
|
- remove python3-virtualenv-python26
|
||||||
|
|
||||||
|
|||||||
BIN
virtualenv-20.23.0.tar.gz
Normal file
BIN
virtualenv-20.23.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user