diff options
Diffstat (limited to 'python/python3/python3.SlackBuild')
-rw-r--r-- | python/python3/python3.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/python/python3/python3.SlackBuild b/python/python3/python3.SlackBuild index 6b67d7609bbb..3a8a1a889af9 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 |