diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-10-17 12:17:19 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-11-16 16:41:08 +0700 |
commit | 74d9a7424eca4f1073feef0b7dd4121e520f2801 (patch) | |
tree | ae8c8126fa6b91e5bb9adb152cbc7fce26ecbaa9 /python/python3-pyproject-hooks/python3-pyproject-hooks.SlackBuild | |
parent | 2750b43ebc14e5422af3d9fc9729dc931fe7b582 (diff) |
python/python3-pyproject-hooks: Updated for version 1.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-pyproject-hooks/python3-pyproject-hooks.SlackBuild')
-rw-r--r-- | python/python3-pyproject-hooks/python3-pyproject-hooks.SlackBuild | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/python/python3-pyproject-hooks/python3-pyproject-hooks.SlackBuild b/python/python3-pyproject-hooks/python3-pyproject-hooks.SlackBuild index acffa128e7..342c1ed675 100644 --- a/python/python3-pyproject-hooks/python3-pyproject-hooks.SlackBuild +++ b/python/python3-pyproject-hooks/python3-pyproject-hooks.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-pyproject-hooks -# Copyright 2023 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pyproject-hooks -SRCNAM=$(echo ${PRGNAM#python3-*} | sed -e "s/-/_/") -VERSION=${VERSION:-1.0.0} +SRCNAM=pyproject_hooks +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -48,20 +48,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -73,9 +59,9 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ python3 -m flit_core.wheel python3 -m installer -d "$PKG" dist/*.whl |