Skip to content

Commit

Permalink
graphics/py-pytesseract: Remove outdated PYTHON_REL check after lang/…
Browse files Browse the repository at this point in the history
…python37 removal

Approved by:	portmgr (blanket)
With hat:	python
  • Loading branch information
sunpoet committed Aug 26, 2023
1 parent 8d96ff5 commit 1d8c666
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions graphics/py-pytesseract/Makefile
Expand Up @@ -17,6 +17,7 @@ RUN_DEPENDS= tesseract:graphics/tesseract \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}
TEST_DEPENDS= ${RUN_DEPENDS} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR}
# if py-tox cannot detect py-filelock, be sure to have version 3.4.2_1 of the latter

Expand All @@ -40,10 +41,4 @@ do-test:
fi
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} tox-${PYTHON_VER} -e ${PY_FLAVOR} --sitepackages

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} >= 30800
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR}
.endif

.include <bsd.port.post.mk>
.include <bsd.port.mk>

0 comments on commit 1d8c666

Please sign in to comment.