From nobody Sun Feb 05 15:53:50 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P8v7y37Z0z3kSj3; Sun, 5 Feb 2023 15:53:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P8v7y2jLwz46j3; Sun, 5 Feb 2023 15:53:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675612430; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SGlRzQ5yjSEo2MfJyJWtVtQ7NmgcnO8cZBUKXTqytg0=; b=aKRLpuANg4K3GDzjOzfSol99hpV2axDYDzkN9zvbpHy30tFFxK+98VYVGMP+S6vq3RtOrn VtrG3Al3z0P/RFb0AE3zOsqUSMJe6eZ8V5L2XjIQ4tQGuFBnxnCyQj9j+gs8JabnKxpL4K bTIRAtN+CRyxXzkjaCLhp2RsuT95D2LFNCs5UUGUNqUDX5QNjIHAqAHgg8wkiLP1Xg9Dol jfKzscX4tLc4DLeJ0m4ioNa017/WG+d+JiOx43xiU8TQVmW1/VuLPxbrSfgfbuFhY2ezoE 579ZtFAAGSN7KHTMkbxo1wcDwwy9rLUbSf37SuYGXDlp7TsgxmQ9GkfLgZL4Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675612430; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SGlRzQ5yjSEo2MfJyJWtVtQ7NmgcnO8cZBUKXTqytg0=; b=ptbgj5FWZxYZrgLKPwZ+5mXABiEjnU7TY9ZROzsfZNTOGVADL04jRKfTfrsAQRV+FbAWGg ijwGW+4rNmdaiB+1TPQhKnQ/K3yC+JTk64XYIpBQSecX82ypVddHvQwIKjN69qQ0FV2AUt SKeoqzbBrHd0yluHgIsNruOePymFEY1ES2HUB1LScyuBl2wgrEv1S3C+37h7wXVN8sUlgm xtLJVZelzZ7an6FSZOtMZFnQ5LgYRoJGakiHmhuM8Cc4Ds/vuVQ8laxXEPPP6do/Fg5opa J65OK+qrGAyfqGbWogW7ZlxM2DoROi5X5OpV80Imy3Uk5lYEoKa5tmnaw3jDow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675612430; a=rsa-sha256; cv=none; b=CzSuLd7vEEjw86InJDyVFbGiuCZsNddn0zwj7h27D94WptY+Zf2QSJLqzHALppZfxgfHmB 0mx8Q4Km0/6sCHzb9JxHpMMZcLtTz5iiM1pWsqsElNlsqcqe51Dcrxta/oq+9CNrDjOBGX xdhPOqoJSdGwPvuanJrHb7M0zsrMqQ8EGSiw0ccc4Cnkkb3NtHb1dcNj/JL7BgIaKxuNeN pDMkWvmdzi6BGFjLxYShAJR7cif01CE4CCO0u6I2qfFHznKaYKw/N4mrNFcfEmo0kiLDMv c6D/TMGoLezIxLJ/vuE4mJmUaGUTDhm2qYzOHI/Z2IZdvy6jkdBC/0FYc2eiuQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P8v7y1pCbz10Vk; Sun, 5 Feb 2023 15:53:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 315Frogj028568; Sun, 5 Feb 2023 15:53:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 315Froeh028567; Sun, 5 Feb 2023 15:53:50 GMT (envelope-from git) Date: Sun, 5 Feb 2023 15:53:50 GMT Message-Id: <202302051553.315Froeh028567@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 5660adfb1b4d - main - science/py-cfgrib: Add py-cfgrib 0.9.10.3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5660adfb1b4d60a37cb7b19d84c874ed04a066fd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5660adfb1b4d60a37cb7b19d84c874ed04a066fd commit 5660adfb1b4d60a37cb7b19d84c874ed04a066fd Author: Po-Chuan Hsieh AuthorDate: 2023-02-05 15:15:16 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-02-05 15:47:39 +0000 science/py-cfgrib: Add py-cfgrib 0.9.10.3 cfgrib provides a Python interface to map GRIB files to the Unidata's Common Data Model v4 following the CF Conventions. The high level API is designed to support a GRIB engine for xarray and it is inspired by netCDF4-python and h5netcdf. Low level access and decoding is performed via the ECMWF ecCodes library and the eccodes python package. --- science/Makefile | 1 + science/py-cfgrib/Makefile | 35 +++++++++++++++++++++++++++++++++++ science/py-cfgrib/distinfo | 3 +++ science/py-cfgrib/pkg-descr | 5 +++++ 4 files changed, 44 insertions(+) diff --git a/science/Makefile b/science/Makefile index fd813b9d88e6..9c50d31c5730 100644 --- a/science/Makefile +++ b/science/Makefile @@ -305,6 +305,7 @@ SUBDIR += py-boutdata SUBDIR += py-boututils SUBDIR += py-cdo + SUBDIR += py-cfgrib SUBDIR += py-chainer SUBDIR += py-chainer-chemistry SUBDIR += py-chempy diff --git a/science/py-cfgrib/Makefile b/science/py-cfgrib/Makefile new file mode 100644 index 000000000000..fd021aa848ed --- /dev/null +++ b/science/py-cfgrib/Makefile @@ -0,0 +1,35 @@ +PORTNAME= cfgrib +PORTVERSION= 0.9.10.3 +CATEGORIES= science python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Map GRIB files to the NetCDF Common Data Model following the CF Convention using ecCodes +WWW= https://github.com/ecmwf/cfgrib +WWW= https://pypi.org/project/cfgrib/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.2:devel/py-attrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}eccodes>=0.9.8:science/py-eccodes@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dask>=0:devel/py-dask@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xarray>=0.15:devel/py-xarray@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils pytest + +NO_ARCH= yes + +OPTIONS_DEFINE= XARRAY +XARRAY_DESC= Xarray support + +XARRAY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xarray>=0.15:devel/py-xarray@${PY_FLAVOR} + +.include diff --git a/science/py-cfgrib/distinfo b/science/py-cfgrib/distinfo new file mode 100644 index 000000000000..fdbb45c573e8 --- /dev/null +++ b/science/py-cfgrib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1675190917 +SHA256 (cfgrib-0.9.10.3.tar.gz) = c10806058c80c48610c201bf05eb292401807806ab9423ab4965ae23dbb6b521 +SIZE (cfgrib-0.9.10.3.tar.gz) = 6398617 diff --git a/science/py-cfgrib/pkg-descr b/science/py-cfgrib/pkg-descr new file mode 100644 index 000000000000..ecb2037111d8 --- /dev/null +++ b/science/py-cfgrib/pkg-descr @@ -0,0 +1,5 @@ +cfgrib provides a Python interface to map GRIB files to the Unidata's Common +Data Model v4 following the CF Conventions. The high level API is designed to +support a GRIB engine for xarray and it is inspired by netCDF4-python and +h5netcdf. Low level access and decoding is performed via the ECMWF ecCodes +library and the eccodes python package.