Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2019 22:02:27 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502637 - in head/science: . py-eccodes-python
Message-ID:  <201905252202.x4PM2Rrc024386@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat May 25 22:02:27 2019
New Revision: 502637
URL: https://svnweb.freebsd.org/changeset/ports/502637

Log:
  Add py-eccodes-python 0.9.0
  
  Python 3 interface to encode and decode GRIB and BUFR files via the ECMWF
  ecCodes library.
  
  Features:
  - reads and writes GRIB 1 and 2 files,
  - reads and writes BUFR 3 and 4 files,
  - supports all modern versions of Python 3.7, 3.6, 3.5 and PyPy3,
  - works on most Linux distributions and MacOS, the ecCodes C-library is the only
    system dependency,
  - PyPI package with no install time build (binds with CFFI ABI level, in-line
    mode),
  - supports writing the index of a GRIB file to disk, to save a full-file scan on
    open.
  
  WWW: https://github.com/ecmwf/eccodes-python

Added:
  head/science/py-eccodes-python/
  head/science/py-eccodes-python/Makefile   (contents, props changed)
  head/science/py-eccodes-python/distinfo   (contents, props changed)
  head/science/py-eccodes-python/pkg-descr   (contents, props changed)
Modified:
  head/science/Makefile

Modified: head/science/Makefile
==============================================================================
--- head/science/Makefile	Sat May 25 21:39:05 2019	(r502636)
+++ head/science/Makefile	Sat May 25 22:02:27 2019	(r502637)
@@ -231,6 +231,7 @@
     SUBDIR += py-chempy
     SUBDIR += py-coards
     SUBDIR += py-dlib
+    SUBDIR += py-eccodes-python
     SUBDIR += py-geometer
     SUBDIR += py-gpaw
     SUBDIR += py-gsd

Added: head/science/py-eccodes-python/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/py-eccodes-python/Makefile	Sat May 25 22:02:27 2019	(r502637)
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	eccodes-python
+PORTVERSION=	0.9.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}numpy>=0:math/py-numpy@${PY_FLAVOR}
+
+USES=		python:3.5+
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>

Added: head/science/py-eccodes-python/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/py-eccodes-python/distinfo	Sat May 25 22:02:27 2019	(r502637)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1558773288
+SHA256 (eccodes-python-0.9.0.tar.gz) = ff8c46d82ce1340ee673871b5f45118ac5c95083631e0927082b59d1e701cf6b
+SIZE (eccodes-python-0.9.0.tar.gz) = 2286896

Added: head/science/py-eccodes-python/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/py-eccodes-python/pkg-descr	Sat May 25 22:02:27 2019	(r502637)
@@ -0,0 +1,15 @@
+Python 3 interface to encode and decode GRIB and BUFR files via the ECMWF
+ecCodes library.
+
+Features:
+- reads and writes GRIB 1 and 2 files,
+- reads and writes BUFR 3 and 4 files,
+- supports all modern versions of Python 3.7, 3.6, 3.5 and PyPy3,
+- works on most Linux distributions and MacOS, the ecCodes C-library is the only
+  system dependency,
+- PyPI package with no install time build (binds with CFFI ABI level, in-line
+  mode),
+- supports writing the index of a GRIB file to disk, to save a full-file scan on
+  open.
+
+WWW: https://github.com/ecmwf/eccodes-python



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