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,30 +1,31 @@ # Created by: Po-Chuan Hsieh PORTNAME= eccodes -PORTVERSION= 1.2.0 +PORTVERSION= 1.3.0 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python interface to the ecCodes BUFR and GRIB de/encoder LICENSE= APACHE20 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: cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs -v .include 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: