aboutsummaryrefslogtreecommitdiff
path: root/python/python3-yarl
diff options
context:
space:
mode:
authorJay Lanagan <1995739+mac-a-r0ni@users.noreply.github.com>2025-02-27 02:15:45 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-02-27 20:54:39 +0700
commit99fea87c2a8097365f826f50df28c97b2c9be39a (patch)
tree8125f4835b1330a14fdc95397c1b79a9ec48128f /python/python3-yarl
parent823150fa50509ee69e188511459bb8d00599d12a (diff)
python/python3-yarl: Updated for version 1.18.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-yarl')
-rw-r--r--python/python3-yarl/python3-yarl.SlackBuild10
-rw-r--r--python/python3-yarl/python3-yarl.info8
2 files changed, 11 insertions, 7 deletions
diff --git a/python/python3-yarl/python3-yarl.SlackBuild b/python/python3-yarl/python3-yarl.SlackBuild
index 3f1eecd7c9..ef679680c3 100644
--- a/python/python3-yarl/python3-yarl.SlackBuild
+++ b/python/python3-yarl/python3-yarl.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for python3-yarl
# Copyright 2019-2023 Isaac Yu <isaacyu@protonmail.com>
-# Maintained 2023-2024 by Jay Lanagan (j@lngn.net), Detroit, MI, USA.
+# Maintained 2023-2025 by Jay Lanagan (j@lngn.net), Detroit, MI, USA.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-yarl
-VERSION=${VERSION:-1.15.2}
+VERSION=${VERSION:-1.18.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -65,7 +65,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python3 -m build --config-setting=--pure-python=false --no-isolation || exit 1
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH="/opt/python$PYVER/site-packages:/opt/cython/python$PYVER/site-packages"
+export PATH="/opt/cython/bin:$PATH"
+
+python3 -m build --wheel --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 \
diff --git a/python/python3-yarl/python3-yarl.info b/python/python3-yarl/python3-yarl.info
index c203d6700d..a5ff7ccf64 100644
--- a/python/python3-yarl/python3-yarl.info
+++ b/python/python3-yarl/python3-yarl.info
@@ -1,10 +1,10 @@
PRGNAM="python3-yarl"
-VERSION="1.15.2"
+VERSION="1.18.3"
HOMEPAGE="https://yarl.readthedocs.io/en/stable/"
-DOWNLOAD="https://github.com/aio-libs/yarl/archive/v1.15.2/yarl-1.15.2.tar.gz"
-MD5SUM="6ef6de7be94644f12f42e5e783c34ca8"
+DOWNLOAD="https://github.com/aio-libs/yarl/archive/v1.18.3/yarl-1.18.3.tar.gz"
+MD5SUM="a38356128a638c89edf36f69c2234619"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-expandvars python3-multidict python3-typing-extensions python3-propcache"
+REQUIRES="python3-expandvars python3-multidict python3-typing-extensions python3-propcache python3-cython-opt"
MAINTAINER="Jay Lanagan"
EMAIL="j@lngn.net"