diff --git a/srcpkgs/python3-httpx/patches/drop-fancy-pypi-readme.patch b/srcpkgs/python3-httpx/patches/drop-fancy-pypi-readme.patch index a1e4436e00b..88fff64a9d9 100644 --- a/srcpkgs/python3-httpx/patches/drop-fancy-pypi-readme.patch +++ b/srcpkgs/python3-httpx/patches/drop-fancy-pypi-readme.patch @@ -7,7 +7,7 @@ build-backend = "hatchling.build" [project] -@@ -70,12 +70,3 @@ +@@ -70,23 +70,3 @@ "/CHANGELOG.md", "/README.md", ] @@ -19,4 +19,15 @@ -path = "README.md" - -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] +-text = "\n## Release Information\n\n" +- +-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] -path = "CHANGELOG.md" +-pattern = "\n(###.+?\n)## " +- +-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] +-text = "\n---\n\n[Full changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)\n" +- +-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]] +-pattern = 'src="(docs/img/.*?)"' +-replacement = 'src="https://raw.githubusercontent.com/encode/httpx/master/\1"' diff --git a/srcpkgs/python3-httpx/template b/srcpkgs/python3-httpx/template index 04d0c0dd83c..ff0c1e98466 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.2 +version=0.23.3 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=e824a6fa18ffaa6423c6f3a32d5096fc15bd8dff43663a223f06242fc69451a8 +checksum=9818458eb565bb54898ccb9b8b251a28785dd4a55afbc23d0eb410754fe7d0f9 # the pypi tarball doesn't contain tests # the tests need unpackaged dependencies trustme and uvicorn make_check=no