python-tkinter: update to 2.7.13
This commit is contained in:
parent
2db3ad943e
commit
577f3d6d59
4 changed files with 21 additions and 17 deletions
|
@ -1,9 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Name=IDLE (using Python2.7)
|
|
||||||
Comment=IDE for Python (using Python2.7)
|
|
||||||
Exec=idle2.7
|
|
||||||
Icon=idle2.7
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
Categories=Development;
|
|
||||||
StartupNotify=true
|
|
9
srcpkgs/python-tkinter/files/idle2.desktop
Normal file
9
srcpkgs/python-tkinter/files/idle2.desktop
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=IDLE (using Python2)
|
||||||
|
Comment=IDE for Python (using Python2)
|
||||||
|
Exec=idle2
|
||||||
|
Icon=idle2
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Development;
|
||||||
|
StartupNotify=true
|
|
@ -3,21 +3,24 @@
|
||||||
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/python"; IT IS SPLITTED TO AVOID
|
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/python"; IT IS SPLITTED TO AVOID
|
||||||
# A CYCLIC DEPENDENCY: python -> tk -> libX11 -> libxcb -> xcb-proto -> python
|
# A CYCLIC DEPENDENCY: python -> tk -> libX11 -> libxcb -> xcb-proto -> python
|
||||||
#
|
#
|
||||||
|
|
||||||
|
_desc="Interpreted, interactive, object-oriented programming language"
|
||||||
|
|
||||||
pkgname=python-tkinter
|
pkgname=python-tkinter
|
||||||
version=2.7.12
|
version=2.7.13
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="Python-${version}"
|
wrksrc="Python-${version}"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="
|
makedepends="
|
||||||
libffi-devel readline-devel gdbm-devel libressl-devel expat-devel
|
libffi-devel readline-devel gdbm-devel libressl-devel expat-devel
|
||||||
sqlite-devel bzip2-devel zlib-devel tk-devel"
|
sqlite-devel bzip2-devel zlib-devel tk-devel"
|
||||||
pycompile_module="lib-tk"
|
pycompile_module="lib-tk"
|
||||||
short_desc="Interpreted, interactive, object-oriented programming language - GUI toolkit for Python2"
|
short_desc="${_desc} - GUI toolkit for Python2"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.python.org"
|
homepage="http://www.python.org"
|
||||||
license="PSF"
|
license="PSF"
|
||||||
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.xz"
|
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.xz"
|
||||||
checksum=d7837121dd5652a05fef807c361909d255d173280c4e1a4ded94d73d80a1f978
|
checksum=35d543986882f78261f97787fd3e06274bfa6df29fac9b4a94f73930ff98f731
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||||
|
@ -68,17 +71,18 @@ do_install() {
|
||||||
${DESTDIR}/usr/lib/python2.7/
|
${DESTDIR}/usr/lib/python2.7/
|
||||||
mv ${wrksrc}/${pkgname}-${version}-install/usr/${_libdir}/python2.7/lib-dynload/_tkinter.so \
|
mv ${wrksrc}/${pkgname}-${version}-install/usr/${_libdir}/python2.7/lib-dynload/_tkinter.so \
|
||||||
${DESTDIR}/usr/lib/python2.7/lib-dynload/
|
${DESTDIR}/usr/lib/python2.7/lib-dynload/
|
||||||
|
ln -sf idle2.7 ${DESTDIR}/usr/bin/idle2
|
||||||
}
|
}
|
||||||
|
|
||||||
idle-python_package() {
|
idle-python_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python-tkinter>=${version}_${revision}"
|
depends="python-tkinter>=${version}_${revision}"
|
||||||
pycompile_module="idlelib"
|
pycompile_module="idlelib"
|
||||||
short_desc+=" - IDE for Python2 using Tkinter"
|
short_desc="${_desc} - IDE for Python2 using Tkinter"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/idle${version%.*}
|
vmove usr/bin/idle2*
|
||||||
vmove usr/lib/python${version%.*}/idlelib
|
vmove usr/lib/python${version%.*}/idlelib
|
||||||
vinstall ${FILESDIR}/idle${version%.*}.xpm 644 usr/share/pixmaps
|
vinstall ${FILESDIR}/idle2.xpm 644 usr/share/pixmaps
|
||||||
vinstall ${FILESDIR}/idle${version%.*}.desktop 644 usr/share/applications
|
vinstall ${FILESDIR}/idle2.desktop 644 usr/share/applications
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue