python: add python-tkinter and idle-python to metapkg
also rename idle-python -> idle-python2
This commit is contained in:
parent
03be795196
commit
dc4fd7f6ae
|
@ -1 +1 @@
|
|||
python-tkinter
|
||||
python
|
|
@ -0,0 +1 @@
|
|||
python2-tkinter
|
|
@ -1 +1 @@
|
|||
python2-tkinter
|
||||
python
|
|
@ -14,3 +14,15 @@ python-devel_package() {
|
|||
short_desc+=" - development files"
|
||||
build_style=meta
|
||||
}
|
||||
|
||||
python-tkinter_package() {
|
||||
depends="python${version%%.*}-tkinter"
|
||||
short_desc+=" - GUI toolkit"
|
||||
build_style=meta
|
||||
}
|
||||
|
||||
idle-python_package() {
|
||||
depends="idle-python${version%%.*}"
|
||||
short_desc="IDE for Python${version%%.*} using Tkinter"
|
||||
build_style=meta
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ _desc="Interpreted, interactive, object-oriented programming language"
|
|||
|
||||
pkgname=python2-tkinter
|
||||
version=2.7.18.10
|
||||
revision=1
|
||||
revision=2
|
||||
_commit=3e06fbb19d735aea134b327ad7af28f17eee5d88
|
||||
pycompile_dirs="usr/lib/python2.7/lib-tk"
|
||||
hostmakedepends="pkg-config"
|
||||
|
@ -77,7 +77,7 @@ do_install() {
|
|||
ln -sf idle2.7 ${DESTDIR}/usr/bin/idle2
|
||||
}
|
||||
|
||||
idle-python_package() {
|
||||
idle-python2_package() {
|
||||
short_desc="${_desc} - IDE for Python2 using Tkinter"
|
||||
pycompile_dirs="usr/lib/python2.7/idlelib"
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
|
@ -88,9 +88,3 @@ idle-python_package() {
|
|||
vinstall ${FILESDIR}/idle2.desktop 644 usr/share/applications
|
||||
}
|
||||
}
|
||||
|
||||
python-tkinter_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" (transitional dummy package)"
|
||||
build_style=meta
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue