aboutsummaryrefslogtreecommitdiff
path: root/python/python3-pipx/python3-pipx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-pipx/python3-pipx.SlackBuild')
-rw-r--r--python/python3-pipx/python3-pipx.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/python3-pipx/python3-pipx.SlackBuild b/python/python3-pipx/python3-pipx.SlackBuild
index a0231c6206..2c3291e3f1 100644
--- a/python/python3-pipx/python3-pipx.SlackBuild
+++ b/python/python3-pipx/python3-pipx.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for python3-pipx
-# Copyright 2023 Vijay Marcel
+# Copyright 2023-2024 Vijay Marcel
+
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pipx
-VERSION=${VERSION:-1.1.0}
+VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -86,7 +87,7 @@ 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 \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG.md CONTRIBUTING.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION