git: 1d8c666002b8 - main - graphics/py-pytesseract: Remove outdated PYTHON_REL check after lang/python37 removal

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 26 Aug 2023 21:53:42 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1d8c666002b81ef6d7ed1c85e96bf7ee268277f4

commit 1d8c666002b81ef6d7ed1c85e96bf7ee268277f4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-26 21:42:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-26 21:42:11 +0000

    graphics/py-pytesseract: Remove outdated PYTHON_REL check after lang/python37 removal
    
    Approved by:    portmgr (blanket)
    With hat:       python
---
 graphics/py-pytesseract/Makefile | 9 ++-------
 1 file 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>