aboutsummaryrefslogtreecommitdiff
path: root/www/py-soupsieve/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-soupsieve/Makefile')
-rw-r--r--www/py-soupsieve/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/www/py-soupsieve/Makefile b/www/py-soupsieve/Makefile
index 39227dae726a..3b5252113d70 100644
--- a/www/py-soupsieve/Makefile
+++ b/www/py-soupsieve/Makefile
@@ -1,6 +1,5 @@
PORTNAME= soupsieve
-PORTVERSION= 2.0.1
-PORTREVISION= 1
+PORTVERSION= 2.7
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,17 +11,14 @@ WWW= https://github.com/facelessuser/soupsieve
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0.21.1:devel/py-hatchling@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml5>0:devel/py-lxml5@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}beautifulsoup>4:www/py-beautifulsoup@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes
-do-test:
- cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
-
.include <bsd.port.mk>