summaryrefslogtreecommitdiffstats
path: root/python/python3/python3.SlackBuild
diff options
context:
space:
mode:
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