forked from pool/python-pip
Accepting request 673419 from home:frispete:python
- Update to 19.0.2 (2019-02-09):
+ Bug Fixes
* Fix a crash where PEP 517-based builds using --no-cache-dir
would fail in some circumstances with an AssertionError due
to not finalizing a build directory internally. (#6197)
* Provide a better error message if attempting an editable
install of a directory with a pyproject.toml but no setup.py.
(#6170)
* The implicit default backend used for projects that provide a
pyproject.toml file without explicitly specifying build-
backend now behaves more like direct execution of setup.py,
and hence should restore compatibility with projects that
were unable to be installed with pip 19.0. This raised the
minimum required version of setuptools for such builds to
40.8.0. (#6163)
* Allow RECORD lines with more than three elements, and display
a warning. (#6165)
* AdjacentTempDirectory fails on unwritable directory instead
of locking up the uninstall command. (#6169)
* Make failed uninstalls roll back more reliably and better at
avoiding naming conflicts. (#6194)
* Ensure the correct wheel file is copied when building PEP 517
distribution is built. (#6196)
* The Python 2 end of life warning now only shows on CPython,
which is the implementation that has announced end of life
plans. (#6207)
+ Improved Documentation
* Re-write README and documentation index (#5815)
- Update to 19.0.1 (2019-01-23):
+ Bug Fixes
OBS-URL: https://build.opensuse.org/request/show/673419
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=60
This commit is contained in:
committed by
Git OBS Bridge
parent
a79f74f347
commit
e1e06c37b8
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pip
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -21,14 +21,14 @@
|
||||
# enable testing with a build conditional (off by default):
|
||||
%bcond_with test
|
||||
Name: python-pip
|
||||
Version: 18.1
|
||||
Version: 19.0.2
|
||||
Release: 0
|
||||
Summary: Pip installs packages. Python packages. An easy_install replacement
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: http://www.pip-installer.org
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pip/pip-%{version}.tar.gz
|
||||
Patch0: pip-8.1.2-shipped-requests-cabundle.patch
|
||||
Patch0: pip-shipped-requests-cabundle.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -60,9 +60,10 @@ pip-installable as well.
|
||||
%prep
|
||||
%setup -q -n pip-%{version}
|
||||
%patch0 -p1
|
||||
find src/pip/_vendor -name *.py -exec \
|
||||
sed -i "s|#!%{_bindir}/env python||g" {} ";" # Fix non-executable script
|
||||
#sed -i "s|#!/usr/bin/env python||g" pip/__init__.py # Fix non-executable script
|
||||
# remove shebangs verbosely (if only sed would offer a verbose mode...)
|
||||
for f in $(find src -name \*.py -exec grep -l '^#!/usr/bin/env' {} \;); do
|
||||
sed -i 's|^#!/usr/bin/env .*$||g' $f
|
||||
done
|
||||
rm src/pip/_vendor/certifi/cacert.pem
|
||||
|
||||
%build
|
||||
|
||||
Reference in New Issue
Block a user