aboutsummaryrefslogtreecommitdiff
path: root/python/python3-httpx/python3-httpx.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2025-04-23 14:26:02 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-04-26 10:17:40 +0700
commit0123152db83129bd1422a8fa6483aa0ffad23556 (patch)
treecb29ba88f16a5a92e8bf2b594751889f76472761 /python/python3-httpx/python3-httpx.SlackBuild
parent6e03b3c26661c57026d34ef7bbb19d51e05f73ff (diff)
python/python3-httpx: Updated for version 0.28.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-httpx/python3-httpx.SlackBuild')
-rw-r--r--python/python3-httpx/python3-httpx.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/python/python3-httpx/python3-httpx.SlackBuild b/python/python3-httpx/python3-httpx.SlackBuild
index 9c54101cb3..489ce8e790 100644
--- a/python/python3-httpx/python3-httpx.SlackBuild
+++ b/python/python3-httpx/python3-httpx.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-httpx
-# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-httpx
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-0.23.3}
+VERSION=${VERSION:-0.28.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,10 +69,6 @@ find -L . \
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages
-#remove upper version requirement from pyproject.toml and PKG-INFO
-/usr/bin/sed -i 's/,<[0-9].*\",$/\",/' pyproject.toml
-/usr/bin/sed -i 's/<[0-9].*,//' PKG-INFO
-
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl