diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-08 00:34:17 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-08 00:34:17 +0000 |
commit | 5486c0fed00015aab168d214b3d3e19c3a0634f7 (patch) | |
tree | 5815c269df5afcdfe468f737ab93d5bbee06b886 | |
parent | 7c67662d8f8dfb2f1d1a9262fd0679b833654e17 (diff) | |
download | packages-5486c0fed00015aab168d214b3d3e19c3a0634f7.tar.gz packages-5486c0fed00015aab168d214b3d3e19c3a0634f7.tar.bz2 packages-5486c0fed00015aab168d214b3d3e19c3a0634f7.tar.xz packages-5486c0fed00015aab168d214b3d3e19c3a0634f7.zip |
system/python3: modernise
-rw-r--r-- | system/python3/APKBUILD | 8 |
1 files changed, 1 insertions, 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 |