Commit 4be45f38 authored by Jakub Jirutka's avatar Jakub Jirutka Committed by Carlo Landmeter
Browse files

main/python2: add subpackage py2-tkinter

parent e77716b0
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment