aboutsummaryrefslogtreecommitdiff
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
parent9936592c0cc914a95d48c5d27227f8b2b48aeb80 (diff)
python/python3-yarl: Updated for version 1.9.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-yarl/python3-yarl.SlackBuild11
-rw-r--r--python/python3-yarl/python3-yarl.info8
2 files changed, 11 insertions, 8 deletions
diff --git a/python/python3-yarl/python3-yarl.SlackBuild b/python/python3-yarl/python3-yarl.SlackBuild
index d3a0fb5461a6d..6ace5fbab43d9 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
diff --git a/python/python3-yarl/python3-yarl.info b/python/python3-yarl/python3-yarl.info
index f3a001ff98fef..c802ae93540f9 100644
--- a/python/python3-yarl/python3-yarl.info
+++ b/python/python3-yarl/python3-yarl.info
@@ -1,10 +1,10 @@
PRGNAM="python3-yarl"
-VERSION="1.9.2"
+VERSION="1.9.3"
HOMEPAGE="https://yarl.readthedocs.io/en/stable/"
-DOWNLOAD="https://github.com/aio-libs/yarl/archive/v1.9.2/yarl-1.9.2.tar.gz"
-MD5SUM="3919df684a446d7fe6c5181a580efaa2"
+DOWNLOAD="https://github.com/aio-libs/yarl/archive/v1.9.3/yarl-1.9.3.tar.gz"
+MD5SUM="9562cc899e8f00b54a035a6ed6c6b0b0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-multidict"
+REQUIRES="python3-expandvars python3-multidict typing-extensions"
MAINTAINER="Jay Lanagan"
EMAIL="j@lngn.net"