diff --git a/graphics/py-pytesseract/Makefile b/graphics/py-pytesseract/Makefile index b94c50f882b8..537038b60783 100644 --- a/graphics/py-pytesseract/Makefile +++ b/graphics/py-pytesseract/Makefile @@ -1,27 +1,35 @@ PORTNAME= pytesseract -PORTVERSION= 0.3.7 -PORTREVISION= 1 +PORTVERSION= 0.3.8 +DISTVERSIONPREFIX= v CATEGORIES= graphics python -MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= mandree@FreeBSD.org COMMENT= wrapper for Google's Tesseract OCR engine LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= tesseract:graphics/tesseract \ ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -TEST_DEPENDS= tesseract:graphics/tesseract \ +TEST_DEPENDS= ${RUN_DEPENDS} \ + ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} USES= localbase python:3.4+ +USE_GITHUB= yes +GH_ACCOUNT= madmaze USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes do-test: - cd ${WRKSRC} && ${SETENV} ${TEST_ENV} tox + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} tox -e ${PY_FLAVOR} --sitepackages -.include +.include + +.if ${PYTHON_REL} >= 30800 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} +.endif + +.include diff --git a/graphics/py-pytesseract/distinfo b/graphics/py-pytesseract/distinfo index 89b8c53ece6e..37c7cb61cafe 100644 --- a/graphics/py-pytesseract/distinfo +++ b/graphics/py-pytesseract/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1621679287 -SHA256 (pytesseract-0.3.7.tar.gz) = 4ecfc898d00a70fcc38d2bce729de1597c67e7bc5d2fa26094714c9f5b573645 -SIZE (pytesseract-0.3.7.tar.gz) = 13715 +TIMESTAMP = 1624690353 +SHA256 (madmaze-pytesseract-v0.3.8_GH0.tar.gz) = 6b9b35a36ff5a82ab292b14882062931333687525a383d3fff8133e2e78fd73d +SIZE (madmaze-pytesseract-v0.3.8_GH0.tar.gz) = 964344