aboutsummaryrefslogtreecommitdiff
path: root/python/setuptools-scm/setuptools-scm.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2021-05-02 23:08:56 -0500
committerRobby Workman <rworkman@slackbuilds.org>2021-05-02 23:08:56 -0500
commit4643738204d98b3623a052e11974aa3699712611 (patch)
treecfaf3fa18c8cbdb5563a1cb9ed594e0b1f9bbff0 /python/setuptools-scm/setuptools-scm.SlackBuild
parent3a3c7923661ce8000081082bf192d0d73f4c432a (diff)
python/setuptools-scm: Updated for version 6.0.1.
Diffstat (limited to 'python/setuptools-scm/setuptools-scm.SlackBuild')
-rw-r--r--python/setuptools-scm/setuptools-scm.SlackBuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/python/setuptools-scm/setuptools-scm.SlackBuild b/python/setuptools-scm/setuptools-scm.SlackBuild
index bc591d8e76ddd..1b92f5269218f 100644
--- a/python/setuptools-scm/setuptools-scm.SlackBuild
+++ b/python/setuptools-scm/setuptools-scm.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=setuptools-scm
SRCNAM=$(printf %s $PRGNAM | tr - _)
-VERSION=${VERSION:-3.4.1}
+VERSION=${VERSION:-6.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,12 +56,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
-
-# Python 3 support.
-if python3 -c 'import sys' 2>/dev/null; then
- python3 setup.py install --root=$PKG
-fi
+python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION