summaryrefslogtreecommitdiffstats
path: root/python/python3/python3.SlackBuild
diff options
context:
space:
mode:
author Audrius Kažukauskas2019-02-22 20:22:23 +0100
committer Willy Sudiarto Raharjo2019-03-02 01:40:28 +0100
commit59b3992f59f581dbfac3028f51d5399e4f124891 (patch)
tree6605e9c2d003b976a5e3d1e0834cebb820dd2771 /python/python3/python3.SlackBuild
parent96d02f795fa0147dd992201dcde57c5e07bd9e28 (diff)
downloadslackbuilds-59b3992f59f581dbfac3028f51d5399e4f124891.tar.gz
python/python3: Updated for version 3.7.2.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
Diffstat (limited to 'python/python3/python3.SlackBuild')
-rw-r--r--python/python3/python3.SlackBuild6
1 files changed, 4 insertions, 2 deletions
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 <audrius@neutrino.lt>
+# Copyright 2012-2019 Audrius Kažukauskas <audrius@neutrino.lt>
# 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