python-tkinter: update to 2.7.14

This commit is contained in:
Alessio Sergi 2017-09-18 10:48:38 +02:00
parent bf063950d5
commit 15cb8dc3b9
1 changed files with 10 additions and 9 deletions

View File

@ -7,26 +7,27 @@
_desc="Interpreted, interactive, object-oriented programming language" _desc="Interpreted, interactive, object-oriented programming language"
pkgname=python-tkinter pkgname=python-tkinter
version=2.7.13 version=2.7.14
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="${_desc} - 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="https://www.python.org"
license="PSF" license="PSF"
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.xz" distfiles="https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz"
checksum=35d543986882f78261f97787fd3e06274bfa6df29fac9b4a94f73930ff98f731 checksum=71ffb26e09e78650e424929b2b457b9c912ac216576e6bd9e7d204ed03296a66
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.
rm -r Modules/expat rm -r Modules/expat
rm -r Modules/_ctypes/libffi* rm -r Modules/_ctypes/libffi*
rm -r Modules/zlib rm -r Modules/zlib
# Enable loading sqlite extensions.
sed -i '/SQLITE_OMIT_LOAD_EXTENSION/d' setup.py
} }
do_configure() { do_configure() {
@ -43,8 +44,8 @@ do_configure() {
fi fi
./configure ${configure_args} \ ./configure ${configure_args} \
--enable-shared --enable-ipv6 --with-threads --enable-unicode=ucs4 \ --enable-shared --enable-ipv6 --with-threads --enable-unicode=ucs4 \
--with-computed-gotos --with-wctype-functions --with-system-expat \ --with-computed-gotos --with-wctype-functions --with-dbmliborder=gdbm:ndbm \
--with-system-ffi --without-ensurepip --with-system-expat --with-system-ffi --without-ensurepip
} }
do_build() { do_build() {