diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-04-01 02:15:34 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:19 +0700 |
commit | 7b88368d43deb14614c59106fee256b38e27180a (patch) | |
tree | 08f735344be67f46afd4663bcca2b92c2df57bf1 /python/python3-jsonschema/python3-jsonschema.SlackBuild | |
parent | c1e7848d340e209f83b1bc8a82ab4c3f5fbe7dce (diff) |
python/python3-jsonschema: Fix deps.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-jsonschema/python3-jsonschema.SlackBuild')
-rw-r--r-- | python/python3-jsonschema/python3-jsonschema.SlackBuild | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/python/python3-jsonschema/python3-jsonschema.SlackBuild b/python/python3-jsonschema/python3-jsonschema.SlackBuild index 3c67f7a17a..4e78831f1e 100644 --- a/python/python3-jsonschema/python3-jsonschema.SlackBuild +++ b/python/python3-jsonschema/python3-jsonschema.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-jsonschema -# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # Based on jsonschema by Dimitris Zlatanidis # All rights reserved. @@ -52,20 +52,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 @@ -77,9 +63,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 build --no-isolation python3 -m installer -d "$PKG" dist/*.whl |