Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
python39-pip
python39-pip.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python39-pip.spec of Package python39-pip
# # spec file for package python39-pip # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define python39_sitelib %{_prefix}/lib/python3.9/site-packages Name: python39-pip Version: 20.2.4 Release: 0 Summary: A Python package management system License: MIT Group: Development/Languages/Python URL: http://www.pip-installer.org Source: https://github.com/pypa/pip/archive/%{version}.tar.gz # PATCH-FIX-OPENSUSE pip-shipped-requests-cabundle.patch -- adapted patch from python-certifi package Patch0: pip-shipped-requests-cabundle.patch # PATCH-FIX-UPSTREAM CVE-2021-3572-split-unicode-separators.patch bsc#1186819 mcepl@suse.com # Don't split git references on unicode separators Patch1: CVE-2021-3572-split-unicode-separators.patch BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python39-setuptools Requires: ca-certificates Requires: coreutils Requires: python39-setuptools Recommends: ca-certificates-mozilla BuildArch: noarch %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 %setup -q -n pip-%{version} %autopatch -p1 # remove shebangs verbosely (if only sed would offer a verbose mode...) for f in $(find src -name \*.py -exec grep -l '^#!%{_bindir}/env' {} \;); do sed -i 's|^#!%{_bindir}/env .*$||g' $f done rm -fv src/pip/_vendor/certifi/cacert.pem %build python3.9 setup.py build --executable=%{_bindir}/python3.9 %install python3.9 setup.py install -O1 --skip-build --force \ --root %{buildroot} --prefix %{_prefix} mv -v %{buildroot}%{_bindir}/pip{3,3.9} rm -v %{buildroot}%{_bindir}/pip %fdupes %{buildroot}%{python39_sitelib} %files %defattr(-,root,root) %license LICENSE.txt %doc AUTHORS.txt NEWS.rst README.rst %ghost %{_sysconfdir}/alternatives/pip %{_bindir}/pip3.9 %{python39_sitelib}/pip-%{version}-py*.egg-info %{python39_sitelib}/pip %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