Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2021 20:39:13 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8975f3df276f - main - science/py-eccodes: Update to 1.3.0
Message-ID:  <202104252039.13PKdDW5079104@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 8975f3df276f8434c96a2d43c928ecade41562b4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-04-25 20:15:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-04-25 20:35:33 +0000

    science/py-eccodes: Update to 1.3.0
    
    Changes:        https://github.com/ecmwf/eccodes-python/blob/develop/CHANGELOG.rst
---
 science/py-eccodes/Makefile                        |  5 +++--
 science/py-eccodes/distinfo                        |  6 +++---
 science/py-eccodes/files/patch-gribapi-bindings.py | 19 -------------------
 3 files changed, 6 insertions(+), 24 deletions(-)

diff --git a/science/py-eccodes/Makefile b/science/py-eccodes/Makefile
index 367bce6fc5a0..af8317b6b69b 100644
--- a/science/py-eccodes/Makefile
+++ b/science/py-eccodes/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	eccodes
-PORTVERSION=	1.2.0
+PORTVERSION=	1.3.0
 CATEGORIES=	science python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,13 +15,14 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libeccodes.so:science/eccodes
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}findlibs>=0:devel/py-findlibs@${PY_FLAVOR} \
 		${PYNUMPY}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-flakes>=0:devel/py-pytest-flakes@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
 
-USES=		python:3.5+
+USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
 do-test:
diff --git a/science/py-eccodes/distinfo b/science/py-eccodes/distinfo
index a9e58caa07d3..ec4ee81815ea 100644
--- a/science/py-eccodes/distinfo
+++ b/science/py-eccodes/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1618320256
-SHA256 (eccodes-1.2.0.tar.gz) = 813a861e4e26efc494fef091d1127ff44c7e055e5ed1de68bf36bb1e509c5ecf
-SIZE (eccodes-1.2.0.tar.gz) = 60922
+TIMESTAMP = 1619198565
+SHA256 (eccodes-1.3.0.tar.gz) = cfc3746cba9e59eaef79ed8e54792a743454286f526d48c9273f3d83e27dd4ec
+SIZE (eccodes-1.3.0.tar.gz) = 57081
diff --git a/science/py-eccodes/files/patch-gribapi-bindings.py b/science/py-eccodes/files/patch-gribapi-bindings.py
deleted file mode 100644
index 3f75b94eab27..000000000000
--- a/science/py-eccodes/files/patch-gribapi-bindings.py
+++ /dev/null
@@ -1,19 +0,0 @@
---- gribapi/bindings.py.orig	2021-01-20 16:01:53 UTC
-+++ gribapi/bindings.py
-@@ -33,7 +33,7 @@ except ModuleNotFoundError:
-     CDEF += pkgutil.get_data(__name__, "eccodes.h")
-     ffi.cdef(CDEF.decode("utf-8").replace("\r", "\n"))
- 
--    LIBNAMES = ["eccodes", "libeccodes.so", "libeccodes"]
-+    LIBNAMES = ["libeccodes.so"]
- 
-     try:
-         import ecmwflibs
-@@ -45,7 +45,6 @@ except ModuleNotFoundError:
-     if os.environ.get("ECCODES_DIR"):
-         eccdir = os.environ["ECCODES_DIR"]
-         LIBNAMES.insert(0, os.path.join(eccdir, "lib/libeccodes.so"))
--        LIBNAMES.insert(1, os.path.join(eccdir, "lib64/libeccodes.so"))
- 
-     lib = None
-     for libname in LIBNAMES:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104252039.13PKdDW5079104>