update to 20.8.0 [release 20.8.0-1mamba;Sat Sep 18 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 16:50:43 +01:00
parent e7122bad5d
commit c8efa519a2
2 changed files with 33 additions and 18 deletions

View File

@ -1,3 +1,4 @@
# python-virtualenv
virtualenv is a tool to create isolated Python environments.

View File

@ -1,5 +1,5 @@
Name: python-virtualenv
Version: 20.7.2
Version: 20.8.0
Release: 1mamba
Summary: Virtual Python Environment builder
Group: System/Libraries/Python
@ -10,44 +10,50 @@ URL: https://virtualenv.pypa.io/en/latest/
Source: http://pypi.debian.net/virtualenv/virtualenv-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(backports.entry-points-selectable)
BuildRequires: python3.7dist(distlib)
BuildRequires: python3.7dist(filelock)
BuildRequires: python3.7dist(importlib-metadata)
BuildRequires: python3.7dist(platformdirs)
BuildRequires: python3.7dist(setuptools)
BuildRequires: python3.7dist(six)
## AUTOBUILDREQ-END
BuildRequires: help2man
Requires: python3 >= %python3_version
Requires: libpython3-devel
Requires: python-appdirs-py3
Requires: python-distlib-py3
Requires: python-filelock-py3
Requires: python-importlib_metadata-py3
Requires: python-setuptools-py3
Requires: python-zipp-py3
Provides: python-virtualenv-py3
Obsoletes: python-virtualenv-py3 < 20.4.0
Obsoletes: python-virtualenv-py36 < 20.4.0
BuildArch: noarch
%description
virtualenv is a tool to create isolated Python environments.
#% if "%{?with_pyver}"
#% pyver_package
#% endif
%if "%{?with_pyver}"
%define py_requires_append \
Provides: python-virtualenv \
Obsoletes: python-virtualenv <= 20.7.2-1mamba \
Obsoletes: python-virtualenv-py36 < 20.4.0
%pyver_package
%endif
%prep
%setup -q -n virtualenv-%{version}
# Removed unsatisfyable requirement versions
sed -i "s|platformdirs.*|platformdirs|" setup.cfg
sed -i "s|backports.entry_points_selectable.*|backports.entry_points_selectable|" setup.cfg
%build
%{__python3} setup.py build
%{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python3} setup.py install \
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python3_sitearch} \
--install-lib=%{python_sitearch} \
--single-version-externally-managed \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
install -d %{buildroot}%{_mandir}/man1
#help2man \
@ -78,8 +84,16 @@ install -d %{buildroot}%{_mandir}/man1
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/virtualenv-%{version}-py*.egg-info
%{python_sitearch}/virtualenv-%{version}-py*.egg-info/*
%changelog
* Sat Sep 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20.8.0-1mamba
- update to 20.8.0
* Tue Aug 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20.7.2-2mamba
- rebuilt with distdeps
* Wed Aug 11 2021 Automatic Build System <autodist@mambasoft.it> 20.7.2-1mamba
- automatic version update by autodist