Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alvistack
pypa-pip-21.3.1
python-pip_21.3.1-1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pip_21.3.1-1.spec of Package pypa-pip-21.3.1
# Copyright 2024 Wong Hoi Sing Edison <hswong3i@pantarei-design.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. %global debug_package %{nil} %global source_date_epoch_from_changelog 0 Name: python-pip Epoch: 100 Version: 21.3.1 Release: 1%{?dist} BuildArch: noarch Summary: Python package management system License: MIT URL: https://github.com/pypa/pip/tags Source0: %{name}_%{version}.orig.tar.gz BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-wheel %description Pip is a replacement for easy_install. It uses mostly the same techniques for finding packages, so packages that were made easy_installable should be pip-installable as well. %prep %autosetup -T -c -n %{name}_%{version}-%{release} tar -zx -f %{S:0} --strip-components=1 -C . %build %py3_build python3 setup.py bdist_wheel %install %py3_install %if 0%{?suse_version} > 1500 install -Dpm755 -d %{buildroot}%{python3_sitelib}/../wheels install -Dpm644 -t %{buildroot}%{python3_sitelib}/../wheels dist/*.whl %endif %if 0%{?rhel} >= 7 install -Dpm755 -d %{buildroot}%{_datarootdir}/%{python3_version}-wheels install -Dpm644 -t %{buildroot}%{_datarootdir}/%{python3_version}-wheels dist/*.whl %endif %if !(0%{?suse_version} > 1500) && !(0%{?rhel} >= 7) install -Dpm755 -d %{buildroot}%{_datarootdir}/python-wheels install -Dpm644 -t %{buildroot}%{_datarootdir}/python-wheels dist/*.whl %endif find %{buildroot}%{python3_sitelib} -type f -name '*.pyc' -exec rm -rf {} \; fdupes -qnrps %{buildroot}%{python3_sitelib} %check %if 0%{?suse_version} > 1500 %package -n python%{python_version_nodots}-pip Summary: Python package management system Requires: ca-certificates Requires: python3 Requires: python3-distutils-extra Requires: python3-setuptools Requires: python3-wheel Provides: python3-pip = %{epoch}:%{version}-%{release} Provides: python3dist(pip) = %{epoch}:%{version}-%{release} Provides: python%{python3_version}-pip = %{epoch}:%{version}-%{release} Provides: python%{python3_version}dist(pip) = %{epoch}:%{version}-%{release} Provides: python%{python3_version_nodots}-pip = %{epoch}:%{version}-%{release} Provides: python%{python3_version_nodots}dist(pip) = %{epoch}:%{version}-%{release} %description -n python%{python_version_nodots}-pip Pip is a replacement for easy_install. It uses mostly the same techniques for finding packages, so packages that were made easy_installable should be pip-installable as well. %package -n python%{python_version_nodots}-pip-wheel Summary: The pip wheel Requires: ca-certificates %description -n python%{python_version_nodots}-pip-wheel A Python wheel of pip to use with venv. %files -n python%{python_version_nodots}-pip %license LICENSE.txt %{_bindir}/* %{python3_sitelib}/* %files -n python%{python_version_nodots}-pip-wheel %dir %{python3_sitelib}/../wheels %{python3_sitelib}/../wheels/*.whl %endif %if 0%{?rhel} >= 7 %package -n platform-python-pip Summary: Python package management system Requires: ca-certificates Requires: python3 Requires: python3-distutils-extra Requires: python3-setuptools Requires: python3-wheel Conflicts: platform-python-pip < %{epoch}:%{version}-%{release} Conflicts: python3-pip < %{epoch}:%{version}-%{release} %description -n platform-python-pip Pip is a replacement for easy_install. It uses mostly the same techniques for finding packages, so packages that were made easy_installable should be pip-installable as well. %package -n python3-pip Summary: Python package management system Requires: platform-python-pip = %{epoch}:%{version}-%{release} Provides: python3-pip = %{epoch}:%{version}-%{release} Provides: python3dist(pip) = %{epoch}:%{version}-%{release} Provides: python%{python3_version}-pip = %{epoch}:%{version}-%{release} Provides: python%{python3_version}dist(pip) = %{epoch}:%{version}-%{release} Provides: python%{python3_version_nodots}-pip = %{epoch}:%{version}-%{release} Provides: python%{python3_version_nodots}dist(pip) = %{epoch}:%{version}-%{release} %description -n python3-pip Pip is a replacement for easy_install. It uses mostly the same techniques for finding packages, so packages that were made easy_installable should be pip-installable as well. %package -n python3-pip-wheel Summary: The pip wheel Requires: ca-certificates %description -n python3-pip-wheel A Python wheel of pip to use with venv. %files -n platform-python-pip %license LICENSE.txt %{_bindir}/* %{python3_sitelib}/* %files -n python3-pip %license LICENSE.txt %files -n python3-pip-wheel %dir %{_datarootdir}/%{python3_version}-wheels %{_datarootdir}/%{python3_version}-wheels/*.whl %endif %if !(0%{?suse_version} > 1500) && !(0%{?rhel} >= 7) %package -n python3-pip Summary: Python package management system Requires: ca-certificates Requires: python3 Requires: python3-distutils-extra Requires: python3-setuptools Requires: python3-wheel Provides: python3-pip = %{epoch}:%{version}-%{release} Provides: python3dist(pip) = %{epoch}:%{version}-%{release} Provides: python%{python3_version}-pip = %{epoch}:%{version}-%{release} Provides: python%{python3_version}dist(pip) = %{epoch}:%{version}-%{release} Provides: python%{python3_version_nodots}-pip = %{epoch}:%{version}-%{release} Provides: python%{python3_version_nodots}dist(pip) = %{epoch}:%{version}-%{release} %description -n python3-pip Pip is a replacement for easy_install. It uses mostly the same techniques for finding packages, so packages that were made easy_installable should be pip-installable as well. %package -n python-pip-wheel Summary: The pip wheel Requires: ca-certificates %description -n python-pip-wheel A Python wheel of pip to use with venv. %files -n python3-pip %license LICENSE.txt %{_bindir}/* %{python3_sitelib}/* %files -n python-pip-wheel %dir %{_datarootdir}/python-wheels %{_datarootdir}/python-wheels/*.whl %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor