diff --git a/srcpkgs/python3-httpcore/patches/remove-pypi-readme.patch b/srcpkgs/python3-httpcore/patches/remove-pypi-readme.patch new file mode 100644 index 00000000000..140167a0210 --- /dev/null +++ b/srcpkgs/python3-httpcore/patches/remove-pypi-readme.patch @@ -0,0 +1,25 @@ +--- 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] +@@ -57,15 +57,6 @@ + "/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" +- + [tool.mypy] + strict = true + show_error_codes = true diff --git a/srcpkgs/python3-httpcore/template b/srcpkgs/python3-httpcore/template index 57c23383eaf..96619de9fdd 100644 --- a/srcpkgs/python3-httpcore/template +++ b/srcpkgs/python3-httpcore/template @@ -1,19 +1,19 @@ # Template file for 'python3-httpcore' pkgname=python3-httpcore -version=0.17.3 +version=0.18.0 revision=1 -build_style=python3-module -hostmakedepends="python3-setuptools" +build_style=python3-pep517 +hostmakedepends="python3-poetry-core hatchling" depends="python3-h11 python3-sniffio python3-anyio python3-h2 python3-certifi - python3-trio" -checkdepends="$depends python3-pytest python3-trustme" + python3-trio python3-socksio" +checkdepends="$depends python3-pytest python3-pytest-trio python3-trustme" short_desc="Minimal HTTP client" maintainer="Andrew Benson " license="BSD-3-Clause" homepage="https://www.encode.io/httpcore/" changelog="https://raw.githubusercontent.com/encode/httpcore/master/CHANGELOG.md" distfiles="https://github.com/encode/httpcore/archive/refs/tags/$version.tar.gz" -checksum=ece7948107e9214c2202b32b228ddc9391c76d87279aa38ade1b5ff575d35a05 +checksum=0280df5defe0091029f2dbbfb50c4107597e78f8cc0d24577c4d99acb6621692 post_install() { vlicense LICENSE.md