python-tkinter: use pycompile_dirs, not pycompile_module
This commit is contained in:
parent
5481f5ecbb
commit
c32896c58d
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue