From nobody Sun Jul 09 10:33:46 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QzNlb0gLTz4lk9Q; Sun, 9 Jul 2023 10:33:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QzNlb04v7z3vPc; Sun, 9 Jul 2023 10:33:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688898827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JdNFqfm3SmMqUXEmbRpaPI8OhcbJ3RQX5s0wvuoze+A=; b=YjWW6zEVGG/7/Is+9ybDW6v2YZaXm6bODXHs+kTqaauohaIwI7fteT+P3o9JOSuArfdHdI jGQuWAFpjlV1ueyphqO4Us6XVKp0IKpurDdnYvaPAU5WUbTpAmEhdgglesRNeuQP/bBHGs +xK0VijxaLNyLmrE9x1HONeY28S0oMSdbEH9FB0goBBj+zW5mX5xb7WyEnJpfSf2/Po5Tp FZX+ss0/RoAFDIrUN/LEEfhXXk81JpXiif7aJeo/hU/lFvXtYSMLDSa9OF09100wcE4fgN GPD1fMHd4AUWRjjXai3iSQIuC4FVFJS56weXiKYqOHPujF2AujVu8LEQSoW7ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688898827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JdNFqfm3SmMqUXEmbRpaPI8OhcbJ3RQX5s0wvuoze+A=; b=CBCL24fdVKsPyuqWfY+VRFyWlMFjha7JDO55x7Bbxno0h4ocVynq4WqJJrnEGfOlYya2kP KBqpTl0jiBhyOfOlwEZLoOCeLNnKjJpjeabAzKJ11nqTwmt4oej+JaRGN40R7FNbUvpL4S Y+CWpx/s4mt0jjgiFsSA1Ck5SAJxd6M2RKY0CmtwBBbrRiYZRtE6TwPTRUUQEU+sxRD1it 4sosKfe/PJlKbSYijCDcyjoOMp7CCRGGzIs6FZFoQsESuU0m8ARAfef2UeTyfmFJUk1+7N yWVpscP2+5ZX8UQOBd1OTUCGEieBsLl5YJ9ieAPcRpSqCg4/sa8RN5pBCls0dQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688898827; a=rsa-sha256; cv=none; b=UzemJkG5wnXSU+89kEXtiwvw68LrapfrMYA3tVuTEN1j9qAiMVMhhv8orzsKdvj180nOZg uWeqYAKk8sCawPij1vyh+X7MydmjKtbUu/Tnwqw8wYDDEItPWvExylgG1/S09F6QN4lg5r wberMBXD6y2IG8fsvYwS1p6X57Ig7Bh/sq7NAObhrSmuRQnT4/UKiDrodUQzBqttPabcF+ l+XGQtHeICiDWvjBevXGaHgeoTToS9Uv+7sux31s5MgnnkdZeBBbaCMnlsYzZH17KrKwv7 RJXLgjEtdHoutOHV+vp+auKxy4CHgceAd+R/4wXVW32iaORq40psQw0jYrxcwg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QzNlZ61s5zywr; Sun, 9 Jul 2023 10:33:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 369AXkuN055458; Sun, 9 Jul 2023 10:33:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 369AXklA055457; Sun, 9 Jul 2023 10:33:46 GMT (envelope-from git) Date: Sun, 9 Jul 2023 10:33:46 GMT Message-Id: <202307091033.369AXklA055457@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 6dc56803a1c8 - main - www/py-httpx-cache: Add py-httpx-cache 0.11.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6dc56803a1c8e053109e2ff2753bdb0a62aad2f9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6dc56803a1c8e053109e2ff2753bdb0a62aad2f9 commit 6dc56803a1c8e053109e2ff2753bdb0a62aad2f9 Author: Po-Chuan Hsieh AuthorDate: 2023-07-09 10:10:50 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-07-09 10:15:55 +0000 www/py-httpx-cache: Add py-httpx-cache 0.11.0 httpx-cache is an implementation of the caching algorithms in httplib2 and CacheControl for use with httpx transport object. --- www/Makefile | 1 + www/py-httpx-cache/Makefile | 33 +++++++++++++++++++++++++++ www/py-httpx-cache/distinfo | 3 +++ www/py-httpx-cache/files/patch-pyproject.toml | 17 ++++++++++++++ www/py-httpx-cache/pkg-descr | 2 ++ 5 files changed, 56 insertions(+) diff --git a/www/Makefile b/www/Makefile index d61b5bc6b317..83e890728211 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1685,6 +1685,7 @@ SUBDIR += py-httpretty SUBDIR += py-httptools SUBDIR += py-httpx + SUBDIR += py-httpx-cache SUBDIR += py-httpx-gssapi SUBDIR += py-httpx-oauth SUBDIR += py-httpx-socks diff --git a/www/py-httpx-cache/Makefile b/www/py-httpx-cache/Makefile new file mode 100644 index 000000000000..99a51b820195 --- /dev/null +++ b/www/py-httpx-cache/Makefile @@ -0,0 +1,33 @@ +PORTNAME= httpx-cache +PORTVERSION= 0.11.0 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= httpx_cache-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Simple caching transport for httpx +WWW= https://obendidi.github.io/httpx-cache/ \ + https://github.com/obendidi/httpx-cache + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiorwlock>=1.2<2:devel/py-aiorwlock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}anyio>=3.0<4:devel/py-anyio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}attrs>=21.4:devel/py-attrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fasteners>=0.16.3:devel/py-fasteners@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpx>=0.23:www/py-httpx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}msgpack>=1.0<2:devel/py-msgpack@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +OPTIONS_DEFINE= REDIS + +REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=4.5<5:databases/py-redis@${PY_FLAVOR} + +.include diff --git a/www/py-httpx-cache/distinfo b/www/py-httpx-cache/distinfo new file mode 100644 index 000000000000..e0ff755e645d --- /dev/null +++ b/www/py-httpx-cache/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688166038 +SHA256 (httpx_cache-0.11.0.tar.gz) = de2614530f890444cf7947c6c91062a024a3ea9f786ce075ecf09742bc0739f1 +SIZE (httpx_cache-0.11.0.tar.gz) = 58406 diff --git a/www/py-httpx-cache/files/patch-pyproject.toml b/www/py-httpx-cache/files/patch-pyproject.toml new file mode 100644 index 000000000000..52b91ef6c228 --- /dev/null +++ b/www/py-httpx-cache/files/patch-pyproject.toml @@ -0,0 +1,17 @@ +--- pyproject.toml.orig 2020-02-02 00:00:00 UTC ++++ pyproject.toml +@@ -33,11 +33,11 @@ classifiers = [ + "Programming Language :: Python :: 3 :: Only", + ] + dependencies = [ +- "httpx~=0.23", ++ "httpx>=0.23", + "anyio~=3.0", + "msgpack~=1.0", +- "fasteners>=0.16.3,<0.18.0", +- "attrs>=21.4,<23.0", ++ "fasteners>=0.16.3", ++ "attrs>=21.4", + "aiorwlock~=1.2" + ] + diff --git a/www/py-httpx-cache/pkg-descr b/www/py-httpx-cache/pkg-descr new file mode 100644 index 000000000000..e86551f98738 --- /dev/null +++ b/www/py-httpx-cache/pkg-descr @@ -0,0 +1,2 @@ +httpx-cache is an implementation of the caching algorithms in httplib2 and +CacheControl for use with httpx transport object.