git: 3b6bc974afe6 - main - www/py-httpx-cache: Update to 0.12.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 16 Aug 2023 18:33:21 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b6bc974afe6ce1488e640ecb240ea539853394e

commit 3b6bc974afe6ce1488e640ecb240ea539853394e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-16 18:13:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-16 18:25:43 +0000

    www/py-httpx-cache: Update to 0.12.0
    
    Changes:        https://github.com/obendidi/httpx-cache/releases
---
 www/py-httpx-cache/Makefile                   |  6 +++---
 www/py-httpx-cache/distinfo                   |  6 +++---
 www/py-httpx-cache/files/patch-pyproject.toml | 12 +++---------
 3 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/www/py-httpx-cache/Makefile b/www/py-httpx-cache/Makefile
index 99a51b820195..6629f6fcbafa 100644
--- a/www/py-httpx-cache/Makefile
+++ b/www/py-httpx-cache/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	httpx-cache
-PORTVERSION=	0.11.0
+PORTVERSION=	0.12.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,9 +16,9 @@ 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}attrs>=21.4<24.0: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}httpx>=0.23<1:www/py-httpx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}msgpack>=1.0<2:devel/py-msgpack@${PY_FLAVOR}
 
 USES=		python
diff --git a/www/py-httpx-cache/distinfo b/www/py-httpx-cache/distinfo
index e0ff755e645d..309268b73ef2 100644
--- a/www/py-httpx-cache/distinfo
+++ b/www/py-httpx-cache/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688166038
-SHA256 (httpx_cache-0.11.0.tar.gz) = de2614530f890444cf7947c6c91062a024a3ea9f786ce075ecf09742bc0739f1
-SIZE (httpx_cache-0.11.0.tar.gz) = 58406
+TIMESTAMP = 1691070182
+SHA256 (httpx_cache-0.12.0.tar.gz) = 7da09e0ee9e0c33a8768f9f118cbc91edb87d6cd32507a69d3b2f35b43ee4bd2
+SIZE (httpx_cache-0.12.0.tar.gz) = 58411
diff --git a/www/py-httpx-cache/files/patch-pyproject.toml b/www/py-httpx-cache/files/patch-pyproject.toml
index 52b91ef6c228..39f15b5b40c0 100644
--- a/www/py-httpx-cache/files/patch-pyproject.toml
+++ b/www/py-httpx-cache/files/patch-pyproject.toml
@@ -1,17 +1,11 @@
 --- 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",
+@@ -36,7 +36,7 @@ dependencies = [
+   "httpx>=0.23,<1",
    "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",
+   "attrs>=21.4,<24.0",
    "aiorwlock~=1.2"
  ]
-