summaryrefslogtreecommitdiff
path: root/source/d/python3
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-10-24 17:29:49 +0000
committerEric Hameleers <alien@slackware.com>2019-10-25 08:59:49 +0200
commit4769308a8ea51138f8540bf9492268b6aa9211a9 (patch)
treea677705032d7f3c868785cb00466a54595044376 /source/d/python3
parentf0740543c3b4bbef1b0dffc90056cce6b3e895b4 (diff)
downloadcurrent-4769308a8ea51138f8540bf9492268b6aa9211a9.tar.gz
Thu Oct 24 17:29:49 UTC 201920191024172949
a/kernel-firmware-20191023_ad7a8b2-noarch-1.txz: Upgraded. a/mcelog-165-x86_64-1.txz: Upgraded. d/python3-3.7.5-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/d/python3')
-rwxr-xr-xsource/d/python3/python3.SlackBuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/source/d/python3/python3.SlackBuild b/source/d/python3/python3.SlackBuild
index 82836b7e..9a16b860 100755
--- a/source/d/python3/python3.SlackBuild
+++ b/source/d/python3/python3.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for python3
# Copyright 2012-2017 Audrius Kažukauskas <audrius@neutrino.lt>
-# Copyright 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2017, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +29,7 @@ PKGNAM=python3
SRCNAM=Python
VERSION=$(echo $SRCNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
BRANCH_VERSION=$(echo $VERSION | cut -f 1,2 -d . )
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -141,8 +141,13 @@ mv $SITEPK/README $PKG/usr/doc/$PKGNAM-$VERSION/README.python-tools
( cd $PKG/usr/doc/$PKGNAM-$VERSION ; ln -sf $TOOLSDIR Tools )
if [ -e "$CWD/python-$VERSION-docs-html.tar.bz2" ]; then
tar xf $CWD/python-$VERSION-docs-html.tar.bz2
- mv python-$VERSION-docs-html $PKG/usr/doc/$PKGNAM-$VERSION/html
- chown -R root:root $PKG/usr/doc/$PKGNAM-$VERSION/html
+ mv python-$VERSION-docs-html $PKG/usr/doc/$PKGNAM-$VERSION/docs-html
+ chown -R root:root $PKG/usr/doc/$PKGNAM-$VERSION/docs-html
+fi
+if [ -e "$CWD/python-$VERSION-docs-text.tar.bz2" ]; then
+ tar xf $CWD/python-$VERSION-docs-text.tar.bz2
+ mv python-$VERSION-docs-text $PKG/usr/doc/$PKGNAM-$VERSION/docs-text
+ chown -R root:root $PKG/usr/doc/$PKGNAM-$VERSION/docs-text
fi
# Fix possible incorrect permissions.