summaryrefslogtreecommitdiff
path: root/python3-packaging
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2017-03-04 14:21:01 +1100
committerDanny Rawlins <monster.romster@gmail.com>2017-03-04 14:21:28 +1100
commitf00e8cd02ebadcbf8a07e8c3a01cbe9232f16e4d (patch)
treea329762d5ec3c5770544b640b4b4930a8bc8e117 /python3-packaging
parent123579bea284fdc3dcabb0a95260806b15f9fbd2 (diff)
downloadopt-f00e8cd02ebadcbf8a07e8c3a01cbe9232f16e4d.tar.gz
opt-f00e8cd02ebadcbf8a07e8c3a01cbe9232f16e4d.tar.xz
python ports: FS#1380 - fix for python-pip related packages
Diffstat (limited to 'python3-packaging')
-rw-r--r--python3-packaging/Pkgfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/python3-packaging/Pkgfile b/python3-packaging/Pkgfile
index a38a91ff8..39ef7275d 100644
--- a/python3-packaging/Pkgfile
+++ b/python3-packaging/Pkgfile
@@ -14,6 +14,7 @@ build() {
if [ "$(pkginfo -i | egrep -c '^python3-(setuptools|appdirs|pyparsing|six|pip|packaging) ')" != 6 ]; then
install -d build
+ sed -i 's/"--upgrade"/"--upgrade", "--upgrade-strategy", "only-if-needed"/' $SRC/get-pip.py
/usr/bin/python3 $SRC/get-pip.py --root=$SRC/build
local PYTHONVERSION=$(/usr/bin/python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])')

Generated by cgit