From 59b3992f59f581dbfac3028f51d5399e4f124891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Audrius=20Ka=C5=BEukauskas?= Date: Fri, 22 Feb 2019 21:22:23 +0200 Subject: python/python3: Updated for version 3.7.2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Audrius Kažukauskas --- python/python3/python3.SlackBuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'python/python3/python3.SlackBuild') diff --git a/python/python3/python3.SlackBuild b/python/python3/python3.SlackBuild index 6c9515b0d3..190f7ec51b 100644 --- a/python/python3/python3.SlackBuild +++ b/python/python3/python3.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3 -# Copyright 2012-2018 Audrius Kažukauskas +# Copyright 2012-2019 Audrius Kažukauskas # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=python3 SRCNAM=Python -VERSION=${VERSION:-3.6.7} +VERSION=${VERSION:-3.7.2} BRANCH_VERSION=$(echo $VERSION | cut -f 1,2 -d . ) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -127,6 +127,8 @@ find $PKG -type f -perm 555 -exec chmod 755 '{}' \; # Install docs. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.rst LICENSE Misc $PKG/usr/doc/$PRGNAM-$VERSION +# Delete stuff that we don't need to package. +rm -f $PKG/usr/doc/$PKGNAM-$VERSION/Misc/{HISTORY,*.in,*.wpr,python.man,svnmap.txt} mv $SITEPK/README $PKG/usr/doc/$PRGNAM-$VERSION/README.python-tools ( cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -sf $TOOLSDIR Tools ) if [ -e "$CWD/python-$VERSION-docs-html.tar.bz2" ]; then -- cgit v1.2.3