Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2021 00:18:23 GMT
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8836dd919c65 - main - textproc/py-xmlschema: Bump py-elementpath dependency; Add test target
Message-ID:  <202109220018.18M0INhS088781@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dbaio:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8836dd919c658a8e57d07cc75baca39603a9137a

commit 8836dd919c658a8e57d07cc75baca39603a9137a
Author:     Sascha Biberhofer <ports@skyforge.at>
AuthorDate: 2021-09-22 00:15:22 +0000
Commit:     Danilo G. Baio <dbaio@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109220018.18M0INhS088781>