From 1a5b329bdee5b53fc79e75a90eb377479a88380f Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 19 Dec 2017 19:03:06 +0100 Subject: [PATCH] python3: update to 3.6.4 --- srcpkgs/python3/template | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/srcpkgs/python3/template b/srcpkgs/python3/template index 3219fc4dd2a..efab181ff3a 100644 --- a/srcpkgs/python3/template +++ b/srcpkgs/python3/template @@ -1,6 +1,6 @@ # Template file for 'python3' pkgname=python3 -version=3.6.3 +version=3.6.4 revision=1 wrksrc="Python-${version}" short_desc="Interpreted, interactive, object-oriented programming language (${version%.*} series)" @@ -8,9 +8,8 @@ maintainer="Juan RP " homepage="https://www.python.org" license="PSF" distfiles="https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz" -checksum=cda7d967c9a4bfa52337cdf551bcc5cff026b6ac50a8834e568ce4a794ca81da +checksum=159b932bf56aeaa76fd66e7420522d8c8853d486b8567c459b84fe2ed13bcaba -replaces="python3.4>=0 python3.5>=0" pycompile_dirs="usr/lib/python${version%.*}" makedepends="libffi-devel readline-devel gdbm-devel libressl-devel expat-devel sqlite-devel bzip2-devel zlib-devel liblzma-devel tcl-devel tk-devel libX11-devel" @@ -61,11 +60,6 @@ do_install() { # Remove test module and tests that fail to be byte-compiled. rm -rf ${DESTDIR}/usr/lib/python${version%.*}/test rm -rf ${DESTDIR}/usr/lib/python${version%.*}/lib2to3/tests - # Remove references to hardening -specs. - sed -e 's|\(-specs=.*hardened-ld\)||g' -e 's|\(-specs=.*hardened-cc1\)||g' -i \ - ${DESTDIR}/usr/lib/python${version%.*}/_sysconfigdata_m_*.py \ - ${DESTDIR}/usr/lib/python${version%.*}/config-${version%.*}m*/Makefile \ - ${DESTDIR}/usr/bin/python${version%.*}*-config # Remove references to the install(1) wrapper. sed -e "s,${XBPS_WRAPPERDIR},/usr/bin,g" -i \ ${DESTDIR}/usr/lib/python${version%.*}/_sysconfigdata_m_*.py \ @@ -79,7 +73,6 @@ do_install() { } python3-devel_package() { - replaces="python3.4-devel>=0 python3.5-devel>=0" depends="${sourcepkg}-${version}_${revision}" short_desc+=" - development files" pkg_install() { @@ -94,7 +87,6 @@ python3-devel_package() { } } python3-tkinter_package() { - replaces="python3.4-tkinter>=0 python3.5-tkinter>=0" pycompile_dirs="usr/lib/python${version%.*}" depends="${sourcepkg}-${version}_${revision}" short_desc+=" - GUI toolkit for Python3" @@ -106,7 +98,6 @@ python3-tkinter_package() { } } idle-python3_package() { - replaces="idle-python3.4>=0 idle-python3.5>=0" pycompile_dirs="usr/lib/python${version%.*}/idlelib" depends="${sourcepkg}-${version}_${revision} python3-tkinter" short_desc+=" - IDE for Python3 using Tkinter"