aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-setuptools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/py3-setuptools/APKBUILD')
-rw-r--r--main/py3-setuptools/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/py3-setuptools/APKBUILD b/main/py3-setuptools/APKBUILD
index 5302b07311..3e3edc2617 100644
--- a/main/py3-setuptools/APKBUILD
+++ b/main/py3-setuptools/APKBUILD
@@ -4,8 +4,11 @@
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-setuptools
_pkgname=${pkgname#py3-}
+# Be very careful when upgrading major versions as upstream
+# is prone to deprecating stuff that breaks perfectly acceptable
+# setup.py and setup.cfg
pkgver=52.0.0
-pkgrel=0
+pkgrel=3
pkgdesc="Collection of enhancements to the Python3 distutils"
options="!check" # Tests require packages out of main/
url="https://pypi.python.org/pypi/setuptools"
@@ -55,6 +58,10 @@ build() {
}
package() {
+ # Otherwise it complains that build/scripts-3.9 cannot be found
+ # no other changes noted
+ mkdir -p build/scripts-3.9
+
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="f397181a94d1bd3afbf2d1279554df9d448af963886c53ab391eeb6482a4fc6baf9434b5c6a8da36ae0e1d8f5274c93cb2b37d996112880cb2bad8c7767ac1b1 setuptools-52.0.0.tar.gz"