diff --git a/srcpkgs/python3-httpx/patches/drop-fancy-pypi-readme.patch b/srcpkgs/python3-httpx/patches/drop-fancy-pypi-readme.patch new file mode 100644 index 00000000000..a1e4436e00b --- /dev/null +++ b/srcpkgs/python3-httpx/patches/drop-fancy-pypi-readme.patch @@ -0,0 +1,22 @@ +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["hatchling", "hatch-fancy-pypi-readme"] ++requires = ["hatchling"] + build-backend = "hatchling.build" + + [project] +@@ -70,12 +70,3 @@ + "/CHANGELOG.md", + "/README.md", + ] +- +-[tool.hatch.metadata.hooks.fancy-pypi-readme] +-content-type = "text/markdown" +- +-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] +-path = "README.md" +- +-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] +-path = "CHANGELOG.md" diff --git a/srcpkgs/python3-httpx/template b/srcpkgs/python3-httpx/template index 5a9778aaba9..70daf15141c 100644 --- a/srcpkgs/python3-httpx/template +++ b/srcpkgs/python3-httpx/template @@ -1,9 +1,9 @@ # Template file for 'python3-httpx' pkgname=python3-httpx -version=0.23.0 -revision=2 -build_style=python3-module -hostmakedepends="python3-setuptools" +version=0.23.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-poetry-core hatchling hatch" depends="python3-rfc3986 python3-certifi python3-charset-normalizer python3-sniffio python3-httpcore python3-click python3-rich python3-Pygments python3-h2" @@ -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=f28eac771ec9eb4866d3fb4ab65abd42d38c424739e80c08d8d20570de60b0ef +checksum=202ae15319be24efe9a8bd4ed4360e68fde7b38bcc2ce87088d416f026667d19 # the pypi tarball doesn't contain tests # the tests need unpackaged dependencies trustme and uvicorn make_check=no