From nobody Wed Aug 16 18:30:25 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 4RQxX30Gsdz4qx9v; Wed, 16 Aug 2023 18:30:27 +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 4RQxX21Xt9z4PZ2; Wed, 16 Aug 2023 18:30:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692210626; 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=admCabTtRpfiPT3IhZArnR6CEPFf0krUEh0oGN5w0is=; b=xJFcmGu5ilh8rkKwoY3m60viUlaKboeaxMWY7qU+clfgfiU7YjWaHKIRpyF1qKqma3omqN miEzsbhpBLDt7HIrAMnW+LpT0Vgmecvab5AYwAxGBmKbmK1JeFLbxyud7kZLT5/P7B4Pdl ozbPJ9OzhNO3lwMb9TduKGGtnGF8ZIEnFn0D3S51XvPGU9Dd4KoqWVNcg5wWQnUle30PE8 AaCQ2qyljzcr1IBYN8LrxxbEQYXvT+abW+14q2Yd8TeEdAu6108zq+x43i/KBT1w6+FSHx DWB1qrLsgFVYvVvRuDbpb8Yyw84W6Mx34JBwL4Crryr++PPAWubYrRmMSBssJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692210626; 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=admCabTtRpfiPT3IhZArnR6CEPFf0krUEh0oGN5w0is=; b=Dso4QBy6vBAlAy4kMQ1XWYFSwdnhdYqmS0SqoxsZQT3CIytnf2Y1P+G0hQg6P0WZ+727cT jeifG1oQgW3K1qF3VNJG74OqMaO+lXV0CZ/a1Gfb3DudbQ2juWs5oJYhUk6VJnxC/iNA7+ fQPInw3FpOcmYj6Jhx2ph9NRtri4rdnIf+WMJA9cy5TezDIf6IoVCkkPsmxBsSUwWgFz6f bERZCfx/fUJqWfmFFUscXVNAV6sOymrRPtFpumUhTAGq9SE+YW3OjiCq690z56ho8RAef1 2m37fc+cHB6nTOB1ny+cjSrrquyZ5m1szT9wCaTN30SAskHuet7uXxWGWr0Tow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692210626; a=rsa-sha256; cv=none; b=mUZjZ/b2XzcKGSoPjUA7sHGGhkAZpQTOZWi+ww6brsv0I7xjRbKH/DQC9VTb5W+6n+ejzn RSI5L36IXvY++5TyoFaxFaUs33iWPoe2V12vvKZuQCrdSXTCqKV5S3bLfRbTkfZ+5a5Za5 Dt0/HntUx/nG75+yS08/GRdQNt8Mh4OuXwNMclbsObUlhVl1SFwVJRywZslX/ypJxPBDsf CoI7Aw8bBxIX6ZGtzV8RJMy6CjEY+FgTfAVQRTHVFNJB8aKKarwUh69LcjHfICMv+m4bSB jatLxYlFliaFbFJBm57ejr2OKxDnoerL9tG1+PUneuYiD7Q6eKNm+hf9J0f1jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RQxX207x4z12CV; Wed, 16 Aug 2023 18:30:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37GIUPlW023310; Wed, 16 Aug 2023 18:30:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37GIUPbg023307; Wed, 16 Aug 2023 18:30:25 GMT (envelope-from git) Date: Wed, 16 Aug 2023 18:30:25 GMT Message-Id: <202308161830.37GIUPbg023307@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: 94a9bb31149d - main - math/py-awkward: Add py-awkward 2.3.1 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: 94a9bb31149d932bef1a1dd5b86fb5c1709ca48c Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=94a9bb31149d932bef1a1dd5b86fb5c1709ca48c commit 94a9bb31149d932bef1a1dd5b86fb5c1709ca48c Author: Po-Chuan Hsieh AuthorDate: 2023-08-16 18:06:40 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-08-16 18:25:06 +0000 math/py-awkward: Add py-awkward 2.3.1 Awkward Array is a library for nested, variable-sized data, including arbitrary-length lists, records, mixed types, and missing data, using NumPy-like idioms. Arrays are dynamically typed, but operations on them are compiled and fast. Their behavior coincides with NumPy when array dimensions are regular and generalizes when they're not. --- math/Makefile | 1 + math/py-awkward/Makefile | 36 ++++++++++++++++++++++++++++++++++++ math/py-awkward/distinfo | 3 +++ math/py-awkward/pkg-descr | 7 +++++++ 4 files changed, 47 insertions(+) diff --git a/math/Makefile b/math/Makefile index 7fea1dcd2f10..3f4a236988a9 100644 --- a/math/Makefile +++ b/math/Makefile @@ -892,6 +892,7 @@ SUBDIR += py-arviz SUBDIR += py-arybo SUBDIR += py-autograd + SUBDIR += py-awkward SUBDIR += py-baycomp SUBDIR += py-bayesian-optimization SUBDIR += py-benford_py diff --git a/math/py-awkward/Makefile b/math/py-awkward/Makefile new file mode 100644 index 000000000000..1d6bd755e0c0 --- /dev/null +++ b/math/py-awkward/Makefile @@ -0,0 +1,36 @@ +PORTNAME= awkward +PORTVERSION= 2.3.1 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Manipulate JSON-like data with NumPy-like idioms +WWW= https://awkward-array.org/doc/main/ \ + https://github.com/scikit-hep/awkward + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=1.10.0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}awkward-cpp>=21<21_99:math/py-awkward-cpp@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=1.18.0,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 30900 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1.0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include diff --git a/math/py-awkward/distinfo b/math/py-awkward/distinfo new file mode 100644 index 000000000000..c171a6dfecce --- /dev/null +++ b/math/py-awkward/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1691069900 +SHA256 (awkward-2.3.1.tar.gz) = 34b44e5c46e1e0c2af045ba3fb8f966b6bb7ecff6fb90d16c3c90af82616b791 +SIZE (awkward-2.3.1.tar.gz) = 5065864 diff --git a/math/py-awkward/pkg-descr b/math/py-awkward/pkg-descr new file mode 100644 index 000000000000..c51304bd8dfc --- /dev/null +++ b/math/py-awkward/pkg-descr @@ -0,0 +1,7 @@ +Awkward Array is a library for nested, variable-sized data, including +arbitrary-length lists, records, mixed types, and missing data, using NumPy-like +idioms. + +Arrays are dynamically typed, but operations on them are compiled and fast. +Their behavior coincides with NumPy when array dimensions are regular and +generalizes when they're not.