aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Biberhofer <ports@skyforge.at>2021-09-22 00:15:22 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2021-09-22 00:17:15 +0000
commit8836dd919c658a8e57d07cc75baca39603a9137a (patch)
tree75311d3235982f4d151010939deca030b7658bb7
parent7583c6f81dcf0b411f932f2384d64efbe83eaf9c (diff)
downloadports-8836dd919c658a8e57d07cc75baca39603a9137a.tar.gz
ports-8836dd919c658a8e57d07cc75baca39603a9137a.zip
textproc/py-xmlschema: Bump py-elementpath dependency; Add test target
-rw-r--r--textproc/py-xmlschema/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/textproc/py-xmlschema/Makefile b/textproc/py-xmlschema/Makefile
index 1d5302b22ab2..db2d29a944a2 100644
--- a/textproc/py-xmlschema/Makefile
+++ b/textproc/py-xmlschema/Makefile
@@ -10,12 +10,16 @@ COMMENT= Implementation of XML Schema for Python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elementpath>=2.0.4<3.0.0:textproc/py-elementpath@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elementpath>=2.0.4<3.0.0:textproc/py-elementpath@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elementpath>=2.3.0<3.0.0:textproc/py-elementpath@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elementpath>=2.3.0<3.0.0:textproc/py-elementpath@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
+
.include <bsd.port.mk>