From 38a688a68f1045efcdec7b5e7f90f2334e9d465e Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Wed, 12 Apr 2023 17:58:44 -0500 Subject: [PATCH] python3-httpx: update to 0.24.0. --- .../patches/drop-fancy-pypi-readme.patch | 11 ++++++++--- srcpkgs/python3-httpx/template | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-httpx/patches/drop-fancy-pypi-readme.patch b/srcpkgs/python3-httpx/patches/drop-fancy-pypi-readme.patch index 88fff64a9d9..5f2567cc3d9 100644 --- a/srcpkgs/python3-httpx/patches/drop-fancy-pypi-readme.patch +++ b/srcpkgs/python3-httpx/patches/drop-fancy-pypi-readme.patch @@ -7,11 +7,12 @@ build-backend = "hatchling.build" [project] -@@ -70,23 +70,3 @@ - "/CHANGELOG.md", +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -71,26 +71,6 @@ "/README.md", ] -- + -[tool.hatch.metadata.hooks.fancy-pypi-readme] -content-type = "text/markdown" - @@ -31,3 +32,7 @@ -[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]] -pattern = 'src="(docs/img/.*?)"' -replacement = 'src="https://raw.githubusercontent.com/encode/httpx/master/\1"' +- + # https://beta.ruff.rs/docs/configuration/#using-rufftoml + [tool.ruff] + select = ["E", "F", "I", "B", "PIE"] diff --git a/srcpkgs/python3-httpx/template b/srcpkgs/python3-httpx/template index ff0c1e98466..429ac7f8669 100644 --- a/srcpkgs/python3-httpx/template +++ b/srcpkgs/python3-httpx/template @@ -1,6 +1,6 @@ # Template file for 'python3-httpx' pkgname=python3-httpx -version=0.23.3 +version=0.24.0 revision=1 build_style=python3-pep517 hostmakedepends="python3-poetry-core hatchling" @@ -13,7 +13,7 @@ license="BSD-3-Clause" homepage="https://www.python-httpx.org" changelog="https://raw.githubusercontent.com/encode/httpx/master/CHANGELOG.md" distfiles="${PYPI_SITE}/h/httpx/httpx-${version}.tar.gz" -checksum=9818458eb565bb54898ccb9b8b251a28785dd4a55afbc23d0eb410754fe7d0f9 +checksum=507d676fc3e26110d41df7d35ebd8b3b8585052450f4097401c9be59d928c63e # the pypi tarball doesn't contain tests # the tests need unpackaged dependencies trustme and uvicorn make_check=no