diff options
Diffstat (limited to 'www/py-httpx-aiohttp')
-rw-r--r-- | www/py-httpx-aiohttp/Makefile | 33 | ||||
-rw-r--r-- | www/py-httpx-aiohttp/distinfo | 3 | ||||
-rw-r--r-- | www/py-httpx-aiohttp/pkg-descr | 4 |
3 files changed, 40 insertions, 0 deletions
diff --git a/www/py-httpx-aiohttp/Makefile b/www/py-httpx-aiohttp/Makefile new file mode 100644 index 000000000000..4b7bacc9e4aa --- /dev/null +++ b/www/py-httpx-aiohttp/Makefile @@ -0,0 +1,33 @@ +PORTNAME= httpx-aiohttp +DISTVERSION= 0.1.8 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION} + +MAINTAINER= tagattie@FreeBSD.org +COMMENT= Aiohttp transport for HTTPX +WWW= https://github.com/karpetrosyan/httpx-aiohttp + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.10.0<4:www/py-aiohttp@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpx>=0.27.0:www/py-httpx@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +PORTDOCS= CHANGELOG.md README.md + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/www/py-httpx-aiohttp/distinfo b/www/py-httpx-aiohttp/distinfo new file mode 100644 index 000000000000..f6bd48c61f87 --- /dev/null +++ b/www/py-httpx-aiohttp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1751698327 +SHA256 (httpx_aiohttp-0.1.8.tar.gz) = 756c5e74cdb568c3248ba63fe82bfe8bbe64b928728720f7eaac64b3cf46f308 +SIZE (httpx_aiohttp-0.1.8.tar.gz) = 25401 diff --git a/www/py-httpx-aiohttp/pkg-descr b/www/py-httpx-aiohttp/pkg-descr new file mode 100644 index 000000000000..2a54067663a9 --- /dev/null +++ b/www/py-httpx-aiohttp/pkg-descr @@ -0,0 +1,4 @@ +httpx-aiohttp provides transports for httpx to work on top of aiohttp, +handling all high-level features like authentication, retries, and +cookies through httpx, while delegating low-level socket-level HTTP +messaging to aiohttp. |