From nobody Fri Nov 15 10:17:29 2024 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 4XqXyK5dyLz5cx3p; Fri, 15 Nov 2024 10:17:29 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XqXyK56SBz4PQw; Fri, 15 Nov 2024 10:17:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731665849; 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=KgzErhbGHR6QRjPyGcCMud5osge0q6lsOzplyllJ49k=; b=wMHqH7ykZ9GlQo/ApkOLse7fl7nanYwB/2I0/z9cX/vck1trJaw/nydrDHih/pDCnO7K+2 ksMLgqmWqM4pmpJNynvI+W7YrmBUKBXDMps8LjXSERLJWbdM60ge4aJayO2LaGzCowjGyk erPI79G95tEyxsyvyeDHuTQSd/3G4jC7hzEdyzt2UFCrXhhFsOJ7T9rr+cJ/yNB+Fota2r lklIowkc7eWji1wKYnz2knTS167JlITuw2UCzyCeIJQRDlyqL7ygRJCQhExn2tLwyb6fND xylLH4F706ObSRKtHTCLTHfIhN44hRjOzemDbjyW4NxeDaR3rWgF+e+iluTDcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731665849; 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=KgzErhbGHR6QRjPyGcCMud5osge0q6lsOzplyllJ49k=; b=pgeewsjJJiC8fRTNt9kzn/GEL2BBrzSXgRePw0Two1rVNaxo5z7VJFCkicB2HYEFVTWfKa Zo8/uIEWcdwMl/Z4xXD2mdk2iJZuEmGVdJbKzSuDxrpqV87N1St33sV2bUyPTbMKsLtVj8 SKidDEt+5l62xCPCQr4kpkDKZNwMl9jEq8/1UDaNQaVfslq9sivkf6itqiRJM83/VGLgvC 0rULEYpUMbeSGZRjTkZOvjVmWxi+CaPhmMz0TVlPfQwV5Q/m1L5N8CX+sN4lCaQ60abjYi rlPIblv49yG2nS0oab4/6tz43wVVTKGahzeMXbrXD5h7rEpRRSqq0aP0AXjczg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731665849; a=rsa-sha256; cv=none; b=JTgMglwLf9FQ5TG8T5t+xjyLlPihr3HSC3CBo7W0WDCL/sR0tkZHltsK2/uYGlcuoeauRm 3bgnG4yBDvIF8CcZt0R7HbnBu9uWPB/42PX21e+kbhs0ld5ERi4NOeKUezbes95LoLYlDA 8tAzLqIzQOfzptN/rX09IenNsaRg0iv7GkfY3KrMrx3t0ALfCaUYk+mdEsQFtx23ydRGGV B7y/L3fpoQpB6ep4RHWal81cw1Jgr1wn7ZbculkHBW7StgfO/7A8uH84FRubADwxmCQ8AI 6ftgGniaF+5K9UqWUUEzLaM0xfyIKHSzOWR5ZfXKlpbL/1t2ADBbI/Sv76G9XA== 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 4XqXyK4cG1zJjY; Fri, 15 Nov 2024 10:17:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AFAHTwk059789; Fri, 15 Nov 2024 10:17:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AFAHTgJ059786; Fri, 15 Nov 2024 10:17:29 GMT (envelope-from git) Date: Fri, 15 Nov 2024 10:17:29 GMT Message-Id: <202411151017.4AFAHTgJ059786@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: 5c2e1ccec39a - main - devel/py-cf-xarray: Add py-cf-xarray 0.10.0 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: 5c2e1ccec39a94ddd98e11e1afe281e7e6b50c21 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5c2e1ccec39a94ddd98e11e1afe281e7e6b50c21 commit 5c2e1ccec39a94ddd98e11e1afe281e7e6b50c21 Author: Po-Chuan Hsieh AuthorDate: 2024-11-15 09:53:41 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-11-15 10:17:03 +0000 devel/py-cf-xarray: Add py-cf-xarray 0.10.0 cf-xarray is a lightweight convenience wrapper for using CF attributes on xarray objects. For example you can use .cf.mean("latitude") instead of .mean("lat") if appropriate attributes are set! This allows you to write code that does not require knowledge of specific dimension or coordinate names particular to a dataset. --- devel/Makefile | 1 + devel/py-cf-xarray/Makefile | 27 +++++++++++++++++++++++++++ devel/py-cf-xarray/distinfo | 3 +++ devel/py-cf-xarray/pkg-descr | 7 +++++++ 4 files changed, 38 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index c926078c07e6..bd3ccaa632c9 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4603,6 +4603,7 @@ SUBDIR += py-cerberus SUBDIR += py-cereslib SUBDIR += py-certsrv + SUBDIR += py-cf-xarray SUBDIR += py-cffi SUBDIR += py-cfgv SUBDIR += py-cfn-lint diff --git a/devel/py-cf-xarray/Makefile b/devel/py-cf-xarray/Makefile new file mode 100644 index 000000000000..9b2728d74a30 --- /dev/null +++ b/devel/py-cf-xarray/Makefile @@ -0,0 +1,27 @@ +PORTNAME= cf-xarray +PORTVERSION= 0.10.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= cf_xarray-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Convenience wrapper for using CF attributes on xarray objects +WWW= https://cf-xarray.readthedocs.io/en/latest/ \ + https://github.com/xarray-contrib/cf-xarray + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xarray>=2022.03.0:devel/py-xarray@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xarray>=2022.03.0:devel/py-xarray@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-cf-xarray/distinfo b/devel/py-cf-xarray/distinfo new file mode 100644 index 000000000000..ba9ad4a3b72b --- /dev/null +++ b/devel/py-cf-xarray/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1730724820 +SHA256 (cf_xarray-0.10.0.tar.gz) = 7b45319fc315175854c9e701a84ebb795eb4b2764a2d05bd2d9d3ea87d004d18 +SIZE (cf_xarray-0.10.0.tar.gz) = 511869 diff --git a/devel/py-cf-xarray/pkg-descr b/devel/py-cf-xarray/pkg-descr new file mode 100644 index 000000000000..63b5d7851098 --- /dev/null +++ b/devel/py-cf-xarray/pkg-descr @@ -0,0 +1,7 @@ +cf-xarray is a lightweight convenience wrapper for using CF attributes on xarray +objects. + +For example you can use .cf.mean("latitude") instead of .mean("lat") if +appropriate attributes are set! This allows you to write code that does not +require knowledge of specific dimension or coordinate names particular to a +dataset.