diff --git a/www/py-asgi-csrf/Makefile b/www/py-asgi-csrf/Makefile index c6144c40c35d..c22f1c80bf87 100644 --- a/www/py-asgi-csrf/Makefile +++ b/www/py-asgi-csrf/Makefile @@ -1,9 +1,9 @@ PORTNAME= asgi-csrf -PORTVERSION= 0.9 -PORTREVISION= 1 +DISTVERSION= 0.11 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= ASGI middleware for protecting against CSRF attacks @@ -12,8 +12,10 @@ WWW= https://github.com/simonw/asgi-csrf LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}python-multipart>=0:www/py-python-multipart@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}python-multipart>=0.0.13:www/py-python-multipart@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgi-lifespan>0:devel/py-asgi-lifespan@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx>0:www/py-httpx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR} \ @@ -21,8 +23,10 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgi-lifespan>0:devel/py-asgi-lifespan@${PY ${PYTHON_PKGNAMEPREFIX}starlette>0:www/py-starlette@${PY_FLAVOR} USES= python -USE_PYTHON= distutils autoplist pytest # setup.py has test dependencies, but there are no tests in the repository, see https://github.com/simonw/asgi-csrf/issues/23 +USE_PYTHON= pep517 autoplist pytest # setup.py has test dependencies, but there are no tests in the repository, see https://github.com/simonw/asgi-csrf/issues/23 NO_ARCH= yes +# tests as of 0.11: 48 passed, 1 warning in 0.59s + .include diff --git a/www/py-asgi-csrf/distinfo b/www/py-asgi-csrf/distinfo index a54b253c097a..c79bb0c5d53c 100644 --- a/www/py-asgi-csrf/distinfo +++ b/www/py-asgi-csrf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1671254658 -SHA256 (asgi-csrf-0.9.tar.gz) = 6e9d3bddaeac1a8fd33b188fe2abc8271f9085ab7be6e1a7f4d3c9df5d7f741a -SIZE (asgi-csrf-0.9.tar.gz) = 10300 +TIMESTAMP = 1744349119 +SHA256 (asgi_csrf-0.11.tar.gz) = e19a4f87d5af3feabde04c57921ee15510c3bfb0565627df9cb20bcb303282c2 +SIZE (asgi_csrf-0.11.tar.gz) = 14044