diff --git a/srcpkgs/python/template b/srcpkgs/python/template index 6b36285c8a3..bea4ee9a4d2 100644 --- a/srcpkgs/python/template +++ b/srcpkgs/python/template @@ -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 " 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() {