diff --git a/textproc/py-ufal.udpipe/Makefile b/textproc/py-ufal.udpipe/Makefile index e65cb9154451..df0208206d81 100644 --- a/textproc/py-ufal.udpipe/Makefile +++ b/textproc/py-ufal.udpipe/Makefile @@ -1,21 +1,31 @@ PORTNAME= ufal.udpipe -PORTVERSION= 1.2.0.3 -PORTREVISION= 1 +PORTVERSION= 1.4.0.1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python bindings to UDPipe library for parsing universal treebanks WWW= https://ufal.mff.cuni.cz/udpipe LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe NOT_FOR_ARCHS_REASON= Only little endian systems are supported! +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + USES= compiler:c++11-lang python -USE_PYTHON= distutils autoplist +USE_PYTHON= pep517 autoplist pytest + +WRKSRC= ${WRKDIR}/ufal_udpipe-${PORTVERSION} + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/tests +TEST_ARGS= -p no:black -p no:mypy + +# tests as of 1.4.0.1: 2 passed in 4.94s .include diff --git a/textproc/py-ufal.udpipe/distinfo b/textproc/py-ufal.udpipe/distinfo index 25237b4e7223..b2da7462069e 100644 --- a/textproc/py-ufal.udpipe/distinfo +++ b/textproc/py-ufal.udpipe/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1578029340 -SHA256 (ufal.udpipe-1.2.0.3.tar.gz) = ea0a339840c6072a677937dc38cda03455dec0359db468e091a92393309c48cd -SIZE (ufal.udpipe-1.2.0.3.tar.gz) = 304109 +TIMESTAMP = 1785898802 +SHA256 (ufal.udpipe-1.4.0.1.tar.gz) = 42b3c19888f3228ffb6d91c0991c949e378c5dafecc12008c089a1f4182357d7 +SIZE (ufal.udpipe-1.4.0.1.tar.gz) = 356800