python-tkinter: use pycompile_dirs, not pycompile_module

This commit is contained in:
Alessio Sergi 2018-03-26 18:58:58 +02:00
parent 5481f5ecbb
commit c32896c58d
1 changed files with 5 additions and 5 deletions

View File

@ -8,12 +8,12 @@ _desc="Interpreted, interactive, object-oriented programming language"
pkgname=python-tkinter
version=2.7.14
revision=1
revision=2
wrksrc="Python-${version}"
hostmakedepends="pkg-config"
makedepends="libffi-devel readline-devel gdbm-devel libressl-devel expat-devel
sqlite-devel bzip2-devel zlib-devel tk-devel"
pycompile_module="lib-tk"
pycompile_dirs="usr/lib/python2.7/lib-tk"
short_desc="${_desc} - GUI toolkit for Python2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://www.python.org"
@ -77,12 +77,12 @@ do_install() {
idle-python_package() {
noarch=yes
depends="python-tkinter>=${version}_${revision}"
pycompile_module="idlelib"
short_desc="${_desc} - IDE for Python2 using Tkinter"
pycompile_dirs="usr/lib/python2.7/idlelib"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/bin/idle2*
vmove usr/lib/python${version%.*}/idlelib
vmove usr/lib/python2.7/idlelib
vinstall ${FILESDIR}/idle2.xpm 644 usr/share/pixmaps
vinstall ${FILESDIR}/idle2.desktop 644 usr/share/applications
}