aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-08-26 21:42:11 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-08-26 21:42:11 +0000
commit1d8c666002b81ef6d7ed1c85e96bf7ee268277f4 (patch)
tree98cb04b5072e1bc847cf158fc522fb5aa1029da7
parent8d96ff5e55f9311354f57e47b942dcb904d7d6a2 (diff)
downloadports-1d8c666002b81ef6d7ed1c85e96bf7ee268277f4.tar.gz
ports-1d8c666002b81ef6d7ed1c85e96bf7ee268277f4.zip
graphics/py-pytesseract: Remove outdated PYTHON_REL check after lang/python37 removal
Approved by: portmgr (blanket) With hat: python
-rw-r--r--graphics/py-pytesseract/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/graphics/py-pytesseract/Makefile b/graphics/py-pytesseract/Makefile
index 1d3e78e3cdcd..dbecb33436e2 100644
--- a/graphics/py-pytesseract/Makefile
+++ b/graphics/py-pytesseract/Makefile
@@ -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
@@ -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>