aboutsummaryrefslogtreecommitdiffstats
path: root/main/python2
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-08-26 12:56:42 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-26 14:36:25 +0200
commit4be45f38c045321c399290136396ac3c2a48af3d (patch)
tree739f90d3bd7d50efdc7aa710d108613f6b0f6835 /main/python2
parente77716b0335b356cfe2f7e2797807b9fd9d22213 (diff)
downloadaports-4be45f38c045321c399290136396ac3c2a48af3d.tar.bz2
aports-4be45f38c045321c399290136396ac3c2a48af3d.tar.xz
main/python2: add subpackage py2-tkinter
Diffstat (limited to 'main/python2')
-rw-r--r--main/python2/APKBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/main/python2/APKBUILD b/main/python2/APKBUILD
index 190367e1f8..032835dbd3 100644
--- a/main/python2/APKBUILD
+++ b/main/python2/APKBUILD
@@ -2,7 +2,7 @@
pkgname=python2
pkgver=2.7.12
_verbase=${pkgver%.*}
-pkgrel=2
+pkgrel=3
pkgdesc="A high-level scripting language"
url="http://www.python.org"
arch="all"
@@ -10,10 +10,11 @@ license="custom"
provides="python=$pkgver-r$pkgrel"
replaces="python"
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-tests
- py2-gdbm:gdbm"
+ py-gdbm:gdbm py2-tkinter:tkinter"
depends=""
makedepends="expat-dev openssl-dev zlib-dev ncurses-dev bzip2-dev
- gdbm-dev sqlite-dev libffi-dev readline-dev linux-headers paxmark"
+ gdbm-dev sqlite-dev libffi-dev readline-dev linux-headers paxmark
+ tk tk-dev"
source="http://www.python.org/ftp/python/$pkgver/Python-$pkgver.tar.xz
musl-find_library.patch
unchecked-ioctl.patch"
@@ -100,6 +101,13 @@ gdbm() {
_mv_files $(find usr/lib -name '*gdbm*')
}
+tkinter() {
+ pkgdesc="A graphical user interface for the Python"
+ replaces="py-tkinter"
+
+ _mv_files usr/lib/python$_verbase/lib-dynload/_tkinter.so
+}
+
md5sums="57dffcee9cee8bb2ab5f82af1d8e9a69 Python-2.7.12.tar.xz
e2ea88671f8f838142323aedc417be48 musl-find_library.patch
dada786a50fa332686a9b9260d84c110 unchecked-ioctl.patch"