diff options
Diffstat (limited to 'python/python3-tomli_w/python3-tomli_w.SlackBuild')
-rw-r--r-- | python/python3-tomli_w/python3-tomli_w.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/python/python3-tomli_w/python3-tomli_w.SlackBuild b/python/python3-tomli_w/python3-tomli_w.SlackBuild index f18e2932f6..9a9c465431 100644 --- a/python/python3-tomli_w/python3-tomli_w.SlackBuild +++ b/python/python3-tomli_w/python3-tomli_w.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-tomli_w -# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-tomli_w SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.1.0} +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,13 +63,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 --no-isolation +python3 -m flit_core.wheel python3 -m installer -d "$PKG" dist/*.whl -# installing tests to a subdir of your project might not conflict the toplevel, but -# don't do it anyway... -#rm -r "$PKG"/usr/lib${LIBDIRSUFFIX}/python*/site-packages/${SRCNAM}/tests/ - 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 |