aboutsummaryrefslogtreecommitdiff
path: root/python/python3-yarl/python3-yarl.SlackBuild
diff options
context:
space:
mode:
authorJay Lanagan <j@lngn.net>2023-11-25 07:27:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-25 21:43:34 +0700
commitd1ea3a102cdc37a9f0b8da03d2acb19a7f3bedbe (patch)
tree7b71158aacd3b819a848581c57afd1fbb5f68c22 /python/python3-yarl/python3-yarl.SlackBuild
parent9936592c0cc914a95d48c5d27227f8b2b48aeb80 (diff)
python/python3-yarl: Updated for version 1.9.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-yarl/python3-yarl.SlackBuild')
-rw-r--r--python/python3-yarl/python3-yarl.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/python/python3-yarl/python3-yarl.SlackBuild b/python/python3-yarl/python3-yarl.SlackBuild
index d3a0fb5461..6ace5fbab4 100644
--- a/python/python3-yarl/python3-yarl.SlackBuild
+++ b/python/python3-yarl/python3-yarl.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-yarl
-VERSION=${VERSION:-1.9.2}
+VERSION=${VERSION:-1.9.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,9 +67,12 @@ find -L . \
# Workaround taken from Arch Linux PKGBUILD
# https://github.com/archlinux/svntogit-community/blob/packages/python-yarl/trunk/PKGBUILD
-sed 's| .install-cython ||g' -i Makefile
-make cythonize
-python3 setup.py install --root=$PKG
+#sed 's| .install-cython ||g' -i Makefile
+#make cythonize
+#python3 setup.py install --root=$PKG
+
+python3 -m build --config-setting=--pure-python= --no-isolation || exit 1
+python3 -m installer -d "$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