Update to 1.1.0

Changes:	https://github.com/ecmwf/eccodes-python/blob/develop/CHANGELOG.rst
This commit is contained in:
Sunpoet Po-Chuan Hsieh
2021-01-26 17:37:28 +00:00
parent e0ac252f5c
commit 45fadfdc4e
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= eccodes
PORTVERSION= 1.0.0
PORTVERSION= 1.1.0
CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+3 -3
View File
@@ -1,3 +1,3 @@
TIMESTAMP = 1608366074
SHA256 (eccodes-1.0.0.tar.gz) = 8df323e022042ce04f7bc07d0818a5d099a706e80b712fecbef7fc4b33a2fa99
SIZE (eccodes-1.0.0.tar.gz) = 58713
TIMESTAMP = 1611665483
SHA256 (eccodes-1.1.0.tar.gz) = 93b6736ae614a7e8ddf97f72f02246f420ff3dd3f942512fabbf187436f72a31
SIZE (eccodes-1.1.0.tar.gz) = 60130
@@ -1,19 +1,19 @@
--- gribapi/bindings.py.orig 2020-10-15 15:56:17 UTC
--- gribapi/bindings.py.orig 2021-01-20 16:01:53 UTC
+++ gribapi/bindings.py
@@ -34,7 +34,7 @@ except ModuleNotFoundError:
+ pkgutil.get_data(__name__, "eccodes.h").decode("utf-8")
)
@@ -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
@@ -46,7 +46,6 @@ except ModuleNotFoundError:
@@ -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(0, os.path.join(eccdir, "lib64/libeccodes.so"))
- LIBNAMES.insert(1, os.path.join(eccdir, "lib64/libeccodes.so"))
lib = None
for libname in LIBNAMES:
try: