diff options
-rw-r--r-- | community/python3-tkinter/APKBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/community/python3-tkinter/APKBUILD b/community/python3-tkinter/APKBUILD index c8db42763d..cf6f06ebe6 100644 --- a/community/python3-tkinter/APKBUILD +++ b/community/python3-tkinter/APKBUILD @@ -4,12 +4,12 @@ pkgname=python3-tkinter pkgver=3.6.3 _basever="${pkgver%.*}" -pkgrel=0 +pkgrel=1 pkgdesc="A graphical user interface for the Python" url="https://wiki.python.org/moin/TkInter" arch="all" license="custom" -provides="py3-pip" +replaces=python3 subpackages="$pkgname-tests python3-idle:_idle" 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 @@ -74,7 +74,7 @@ package() { mkdir -p "$pkgdir"/usr/lib/python${_basever}/lib-dynload \ "$pkgdir"/usr/bin - for lib in idlelib; do + for lib in idlelib tkinter; do mv "$builddir"/tmpinstall/usr/lib/python${_basever}/$lib \ "$pkgdir"/usr/lib/python${_basever}/ done @@ -98,14 +98,17 @@ tests() { pkgdesc="The test modules from the main python package for tkinter" replaces="python3-tests" cd "$pkgdir" - _mv_files usr/lib/python*/*/*_test + _mv_files usr/lib/python*/*/*_test \ + usr/lib/python3.6/tkinter/test } _idle() { pkgdesc="IDE for Python3 using Tkinter" depends="$pkgname=$pkgver-r$pkgrel" + replaces=python3 cd "$pkgdir" _mv_files usr/bin + _mv_files usr/lib/python*/idlelib } sha512sums="32f24a3adcb7880003c7ecdc5e53e838e774adda76b308961d8215e28db630b2fa2828097817924c76afa4212b2df3362eb64d4e10f37c0147f512ec5aa8662b Python-3.6.3.tar.xz |