Verified Commit ede77e96 authored by sunpoet's avatar sunpoet
Browse files

www/py-requests-cache0: Remove obsoleted port

Use www/py-requests-cache instead.
parent f698b215
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5250,3 +5250,4 @@ multimedia/dvdstyler||2026-04-16|Dead upstream
emulators/emu64||2026-04-16|Broken, fails to build
databases/py-sqlglotrs|databases/py-sqlglotc|2026-04-18|Remove obsoleted port. Use databases/py-sqlglotc instead
devel/py-prettytable0|devel/py-prettytable|2026-04-18|Remove obsoleted port. Use devel/py-prettytable instead
www/py-requests-cache0|www/py-requests-cache|2026-04-18|Remove obsoleted port. Use www/py-requests-cache instead
+0 −1
Original line number Diff line number Diff line
@@ -1917,7 +1917,6 @@
    SUBDIR += py-requests
    SUBDIR += py-requests-aws4auth
    SUBDIR += py-requests-cache
    SUBDIR += py-requests-cache0
    SUBDIR += py-requests-cache93
    SUBDIR += py-requests-file
    SUBDIR += py-requests-futures

www/py-requests-cache0/Makefile

deleted100644 → 0
+0 −35
Original line number Diff line number Diff line
PORTNAME=	requests-cache
PORTVERSION=	0.9.8
CATEGORIES=	www python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	requests_cache-${PORTVERSION}
PKGNAMESUFFIX=	0

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Persistent cache for python requests
WWW=		https://requests-cache.readthedocs.io/en/stable/ \
		https://github.com/requests-cache/requests-cache

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.4:devel/py-appdirs@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}attrs>=21.2:devel/py-attrs@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}cattrs>=22.2:devel/py-cattrs@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}requests>=2.22:www/py-requests@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}url-normalize>=1.4:net/py-url-normalize@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}urllib3>=1.25.5,1:net/py-urllib3@${PY_FLAVOR}

USES=		python
USE_PYTHON=	autoplist concurrent pep517

NO_ARCH=	yes

PORTSCOUT=	limit:^0\.

do-test:
	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v

.include <bsd.port.mk>

www/py-requests-cache0/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1688166360
SHA256 (requests_cache-0.9.8.tar.gz) = eaed4eb5fd5c392ba5e7cfa000d4ab96b1d32c1a1620f37aa558c43741ac362b
SIZE (requests_cache-0.9.8.tar.gz) = 1508006

www/py-requests-cache0/pkg-descr

deleted100644 → 0
+0 −17
Original line number Diff line number Diff line
requests-cache is a transparent, persistent cache that provides an easy way to
get better performance with the python requests library.

Features:
- Ease of use: Keep using the requests library you're already familiar with. Add
  caching with a drop-in replacement for requests.Session, or install globally
  to add caching to all requests functions.
- Performance: Get sub-millisecond response times for cached responses. When
  they expire, you still save time with conditional requests.
- Persistence: Works with several storage backends including SQLite, Redis,
  MongoDB, and DynamoDB; or save responses as plain JSON files, YAML, and more
- Customization: Works out of the box with zero config, but with a robust set of
  features for configuring and extending the library to suit your needs
- Expiration: Keep your cache fresh using Cache-Control, eagerly cache
  everything for long-term storage, use URL patterns for selective caching, or
  any combination of strategies
- Compatibility: Can be combined with other popular libraries based on requests