From nobody Sun Jul 21 09:59:46 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 4WRf5v0PZ6z5RBPs; Sun, 21 Jul 2024 09:59:47 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WRf5t5lT2z4vjR; Sun, 21 Jul 2024 09:59:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721555986; 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=zIpj9YBd426xN0+spnBvytaVN7h5Sk8JbpDsqSbW2xk=; b=VGrkRXJop10O1UnmPUZvTBOKlIcOMIZXlkTgRm3uC1KVprefBwLjyuxQJtEYbA/ieFGx85 hdcOrc0Eb74Gxjly6uo88EMHJyjtNr2bNxZxMfl22NgV0VMQOvldbXT4jLOj8tpYP6kXCw +OqYsYH3HZfDKLK7q6j91NbfgwfuCsk1F3u/dSmBqCGWSVADso6chBzzdNHyp2/Pk7SmKA d7OVtSHLOclDRv4o5YQ49e1aQiPZHTTdfdd3HFMslcrFqp52uH9+L+aJBTFOuCPqmAkNjr y83OP9XfNK6TvraC+FQEMC1kfsie7kLAxMiNBEm5YjvqoonvmThnn2zE8JMTOA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721555986; a=rsa-sha256; cv=none; b=ZHBICKokdM6XYkvxLFDKcNyboIaE7LhfBasE1dqb8ocr0hYd/FMARuTxqEsfKSrl18XW91 2fMUH2dlD7e/Z6YHp4mtxZgfBnmnR2ADo2mCbGc30w3ZG4Pbs7vW2ikkyV7JyRdE+4WC71 pDlxk+bS3g7Fpe99GTOZ+W7tf++lIwftwET0Virssy0CUiwSVffZzdMjXNlkicOmldLrrw dVdVGriBzGW/jk6lSf7qSyEq7VlwwDSmCx9czL6VVelJr1DPDpfbWF943zp3y11TyRsOtQ bo89+w4URsQusWLPeT8e0MC+jf/4qR5JDo0WfsKGKgzTP8Vf0LQqjhnwMIK1iQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721555986; 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=zIpj9YBd426xN0+spnBvytaVN7h5Sk8JbpDsqSbW2xk=; b=If3KHIooeRcseljWjxS6WXQb5xyPiUwK9Ebuqp/bgTLcyum0uZ0G6vQpu/agK/bb2zPm+n yO4i9IfwaZFn04XR8q/2XMm+1GzqcQskFikR211ph+O9ao8fX1IaZieJoGBdR5Ytl/PgFj LZQ87zHtqdZtH87cFlOTqcMr47yTXvrnF1iTstCoFIvgcEs1TCSF5vMrUDlhHoEpotXdBd at5pvyiwuykkWu0PyQWJmIrXRnBzDdxBWlDeoV6K74RE9QYtIe50uCJNTRUKuuG0bBIEXD zkOROUOIsgA3KcsS7reI1W0HrziNA97fXvZ75hBjUSbqOLCheF3YgSVWLSIwfA== 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 4WRf5t58JLzvhT; Sun, 21 Jul 2024 09:59:46 +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 46L9xkJZ078446; Sun, 21 Jul 2024 09:59:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46L9xkrf078443; Sun, 21 Jul 2024 09:59:46 GMT (envelope-from git) Date: Sun, 21 Jul 2024 09:59:46 GMT Message-Id: <202407210959.46L9xkrf078443@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: 6898985d09ae - main - devel/py-uproot: Add py-uproot 5.3.10 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: 6898985d09ae7214f7d5659f7d7812fdbd05057c Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6898985d09ae7214f7d5659f7d7812fdbd05057c commit 6898985d09ae7214f7d5659f7d7812fdbd05057c Author: Po-Chuan Hsieh AuthorDate: 2024-07-21 09:55:09 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-07-21 09:55:09 +0000 devel/py-uproot: Add py-uproot 5.3.10 Uproot is a library for reading and writing ROOT files in pure Python and NumPy. Unlike the standard C++ ROOT implementation, Uproot is only an I/O library, primarily intended to stream data into machine learning libraries in Python. Unlike PyROOT and root_numpy, Uproot does not depend on C++ ROOT. Instead, it uses Numpy to cast blocks of data from the ROOT file as Numpy arrays. --- devel/Makefile | 1 + devel/py-uproot/Makefile | 34 ++++++++++++++++++++++++++++++++++ devel/py-uproot/distinfo | 3 +++ devel/py-uproot/pkg-descr | 6 ++++++ 4 files changed, 44 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index b838f028b544..af6dc72fcb6d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5932,6 +5932,7 @@ SUBDIR += py-unpaddedbase64 SUBDIR += py-untokenize SUBDIR += py-update_checker + SUBDIR += py-uproot SUBDIR += py-urlimport SUBDIR += py-urwid SUBDIR += py-urwid-readline diff --git a/devel/py-uproot/Makefile b/devel/py-uproot/Makefile new file mode 100644 index 000000000000..8448696d9ce3 --- /dev/null +++ b/devel/py-uproot/Makefile @@ -0,0 +1,34 @@ +PORTNAME= uproot +PORTVERSION= 5.3.10 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= ROOT I/O in pure Python and NumPy +WWW= https://uproot.readthedocs.io/en/latest/ \ + https://github.com/scikit-hep/uproot5 + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}awkward>=2.4.6:math/py-awkward@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cramjam>=2.5.0:archivers/py-cramjam@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fsspec>=0:devel/py-fsspec@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=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} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1.0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include diff --git a/devel/py-uproot/distinfo b/devel/py-uproot/distinfo new file mode 100644 index 000000000000..7edb84d7f65b --- /dev/null +++ b/devel/py-uproot/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1721499004 +SHA256 (uproot-5.3.10.tar.gz) = b2f0cc2ccb7b11dca476bf1e513fa4a4b986eb560207c9b89c7b9610794c4ecb +SIZE (uproot-5.3.10.tar.gz) = 927664 diff --git a/devel/py-uproot/pkg-descr b/devel/py-uproot/pkg-descr new file mode 100644 index 000000000000..a3f5487ff9b7 --- /dev/null +++ b/devel/py-uproot/pkg-descr @@ -0,0 +1,6 @@ +Uproot is a library for reading and writing ROOT files in pure Python and NumPy. + +Unlike the standard C++ ROOT implementation, Uproot is only an I/O library, +primarily intended to stream data into machine learning libraries in Python. +Unlike PyROOT and root_numpy, Uproot does not depend on C++ ROOT. Instead, it +uses Numpy to cast blocks of data from the ROOT file as Numpy arrays.