forked from pool/python-pip
- Add patch to build with pytest5, also sent upstream:
* pytest5.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=68
This commit is contained in:
committed by
Git OBS Bridge
parent
34466b4ae2
commit
4662065a62
@@ -34,6 +34,7 @@ Group: Development/Languages/Python
|
||||
URL: http://www.pip-installer.org
|
||||
Source: pip-%{version}.tar.xz
|
||||
Patch0: pip-shipped-requests-cabundle.patch
|
||||
Patch1: pytest5.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -71,6 +72,7 @@ pip-installable as well.
|
||||
%prep
|
||||
%setup -q -n pip-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -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
|
||||
|
Reference in New Issue
Block a user