mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
python/python3-httpx: Updated for version 0.23.3.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4a981ec217
commit
5589356a8a
2 changed files with 7 additions and 10 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for python3-httpx
|
||||
|
||||
# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
|
||||
# Copyright 2022-2023 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=$(echo $PRGNAM | sed 's/python3-//')
|
||||
VERSION=${VERSION:-0.23.1}
|
||||
VERSION=${VERSION:-0.23.3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -42,9 +42,6 @@ if [ -z "$ARCH" ]; then
|
|||
esac
|
||||
fi
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
|
@ -79,9 +76,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 {} \+
|
||||
|
||||
#remove upper version requirement from pyproject.toml and PKG-INFO
|
||||
/usr/bin/sed -i 's/,<[0-9].*\",$/\",/' pyproject.toml
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="python3-httpx"
|
||||
VERSION="0.23.1"
|
||||
VERSION="0.23.3"
|
||||
HOMEPAGE="https://github.com/encode/httpx"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/h/httpx/httpx-0.23.1.tar.gz"
|
||||
MD5SUM="76bc821eccbacc59ca337f537d0f3b46"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/h/httpx/httpx-0.23.3.tar.gz"
|
||||
MD5SUM="921ced753cbfeff7d0a8ba80ca455985"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="python3-rfc3986 python3-sniffio python3-httpcore python3-rich click python3-hatch_fancy_pypi_readme"
|
||||
|
|
Loading…
Reference in a new issue