diff options
Diffstat (limited to 'main/python2')
-rw-r--r-- | main/python2/APKBUILD | 14 |
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" |