From 5486c0fed00015aab168d214b3d3e19c3a0634f7 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 8 Mar 2019 00:34:17 +0000 Subject: system/python3: modernise --- system/python3/APKBUILD | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/system/python3/APKBUILD b/system/python3/APKBUILD index 511f73430..abfc78b55 100644 --- a/system/python3/APKBUILD +++ b/system/python3/APKBUILD @@ -46,7 +46,6 @@ builddir="$srcdir/Python-$pkgver" prepare() { default_prepare - cd "$builddir" # force system libs rm -r Modules/expat \ Modules/zlib \ @@ -55,8 +54,6 @@ prepare() { } build() { - cd "$builddir" - # --enable-optimizations is not enabled because it # is very, very slow as many tests are ran sequentially # for profile guided optimizations. additionally it @@ -83,8 +80,6 @@ build() { } check() { - cd "$builddir" - # test that we reach recursionlimit before we segfault cat > test-stacksize.py <<-EOF import threading @@ -130,7 +125,6 @@ EOF } package() { - cd "$builddir" make -j1 DESTDIR="$pkgdir" EXTRA_CFLAGS="$CFLAGS" install maninstall install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE # those are provided by python3-tkinter @@ -148,7 +142,7 @@ dev() { } tests() { - pkgdesc="The test modules from the main python package" + pkgdesc="Test modules from the main Python package" cd "$pkgdir"/usr/lib/python$_basever local i; for i in */test */tests; do -- cgit v1.2.3-60-g2f50