svn commit: r562830 - in head/science/py-eccodes: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Jan 26 17:37:33 UTC 2021
Author: sunpoet
Date: Tue Jan 26 17:37:28 2021
New Revision: 562830
URL: https://svnweb.freebsd.org/changeset/ports/562830
Log:
Update to 1.1.0
Changes: https://github.com/ecmwf/eccodes-python/blob/develop/CHANGELOG.rst
Modified:
head/science/py-eccodes/Makefile
head/science/py-eccodes/distinfo
head/science/py-eccodes/files/patch-gribapi-bindings.py
Modified: head/science/py-eccodes/Makefile
==============================================================================
--- head/science/py-eccodes/Makefile Tue Jan 26 17:37:23 2021 (r562829)
+++ head/science/py-eccodes/Makefile Tue Jan 26 17:37:28 2021 (r562830)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= eccodes
-PORTVERSION= 1.0.0
+PORTVERSION= 1.1.0
CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Modified: head/science/py-eccodes/distinfo
==============================================================================
--- head/science/py-eccodes/distinfo Tue Jan 26 17:37:23 2021 (r562829)
+++ head/science/py-eccodes/distinfo Tue Jan 26 17:37:28 2021 (r562830)
@@ -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
Modified: head/science/py-eccodes/files/patch-gribapi-bindings.py
==============================================================================
--- head/science/py-eccodes/files/patch-gribapi-bindings.py Tue Jan 26 17:37:23 2021 (r562829)
+++ head/science/py-eccodes/files/patch-gribapi-bindings.py Tue Jan 26 17:37:28 2021 (r562830)
@@ -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:
More information about the svn-ports-all
mailing list