diff --git a/srcpkgs/python-tkinter/template b/srcpkgs/python-tkinter/template index da6e66aacc7..86d7cbb357b 100644 --- a/srcpkgs/python-tkinter/template +++ b/srcpkgs/python-tkinter/template @@ -7,26 +7,27 @@ _desc="Interpreted, interactive, object-oriented programming language" pkgname=python-tkinter -version=2.7.13 -revision=2 +version=2.7.14 +revision=1 wrksrc="Python-${version}" hostmakedepends="pkg-config" -makedepends=" - libffi-devel readline-devel gdbm-devel libressl-devel expat-devel +makedepends="libffi-devel readline-devel gdbm-devel libressl-devel expat-devel sqlite-devel bzip2-devel zlib-devel tk-devel" pycompile_module="lib-tk" short_desc="${_desc} - GUI toolkit for Python2" maintainer="Juan RP " -homepage="http://www.python.org" +homepage="https://www.python.org" license="PSF" -distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.xz" -checksum=35d543986882f78261f97787fd3e06274bfa6df29fac9b4a94f73930ff98f731 +distfiles="https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz" +checksum=71ffb26e09e78650e424929b2b457b9c912ac216576e6bd9e7d204ed03296a66 pre_configure() { # Ensure that internal copies of expat, libffi and zlib are not used. rm -r Modules/expat rm -r Modules/_ctypes/libffi* rm -r Modules/zlib + # Enable loading sqlite extensions. + sed -i '/SQLITE_OMIT_LOAD_EXTENSION/d' setup.py } do_configure() { @@ -43,8 +44,8 @@ do_configure() { fi ./configure ${configure_args} \ --enable-shared --enable-ipv6 --with-threads --enable-unicode=ucs4 \ - --with-computed-gotos --with-wctype-functions --with-system-expat \ - --with-system-ffi --without-ensurepip + --with-computed-gotos --with-wctype-functions --with-dbmliborder=gdbm:ndbm \ + --with-system-expat --with-system-ffi --without-ensurepip } do_build() {