python3-urllib3: fix path for new python versions

This commit is contained in:
Danny Rawlins 2019-03-08 14:15:03 +11:00
parent 9ef2a07dcd
commit d193b48d51
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30ZgoOB6F/MRFoW50mOiKGtTqH9NfnzCeoRkQhjJiSsTjThx8O7OWTjJlAZZyOA1hWEX4jg/RVckIWN1qypZbQo=
SHA256 (Pkgfile) = bd1a96f1c52b5e45c08b0f3432f68453caa22268bdf9e49b8753a1eff3d1cfdf
RWSagIOpLGJF35SijGGT+a62aW9X0koq0hWIU9hhUekgHgjM3XjYo3nDES5BatyogQhFwlsJCvz9sWve0hq/nkekt1wttneg9wg=
SHA256 (Pkgfile) = b037134fe99483b2bc5ce41fb4fdb90ac910c79999e694f14dc62795ab0aef18
SHA256 (.footprint) = 9b4e5cedd71d6175cc4a4a26f9eea215a17aaeb4ef905f7b0be1c0cf1634d649
SHA256 (urllib3-1.23.tar.gz) = a68ac5e15e76e7e5dd2b8f94007233e01effe3e50e8daddf69acfd81cb686baf

View File

@ -12,5 +12,5 @@ build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
chmod -R o-w $PKG/usr/lib/python3.6/site-packages/
chmod -R o-w $PKG/usr/lib/python*/site-packages/
}