aboutsummaryrefslogtreecommitdiff
path: root/python
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
parent3a3c7923661ce8000081082bf192d0d73f4c432a (diff)
python/setuptools-scm: Updated for version 6.0.1.
Diffstat (limited to 'python')
-rw-r--r--python/setuptools-scm/README2
-rw-r--r--python/setuptools-scm/setuptools-scm.SlackBuild9
-rw-r--r--python/setuptools-scm/setuptools-scm.info6
3 files changed, 5 insertions, 12 deletions
diff --git a/python/setuptools-scm/README b/python/setuptools-scm/README
index 3227352464d9..a26279de6d75 100644
--- a/python/setuptools-scm/README
+++ b/python/setuptools-scm/README
@@ -3,5 +3,3 @@ metadata instead of declaring them as the version argument or in a
scm managed file.
It also handles file finders for the supported scm's.
-
-Python3 is an optional dependency.
diff --git a/python/setuptools-scm/setuptools-scm.SlackBuild b/python/setuptools-scm/setuptools-scm.SlackBuild
index bc591d8e76dd..1b92f5269218 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
diff --git a/python/setuptools-scm/setuptools-scm.info b/python/setuptools-scm/setuptools-scm.info
index 132f060e5725..66a0fff19ed8 100644
--- a/python/setuptools-scm/setuptools-scm.info
+++ b/python/setuptools-scm/setuptools-scm.info
@@ -1,8 +1,8 @@
PRGNAM="setuptools-scm"
-VERSION="3.4.1"
+VERSION="6.0.1"
HOMEPAGE="https://github.com/pypa/setuptools_scm"
-DOWNLOAD="https://files.pythonhosted.org/packages/9a/29/d8f9b0ddb3b9cb9da4de7fdd5f85bc598f774f22161cf72e5fe47207c8ea/setuptools_scm-3.4.1.tar.gz"
-MD5SUM="7d999ac299ae58e98f17b8f2cb988429"
+DOWNLOAD="https://files.pythonhosted.org/packages/57/38/930b1241372a9f266a7df2b184fb9d4f497c2cef2e016b014f82f541fe7c/setuptools_scm-6.0.1.tar.gz"
+MD5SUM="aa7f0efbbf46c5576db5994dd1ce3f8d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""