aboutsummaryrefslogtreecommitdiffstats
path: root/main/python3/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/python3/APKBUILD')
-rw-r--r--main/python3/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/python3/APKBUILD b/main/python3/APKBUILD
index a5e22b73ad..f5f8138527 100644
--- a/main/python3/APKBUILD
+++ b/main/python3/APKBUILD
@@ -4,14 +4,14 @@
pkgname=python3
pkgver=3.6.2
_basever="${pkgver%.*}"
-pkgrel=2
+pkgrel=3
pkgdesc="A high-level scripting language"
url="http://www.python.org"
arch="all"
license="custom"
provides="py3-pip"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tests::noarch
- $pkgname-tkinter:tkinter"
+ $pkgname-tkinter:tkinter $pkgname-wininst"
makedepends="expat-dev libressl-dev zlib-dev ncurses-dev bzip2-dev xz-dev
sqlite-dev libffi-dev tcl-dev linux-headers gdbm-dev readline-dev
tk tk-dev"
@@ -121,6 +121,13 @@ tkinter() {
mv "$pkgdir"/$libdir/_tkinter.*.so "$subpkgdir"/$libdir/
}
+wininst() {
+ pkgdesc="Python wininst files"
+ mkdir -p "$subpkgdir"/usr/lib/python$_basever/distutils/command
+ mv "$pkgdir"/usr/lib/python$_basever/distutils/command/*.exe \
+ "$subpkgdir"/usr/lib/python$_basever/distutils/command
+}
+
sha512sums="a8270a09a9e9b39f69ece6cdade2fa964665d2107b5acbad4453f1b921107b329c697c137185928fb4a576fc0f2ae2a98dbf26a8b7ea17219e990ddbc216db8b Python-3.6.2.tar.xz
ab8eaa2858d5109049b1f9f553198d40e0ef8d78211ad6455f7b491af525bffb16738fed60fc84e960c4889568d25753b9e4a1494834fea48291b33f07000ec2 musl-find_library.patch
37b6ee5d0d5de43799316aa111423ba5a666c17dc7f81b04c330f59c1d1565540eac4c585abe2199bbed52ebe7426001edb1c53bd0a17486a2a8e052d0f494ad fix-xattrs-glibc.patch