diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-08-26 13:34:27 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-08-26 17:53:19 +0000 |
commit | 77ace1b99d1dc39d02b2b67ebbd040659feea80c (patch) | |
tree | 7baeeb9e0adffbc7e51d289bb68313273b92689c /main/python3 | |
parent | ce4635772ba5d1a875a823e8282446a9a5d5dfb4 (diff) | |
download | aports-77ace1b99d1dc39d02b2b67ebbd040659feea80c.tar.bz2 aports-77ace1b99d1dc39d02b2b67ebbd040659feea80c.tar.xz |
main/python3: add subpackage py3-tkinter
Diffstat (limited to 'main/python3')
-rw-r--r-- | main/python3/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/main/python3/APKBUILD b/main/python3/APKBUILD index 188c09c737..e53e4fe37b 100644 --- a/main/python3/APKBUILD +++ b/main/python3/APKBUILD @@ -4,15 +4,16 @@ pkgname=python3 pkgver=3.5.2 _basever="${pkgver%.*}" -pkgrel=1 +pkgrel=2 pkgdesc="A high-level scripting language" url="http://www.python.org" arch="all" license="custom" -subpackages="$pkgname-dev $pkgname-doc $pkgname-tests" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tests py3-tkinter:tkinter" depends="" makedepends="expat-dev openssl-dev zlib-dev ncurses-dev bzip2-dev xz-dev - sqlite-dev libffi-dev tcl-dev linux-headers gdbm-dev readline-dev" + sqlite-dev libffi-dev tcl-dev linux-headers gdbm-dev readline-dev + tk tk-dev" source="http://www.python.org/ftp/python/$pkgver/Python-$pkgver.tar.xz" builddir="$srcdir/Python-$pkgver" @@ -80,6 +81,14 @@ tests() { "$subpkgdir"/usr/lib/python$_basever/ } +tkinter() { + pkgdesc="A graphical user interface for the Python" + local libdir="usr/lib/python$_basever/lib-dynload" + + mkdir -p "$subpkgdir"/$libdir + mv "$pkgdir"/$libdir/_tkinter.*.so "$subpkgdir"/$libdir/ +} + md5sums="8906efbacfcdc7c3c9198aeefafd159e Python-3.5.2.tar.xz" sha256sums="0010f56100b9b74259ebcd5d4b295a32324b58b517403a10d1a2aa7cb22bca40 Python-3.5.2.tar.xz" sha512sums="c07c3366f1c81e214241444bb9da6db9d11da32ad66bfa29cdad5a3b2e34e4d870bda6d4ce3c3910b582942e91f1d8c8a1c1a7b9464cc147b83c9e0007012742 Python-3.5.2.tar.xz" |