git: d592f205ed9c - main - science/py-eccodes: Update to 1.5.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 05 Feb 2023 15:55:40 UTC
The branch main has been updated by sunpoet:

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

commit d592f205ed9c4988ecae38b7807c06f7e7dbf010
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-02-05 15:19:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-02-05 15:48:04 +0000

    science/py-eccodes: Update to 1.5.1
    
    - Convert to USE_PYTHON=pytest
    
    Changes:        https://github.com/ecmwf/eccodes-python/blob/develop/CHANGELOG.rst
---
 science/py-eccodes/Makefile | 7 ++-----
 science/py-eccodes/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/science/py-eccodes/Makefile b/science/py-eccodes/Makefile
index a7947ae54d8e..d5095f4101cc 100644
--- a/science/py-eccodes/Makefile
+++ b/science/py-eccodes/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	eccodes
-PORTVERSION=	1.5.0
+PORTVERSION=	1.5.1
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -22,11 +22,8 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
 
 USES=		python:3.7+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils pytest
 
 NO_ARCH=	yes
 
-do-test:
-	cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs -v
-
 .include <bsd.port.mk>
diff --git a/science/py-eccodes/distinfo b/science/py-eccodes/distinfo
index 393b19a0d829..0b5035c8e43d 100644
--- a/science/py-eccodes/distinfo
+++ b/science/py-eccodes/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1661950942
-SHA256 (eccodes-1.5.0.tar.gz) = e70c8f159140c343c215fd608ddf533be652ff05ad2ff17243c7b66cf92127fa
-SIZE (eccodes-1.5.0.tar.gz) = 56329
+TIMESTAMP = 1675191083
+SHA256 (eccodes-1.5.1.tar.gz) = e848911b0d4522c2cf60a11855c175e1e87fce44a143384cf38e4d60a0b62d9d
+SIZE (eccodes-1.5.1.tar.gz) = 2260175