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 | |
parent | c1e7848d340e209f83b1bc8a82ab4c3f5fbe7dce (diff) | |
download | slackbuilds-7b88368d43deb14614c59106fee256b38e27180a.tar.gz slackbuilds-7b88368d43deb14614c59106fee256b38e27180a.tar.xz |
python/python3-jsonschema: Fix deps.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/python3-jsonschema/python3-jsonschema.SlackBuild | 20 | ||||
-rw-r--r-- | python/python3-jsonschema/python3-jsonschema.info | 2 |
2 files changed, 4 insertions, 18 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 diff --git a/python/python3-jsonschema/python3-jsonschema.info b/python/python3-jsonschema/python3-jsonschema.info index 61274b9edd..8f0338be21 100644 --- a/python/python3-jsonschema/python3-jsonschema.info +++ b/python/python3-jsonschema/python3-jsonschema.info @@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/j/jsonschema/jsonschema-4.17.3 MD5SUM="7c65ceb8923c83cb1f22c2b5a86d99b0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-attrs python3-pyrsistent python3-hatch_vcs python3-hatch_fancy_pypi_readme" +REQUIRES="python3-attrs python3-pyrsistent" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" |