diff options
Diffstat (limited to 'python/python-debian')
-rw-r--r-- | python/python-debian/changelog | 14 | ||||
-rw-r--r-- | python/python-debian/python-debian.SlackBuild | 22 | ||||
-rw-r--r-- | python/python-debian/python-debian.info | 8 |
3 files changed, 22 insertions, 22 deletions
diff --git a/python/python-debian/changelog b/python/python-debian/changelog deleted file mode 100644 index 5119bc4648..0000000000 --- a/python/python-debian/changelog +++ /dev/null @@ -1,14 +0,0 @@ -Changelog for python-debian SlackBuild Script --------------------------------------------------------------------- - -05/11/2022: - -Added to slackbuilds.org - -26/11/2022: - -gitlab tarball handling fixed by Andrew Clemons - -17/05/2023: - -Updated to version 0.1.49 diff --git a/python/python-debian/python-debian.SlackBuild b/python/python-debian/python-debian.SlackBuild index 87e5480dfc..05b1e3d67e 100644 --- a/python/python-debian/python-debian.SlackBuild +++ b/python/python-debian/python-debian.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python-debian -# Copyright 2022-2023 Vijay Marcel +# Copyright 2022-2025 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,21 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Changelog for python-debian SlackBuild Script +# -------------------------------------------------------------------------------- + +# 05/11/2022: Added to slackbuilds.org +# 26/11/2022: gitlab tarball handling fixed by Andrew Clemons +# 17/05/2023: Updated to version 0.1.49 +# 19/02/2025: Updated to version 0.1.52 + +# ---------------------------------------------------------------------------------- + + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-debian -VERSION=${VERSION:-0.1.49} +VERSION=${VERSION:-0.1.52} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,10 +92,13 @@ 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 setup.py install --prefix=/usr --root=$PKG --optimize=1 +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 \ - | 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 docs examples debian README.rst $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/python-debian/python-debian.info b/python/python-debian/python-debian.info index 9608b82c0b..eed7b9faff 100644 --- a/python/python-debian/python-debian.info +++ b/python/python-debian/python-debian.info @@ -1,10 +1,10 @@ PRGNAM="python-debian" -VERSION="0.1.49" +VERSION="0.1.52" HOMEPAGE="https://salsa.debian.org/python-debian-team/python-debian" -DOWNLOAD="https://salsa.debian.org/python-debian-team/python-debian/-/archive/0.1.49/python-debian-0.1.49.tar.gz" -MD5SUM="761b78b8766de552f9d3f68c88f1599d" +DOWNLOAD="https://salsa.debian.org/python-debian-team/python-debian/-/archive/0.1.52/python-debian-0.1.52.tar.gz" +MD5SUM="f21ca91735d7aae98d0f5b5a0821ee60" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt python3-setuptools-scm-opt" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" |