diff --git a/www/py-requests-cache93/Makefile b/www/py-requests-cache93/Makefile index 45845b0f89ab..841a75d5a78e 100644 --- a/www/py-requests-cache93/Makefile +++ b/www/py-requests-cache93/Makefile @@ -1,31 +1,32 @@ PORTNAME= requests-cache PORTVERSION= 0.9.3 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 93 MAINTAINER= bofh@FreeBSD.org COMMENT= Transparent persistent cache for the requests library (0.9.3 branch) LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.4<2.0.0:devel/py-appdirs@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}attrs>=21.2<22.0:devel/py-attrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}attrs>=21.2:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cattrs>=1.8<22.2:devel/py-cattrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.22<3.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}url-normalize>=1.4<2.0:net/py-url-normalize@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.25.5,1<2.0.0,1:net/py-urllib3@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes PORTSCOUT= ignore:1 do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include diff --git a/www/py-requests-cache93/files/patch-setup.py b/www/py-requests-cache93/files/patch-setup.py new file mode 100644 index 000000000000..6cadfb7e8e49 --- /dev/null +++ b/www/py-requests-cache93/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 1970-01-01 00:00:00 UTC ++++ setup.py +@@ -12,7 +12,7 @@ package_data = \ + + install_requires = \ + ['appdirs>=1.4.4,<2.0.0', +- 'attrs>=21.2,<22.0', ++ 'attrs>=21.2', + 'cattrs>=1.8,<22.2', + 'requests>=2.22,<3.0', + 'url-normalize>=1.4,<2.0',