summaryrefslogtreecommitdiffstats
path: root/python/python3/python3.SlackBuild
diff options
context:
space:
mode:
author Audrius Kažukauskas2015-10-25 19:43:53 +0100
committer Willy Sudiarto Raharjo2015-10-31 02:33:28 +0100
commit34becae63e7c599fdfbc5aa6bb27bd256b38bdec (patch)
tree1992454624fe5494e2d980ae71ae663afbeb9520 /python/python3/python3.SlackBuild
parent2cb182b1cca673e6191e525097015664a02534a0 (diff)
downloadslackbuilds-34becae63e7c599fdfbc5aa6bb27bd256b38bdec.tar.gz
python/python3: Updated for version 3.5.0.
Thanks to Richard Hoyle. Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
Diffstat (limited to 'python/python3/python3.SlackBuild')
-rw-r--r--python/python3/python3.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/python/python3/python3.SlackBuild b/python/python3/python3.SlackBuild
index 6b67d7609b..3a8a1a889a 100644
--- a/python/python3/python3.SlackBuild
+++ b/python/python3/python3.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python3
-VERSION=${VERSION:-3.4.3}
+VERSION=${VERSION:-3.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,9 +56,9 @@ PYVER=$(cut -d. -f1,2 <<< "$VERSION")
set -eu
-# Location for Python site-packages:
+# Location for Python site-packages.
SITEPK=$PKG/usr/lib${LIBDIRSUFFIX}/python${PYVER}/site-packages
-# same as above without $PKG
+# Same as above without $PKG.
TOOLSDIR=/usr/lib${LIBDIRSUFFIX}/python${PYVER}/site-packages
rm -rf $PKG
@@ -69,11 +69,11 @@ tar xvf $CWD/Python-$VERSION.tar.xz
cd Python-$VERSION
patch -p1 -i $CWD/patches/python3.readline.set_pre_input_hook.diff
-# We don't want a large libpython*.a:
+# We don't want a large libpython*.a.
patch -p1 -i $CWD/patches/python3.no-static-library.diff
if [ "$ARCH" = "x86_64" ]; then
- # Install to lib64 instead of lib:
+ # Install to lib64 instead of lib.
patch -p1 -i $CWD/patches/python3.x86_64.diff
fi
@@ -116,7 +116,7 @@ sed -i 's|\("install",\) "--ignore-installed",|\1|' \
# Remove to avoid overwriting a copy from Python2.
rm -f $PKG/usr/bin/2to3
-# We'll install the python-tools under site-packages:
+# We'll install the python-tools under site-packages.
mkdir -p $SITEPK
cp -a Tools/* $SITEPK
@@ -126,7 +126,7 @@ find $PKG \( -name '*.exe' -o -name '*.bat' \) -exec rm -f '{}' \;
# Fix permissions on dynamic libraries.
find $PKG -type f -perm 555 -exec chmod 755 '{}' \;
-# Install docs:
+# Install docs.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README LICENSE Misc $PKG/usr/doc/$PRGNAM-$VERSION
mv $SITEPK/README $PKG/usr/doc/$PRGNAM-$VERSION/README.python-tools