diff options
Diffstat (limited to 'python/setuptools-scm/setuptools-scm.SlackBuild')
-rw-r--r-- | python/setuptools-scm/setuptools-scm.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/python/setuptools-scm/setuptools-scm.SlackBuild b/python/setuptools-scm/setuptools-scm.SlackBuild index 656d6b224d5fb..bf14da1b8a8b7 100644 --- a/python/setuptools-scm/setuptools-scm.SlackBuild +++ b/python/setuptools-scm/setuptools-scm.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for setuptools-scm -# Copyright 2016-2017 Hunter Sezen California, USA +# Copyright 2016-2018 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=setuptools-scm -SRCNAM=$(echo $PRGNAM | tr - _) -VERSION=${VERSION:-1.15.0} +SRCNAM=$(printf %s $PRGNAM | tr - _) +VERSION=${VERSION:-1.15.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -41,7 +41,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -59,12 +59,12 @@ find -L . \ python setup.py install --root=$PKG # Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then +if python3 -c 'import sys' 2>/dev/null; then python3 setup.py install --root=$PKG fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.rst LICENSE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |