aboutsummaryrefslogtreecommitdiffstats
path: root/testing/python3
diff options
context:
space:
mode:
Diffstat (limited to 'testing/python3')
-rw-r--r--testing/python3/APKBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/python3/APKBUILD b/testing/python3/APKBUILD
index 8b3a193cd7..5fe37f9099 100644
--- a/testing/python3/APKBUILD
+++ b/testing/python3/APKBUILD
@@ -55,6 +55,14 @@ _mv_files() {
mv "$pkgdir"/usr/lib/python$_pkgver/test "$subpkgdir"/usr/lib/python$_pkgver
}
+dev() {
+ # pyconfig.h is needed runtime so we move it back
+ default_dev
+ mkdir -p "$pkgdir"/usr/include/python${_pkgver}m
+ mv "$subpkgdir"/usr/include/python${_pkgver}m/pyconfig.h \
+ "$pkgdir"/usr/include/python${_pkgver}m/
+}
+
tests() {
pkgdesc="The test modules from the main python package"
arch="noarch"