Date: Sat, 5 Jun 2021 10:27:15 GMT From: Matthias Andree <mandree@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c82d16a23610 - main - graphics/py-pytesseract: Bump PORTREVISION, add test Message-ID: <202106051027.155ARFjd018400@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=c82d16a23610a57a13e2cb982fffb26a6e3a44a2 commit c82d16a23610a57a13e2cb982fffb26a6e3a44a2 Author: Matthias Andree <mandree@FreeBSD.org> AuthorDate: 2021-06-05 10:13:10 +0000 Commit: Matthias Andree <mandree@FreeBSD.org> CommitDate: 2021-06-05 10:27:00 +0000 graphics/py-pytesseract: Bump PORTREVISION, add test Bump PORTREVISION to pull in py-pillow requisite, missed in 2b87ac22. Add TEST_DEPENDS and do-test for "make test" support (requires py-tox). --- graphics/py-pytesseract/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/graphics/py-pytesseract/Makefile b/graphics/py-pytesseract/Makefile index df1dc4445bd9..b94c50f882b8 100644 --- a/graphics/py-pytesseract/Makefile +++ b/graphics/py-pytesseract/Makefile @@ -1,5 +1,6 @@ PORTNAME= pytesseract PORTVERSION= 0.3.7 +PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,13 +11,17 @@ COMMENT= wrapper for Google's Tesseract OCR engine LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= tesseract:graphics/tesseract \ ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} +TEST_DEPENDS= tesseract:graphics/tesseract \ + ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} USES= localbase python:3.4+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} tox + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106051027.155ARFjd018400>