git: 05c5bc0d6ec4 - main - www/py-httpx-cache: Remove obsoleted port

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 15 Aug 2024 11:54:23 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=05c5bc0d6ec4186271f0b17cfdf8ad54ede783e3

commit 05c5bc0d6ec4186271f0b17cfdf8ad54ede783e3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-15 09:35:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-15 10:55:24 +0000

    www/py-httpx-cache: Remove obsoleted port
    
    Use devel/py-hishel instead.
---
 MOVED                                         |  1 +
 www/Makefile                                  |  1 -
 www/py-httpx-cache/Makefile                   | 33 ---------------------------
 www/py-httpx-cache/distinfo                   |  3 ---
 www/py-httpx-cache/files/patch-pyproject.toml | 14 ------------
 www/py-httpx-cache/pkg-descr                  |  2 --
 6 files changed, 1 insertion(+), 53 deletions(-)

diff --git a/MOVED b/MOVED
index fcff2f87dc98..7b7aa7c9a4d6 100644
--- a/MOVED
+++ b/MOVED
@@ -3434,3 +3434,4 @@ textproc/wbxml2|textproc/libwbxml|2024-08-15|Move textproc/wbxml2 to textproc/li
 graphics/libwmf-nox11|graphics/libwmf@nox11|2024-08-15|graphics/libwmf adds nox11 flavor. Use graphics/libwmf@nox11 instead
 net/mtr-nox11|net/mtr@nox11|2024-08-15|Remove obsoleted port. Use net/mtr@nox11 instead
 databases/py-redis4|databases/py-redis|2024-08-15|Remove obsoleted port. Use databases/py-redis instead
+www/py-httpx-cache|devel/py-hishel|2024-08-15|Remove obsoleted port. Use devel/py-hishel instead
diff --git a/www/Makefile b/www/Makefile
index 873ffc544aa7..40d3321570d9 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1724,7 +1724,6 @@
     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
deleted file mode 100644
index bc6b3558859b..000000000000
--- a/www/py-httpx-cache/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-PORTNAME=	httpx-cache
-PORTVERSION=	0.13.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:devel/py-anyio@${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<1: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}redis4>=4.5<5:databases/py-redis4@${PY_FLAVOR}
-
-.include <bsd.port.mk>
diff --git a/www/py-httpx-cache/distinfo b/www/py-httpx-cache/distinfo
deleted file mode 100644
index 26efc9a432ec..000000000000
--- a/www/py-httpx-cache/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1695143387
-SHA256 (httpx_cache-0.13.0.tar.gz) = 12a2798f968100f985b5d05600609fb96fc7053ec46063555f041e9a1c5f8306
-SIZE (httpx_cache-0.13.0.tar.gz) = 58821
diff --git a/www/py-httpx-cache/files/patch-pyproject.toml b/www/py-httpx-cache/files/patch-pyproject.toml
deleted file mode 100644
index 03d4e2170354..000000000000
--- a/www/py-httpx-cache/files/patch-pyproject.toml
+++ /dev/null
@@ -1,14 +0,0 @@
---- pyproject.toml.orig	2020-02-02 00:00:00 UTC
-+++ pyproject.toml
-@@ -34,9 +34,9 @@ classifiers = [
- ]
- dependencies = [
-   "httpx>=0.23,<1",
--  "anyio~=3.0",
-+  "anyio>=3.0",
-   "msgpack~=1.0",
--  "fasteners>=0.16.3,<0.18.0",
-+  "fasteners>=0.16.3",
-   "attrs>=21.4,<24.0",
-   "aiorwlock~=1.2",
- ]
diff --git a/www/py-httpx-cache/pkg-descr b/www/py-httpx-cache/pkg-descr
deleted file mode 100644
index e86551f98738..000000000000
--- a/www/py-httpx-cache/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-httpx-cache is an implementation of the caching algorithms in httplib2 and
-CacheControl for use with httpx transport object.