diff --git a/README.md b/README.md index 72ff7d1..51fe9e1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ # python-virtualenv virtualenv is a tool to create isolated Python environments. + diff --git a/python-virtualenv.spec b/python-virtualenv.spec index 8d9aeb5..10338d0 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -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 20.8.0-1mamba +- update to 20.8.0 + +* Tue Aug 31 2021 Silvan Calarco 20.7.2-2mamba +- rebuilt with distdeps + * Wed Aug 11 2021 Automatic Build System 20.7.2-1mamba - automatic version update by autodist