aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVijay Marcel <vijaymarcel@outlook.com>2024-05-06 07:43:06 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-11 06:51:49 +0700
commit1872120cba0e93db0486a543754ec505c196d991 (patch)
tree000121124e4f81c036f44f76ecf014ea3b6e4c4b
parent2859659755c158a664ad9e6b9162f64a2598415f (diff)
python/python3-argcomplete: Updated for version 3.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-argcomplete/README4
-rw-r--r--python/python3-argcomplete/python3-argcomplete.SlackBuild6
-rw-r--r--python/python3-argcomplete/python3-argcomplete.info8
3 files changed, 8 insertions, 10 deletions
diff --git a/python/python3-argcomplete/README b/python/python3-argcomplete/README
index f1a06888c1c3..7f94cacc0300 100644
--- a/python/python3-argcomplete/README
+++ b/python/python3-argcomplete/README
@@ -9,7 +9,3 @@ It makes two assumptions:
* You're using bash as your shell
* You're using argparse to manage your
command line arguments/options
-
-NOTE:
-Any version newer than this requires setuptools>=67.7.2
-
diff --git a/python/python3-argcomplete/python3-argcomplete.SlackBuild b/python/python3-argcomplete/python3-argcomplete.SlackBuild
index c8299f6bf809..9fc0e0297887 100644
--- a/python/python3-argcomplete/python3-argcomplete.SlackBuild
+++ b/python/python3-argcomplete/python3-argcomplete.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-argcomplete
-VERSION=${VERSION:-3.0.8}
+VERSION=${VERSION:-3.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,7 +82,9 @@ 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 {} \;
-python3 -m build --wheel --no-isolation
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 -m build --wheel --no-isolation
python3 -m installer --destdir "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/python/python3-argcomplete/python3-argcomplete.info b/python/python3-argcomplete/python3-argcomplete.info
index dacb5bdf4042..8afe1d7f5d64 100644
--- a/python/python3-argcomplete/python3-argcomplete.info
+++ b/python/python3-argcomplete/python3-argcomplete.info
@@ -1,10 +1,10 @@
PRGNAM="python3-argcomplete"
-VERSION="3.0.8"
+VERSION="3.3.0"
HOMEPAGE="https://github.com/kislyuk/argcomplete"
-DOWNLOAD="https://pypi.io/packages/source/a/argcomplete/argcomplete-3.0.8.tar.gz"
-MD5SUM="6f17ed70c9cb961a31b79dd8cbdfc2ba"
+DOWNLOAD="https://pypi.io/packages/source/a/argcomplete/argcomplete-3.3.0.tar.gz"
+MD5SUM="255e2c9f2cdb18f88d1dc8de9b78a072"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-importlib_metadata"
+REQUIRES="python-importlib_metadata python3-setuptools-opt"
MAINTAINER="Vijay Marcel"
EMAIL="vijaymarcel@outlook.com"