import python2-pip-9.0.3-14.module+el8.1.0+3446+c3d52da3
This commit is contained in:
parent
f2dcb508bb
commit
d113f1be9c
@ -4,6 +4,7 @@
|
||||
|
||||
%global srcname pip
|
||||
%global python_wheelname %{srcname}-%{version}-py2.py3-none-any.whl
|
||||
%global python2_wheeldir %{_datadir}/python2-wheels
|
||||
%if %{without bootstrap}
|
||||
%global python2_wheelname %python_wheelname
|
||||
%endif
|
||||
@ -18,7 +19,7 @@
|
||||
Name: python2-%{srcname}
|
||||
# When updating, update the bundled libraries versions bellow!
|
||||
Version: 9.0.3
|
||||
Release: 13%{?dist}
|
||||
Release: 14%{?dist}
|
||||
Summary: A tool for installing and managing Python 2 packages
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -142,6 +143,33 @@ A documentation for a tool for installing and managing Python packages
|
||||
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
%package -n python2-pip-wheel
|
||||
Summary: The pip wheel
|
||||
|
||||
# Virtual provides for the packages bundled by pip.
|
||||
# You can find the versions in pip/_vendor/vendor.txt file.
|
||||
Provides: bundled(python2dist(appdirs)) = 1.4.0
|
||||
Provides: bundled(python2dist(cachecontrol)) = 0.11.7
|
||||
Provides: bundled(python2dist(colorama)) = 0.3.7
|
||||
Provides: bundled(python2dist(distlib)) = 0.2.4
|
||||
Provides: bundled(python2dist(distro)) = 1.0.1
|
||||
Provides: bundled(python2dist(html5lib)) = 1.0b10
|
||||
Provides: bundled(python2dist(ipaddress) = 1.0.17
|
||||
Provides: bundled(python2dist(lockfile)) = 0.12.2
|
||||
Provides: bundled(python2dist(packaging)) = 16.8
|
||||
Provides: bundled(python2dist(setuptools)) = 28.8.0
|
||||
Provides: bundled(python2dist(progress)) = 1.2
|
||||
Provides: bundled(python2dist(pyparsing)) = 2.1.10
|
||||
Provides: bundled(python2dist(requests)) = 2.11.1
|
||||
Provides: bundled(python2dist(retrying)) = 1.3.3
|
||||
Provides: bundled(python2dist(six)) = 1.10.0
|
||||
Provides: bundled(python2dist(webencodings)) = 0.5
|
||||
|
||||
%description -n python2-pip-wheel
|
||||
A Python wheel of pip to use with venv.
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{srcname}-%{version}
|
||||
@ -228,6 +256,11 @@ mkdir -p %{buildroot}%{python2_sitelib}/pip-%{version}.dist-info
|
||||
echo rpm > %{buildroot}%{python2_sitelib}/pip-%{version}.dist-info/INSTALLER
|
||||
|
||||
|
||||
%if %{without bootstrap}
|
||||
mkdir -p %{buildroot}%{python2_wheeldir}
|
||||
install -p dist/%{python2_wheelname} -t %{buildroot}%{python2_wheeldir}
|
||||
%endif
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
export RHEL_ALLOW_PYTHON2_FOR_BUILD=1
|
||||
@ -259,10 +292,22 @@ py.test-%{python2_version} -m 'not network'
|
||||
%doc docs/_build/html
|
||||
%endif # with doc
|
||||
|
||||
%if %{without bootstrap}
|
||||
%files -n python2-pip-wheel
|
||||
%license LICENSE.txt
|
||||
# we own the dir for simplicity
|
||||
%dir %{python2_wheeldir}/
|
||||
%{python2_wheeldir}/%{python2_wheelname}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Apr 03 2019 Tomas Orsava <torsava@redhat.com> - 9.0.3-13
|
||||
- Bumping due to problems with modular RPM upgrade path (#1695587)
|
||||
- Related: rhbz#1693974
|
||||
* Tue Jun 18 2019 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-14
|
||||
- Create the python-pip-wheel subpackage
|
||||
Resolves: rhbz#1659551
|
||||
|
||||
* Thu Apr 25 2019 Tomas Orsava <torsava@redhat.com> - 9.0.3-13
|
||||
- Bumping due to problems with modular RPM upgrade path
|
||||
- Resolves: rhbz#1695587
|
||||
|
||||
* Mon Dec 10 2018 Tomas Orsava <torsava@redhat.com> - 9.0.3-12
|
||||
- Do not show the "new version of pip" warning outside of venv
|
||||
|
Loading…
Reference in New Issue
Block a user