git: 8836dd919c65 - main - textproc/py-xmlschema: Bump py-elementpath dependency; Add test target
Danilo G. Baio
dbaio at FreeBSD.org
Wed Sep 22 00:18:24 UTC 2021
The branch main has been updated by dbaio:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8836dd919c658a8e57d07cc75baca39603a9137a
commit 8836dd919c658a8e57d07cc75baca39603a9137a
Author: Sascha Biberhofer <ports at skyforge.at>
AuthorDate: 2021-09-22 00:15:22 +0000
Commit: Danilo G. Baio <dbaio at FreeBSD.org>
CommitDate: 2021-09-22 00:17:15 +0000
textproc/py-xmlschema: Bump py-elementpath dependency; Add test target
https://github.com/sissaschool/xmlschema/issues/260
PR: 258610
---
textproc/py-xmlschema/Makefile | 8 ++++++--
1 file 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>
More information about the dev-commits-ports-all
mailing list