rebuilt with python dist deps; restore -py36 subpackage [release 21.0.1-2mamba;Thu Mar 18 2021]
This commit is contained in:
parent
2197890426
commit
96b450f931
@ -1,6 +1,6 @@
|
|||||||
Name: python-pip
|
Name: python-pip
|
||||||
Version: 21.0.1
|
Version: 21.0.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A tool for installing and managing Python packages
|
Summary: A tool for installing and managing Python packages
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -10,25 +10,28 @@ URL: https://www.pip-installer.org/
|
|||||||
Source: http://pypi.debian.net/pip/pip-%{version}.tar.gz
|
Source: http://pypi.debian.net/pip/pip-%{version}.tar.gz
|
||||||
License: MIT
|
License: MIT
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: python3
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: python-setuptools-py3
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libpython3-devel >= 3.7.4
|
|
||||||
Requires: python-setuptools
|
|
||||||
Requires: python >= %python_version
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
pip is a tool for installing and managing Python packages, such as those found in the Python Package Index. It’s a replacement for easy_install.
|
pip is a tool for installing and managing Python packages, such as those found in the Python Package Index. It’s a replacement for easy_install.
|
||||||
|
|
||||||
%if "%{?with_pyver}"
|
%if "%{?with_pyver}" != ""
|
||||||
|
%if "%{?with_pyver}" == "3"
|
||||||
%define py_requires_append \
|
%define py_requires_append \
|
||||||
Requires: python-setuptools%{?pyappend:-%pyappend} \
|
Requires: python-setuptools%{?pyappend:-%pyappend} \
|
||||||
Provides: pip \
|
Provides: pip \
|
||||||
Provides: python-pip \
|
Provides: python-pip \
|
||||||
Obsoletes: python-pip < 20.3 \
|
Obsoletes: python-pip < 20.3
|
||||||
Obsoletes: python-pip-py36 <= 20.3
|
|
||||||
%pyver_package
|
%pyver_package
|
||||||
%endif
|
%endif
|
||||||
|
%if "%{?with_pyver}" != "3"
|
||||||
|
%define py_requires_append \
|
||||||
|
Requires: python-setuptools%{?pyappend:-%pyappend}
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pip-%{version}
|
%setup -q -n pip-%{version}
|
||||||
@ -46,21 +49,24 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
--single-version-externally-managed \
|
--single-version-externally-managed \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
#%if "%{?pyappend}"
|
%if "%{?with_pyver}" != "3"
|
||||||
#rm -f %{buildroot}%{_bindir}/pip
|
rm -f %{buildroot}%{_bindir}/pip
|
||||||
#sed -i "\,%{_bindir}/pip$,d" %{name}.filelist
|
sed -i "\,%{_bindir}/pip$,d" %{name}.filelist
|
||||||
#%endif
|
rm -f %{buildroot}%{_bindir}/pip3
|
||||||
|
sed -i "\,%{_bindir}/pip3$,d" %{name}.filelist
|
||||||
%posttrans %{?pyappend}
|
%endif
|
||||||
find %{python_sitearch}/*.egg-info -type d -empty -exec rmdir {} \;
|
|
||||||
:
|
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%dir %{python_sitearch}/pip-%{version}-py*.egg-info
|
||||||
|
%{python_sitearch}/pip-%{version}-py*.egg-info/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 21.0.1-2mamba
|
||||||
|
- rebuilt with python dist deps; restore -py36 subpackage
|
||||||
|
|
||||||
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 21.0.1-1mamba
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 21.0.1-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user