python: update to 2.7.13

This commit is contained in:
Alessio Sergi 2016-12-19 11:00:19 +01:00
parent ee5ef36b4a
commit 2db3ad943e

View file

@ -3,8 +3,8 @@
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/python-tkinter".
#
pkgname=python
version=2.7.12
revision=4
version=2.7.13
revision=1
wrksrc="Python-${version}"
hostmakedepends="pkg-config"
makedepends="
@ -17,7 +17,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.python.org"
license="PSF"
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.xz"
checksum=d7837121dd5652a05fef807c361909d255d173280c4e1a4ded94d73d80a1f978
checksum=35d543986882f78261f97787fd3e06274bfa6df29fac9b4a94f73930ff98f731
alternatives="
python:idle:/usr/bin/idle2.7
@ -61,8 +61,12 @@ do_build() {
do_install() {
export PATH="$PATH:$wrksrc/hostpython"
make DESTDIR=${DESTDIR} altinstall
ln -sf pydoc2.7 ${DESTDIR}/usr/bin/pydoc2
ln -sf python2.7 ${DESTDIR}/usr/bin/python2
ln -sf python2.7-config ${DESTDIR}/usr/bin/python-config
ln -sf python2.7-config ${DESTDIR}/usr/bin/python2-config
ln -sf python2.7.1 ${DESTDIR}/usr/share/man/man1/python2.1
ln -sf python-2.7.pc ${DESTDIR}/usr/lib/pkgconfig/python2.pc
}
post_install() {