From nobody Sun Aug 21 20:16:13 2022 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 4M9mwG1L5Kz4Zfmd; Sun, 21 Aug 2022 20:16:14 +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 4M9mwG0Ddpz3bFM; Sun, 21 Aug 2022 20:16:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661112974; 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=b19R/Zei64khcanO8b25mdOPzmMft3qM2jHBbVc9JKM=; b=tsv6BPi2D7pHFigUcr2ZYYjyz+JclB3dMHZfAByWF7vNo9krHMI7UHoYQkJuD0hC/f9SaW gJy/HVo9qG1gBTEQB4ulAX2+Y/WTkKi99f1fTEhaKPn/GOmZsQ2GQEreOkoseyOMHvFoJz bPELf9KwMLvI13VSA6RLuznGmP4R+7k1cowucCCEjNmgN5LcgbON1kETjvyjML6DSjlNom f+Oa/vJd8xFWxyGNMeTZNOSEK7BIun5wM5P2FM661ii7x4n465oeja19qJkQfJJSQ//S8e 3VRxq91mYTviMgb21zo9LsOAt+uxU/xEyts6jzNTOWC6SzokrO/XSc+wpWTv+g== 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 4M9mwF6DT5zNNt; Sun, 21 Aug 2022 20:16:13 +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 27LKGDs8050899; Sun, 21 Aug 2022 20:16:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27LKGD1x050898; Sun, 21 Aug 2022 20:16:13 GMT (envelope-from git) Date: Sun, 21 Aug 2022 20:16:13 GMT Message-Id: <202208212016.27LKGD1x050898@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: c544bb5b0cd9 - main - misc/py-hist: New port: Histogramming for analysis powered by boost-histogram 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c544bb5b0cd9b2dcb9da584dc9c9d1ba234605a9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661112974; 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=b19R/Zei64khcanO8b25mdOPzmMft3qM2jHBbVc9JKM=; b=BD+5fZl2jcjsQmKzJCD+gKrSHWmxxdqAkseq6wbwHyDSM/BgiPUrBt3Tq/gOFKlFOMtFJU ELeZ11H270KlW9FzyLzhOYvcmRzRe0C7S4C/C4s52L/SpKZ5yvfeNUsnWDh80whj5+jEIi wAzi8swpGBK/gIGSv75ailv9OV326/jQe1S2OMifb/noKDni5W5SZi1a7xKQXFni55w2CR RxbYuUpsQrN0JcgO4BEkMECHTkH4NGZemMSHjArGmoGjdAFuqwXLXJhKhvs0iiARE1foJf 2WUxt6xc1KUAgq+sfHJxT2su0wUj14iQ8s/kFOEnImYL83EKaTD+gwtKSb1ZEw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661112974; a=rsa-sha256; cv=none; b=RYLG0WIRZwSgQ43UpoWj5LGZ/pmDaZWt5R8E1guQ8wmzVvVGLU2ncwBQBJrq47M/D/sxNJ eIMQ3HWhc+kR3uKcPp5A4WnFNDOWyHvtQZLzbScici+Nc0fRbkzq2wVkq8C6jBfzKxW7Ed KtAqiH5+U8fkbp6ZwDeUrg7+u3IryHcxXFtnjB1hESMDKvHLweJN+RGNOiLitoHxm+P0Sf Ltm9aAZanDS9l7rSp1lCINDZh0EJN+F2pb1YR+UNh48zlEkIWmL+SbiD3ahZRx/zZ2W5gT dvkMf18G0FxA4EajVHvAnTMRapT/KZpUDaoNsFO+SIT/R94Etfz4D7jb9h4MYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=c544bb5b0cd9b2dcb9da584dc9c9d1ba234605a9 commit c544bb5b0cd9b2dcb9da584dc9c9d1ba234605a9 Author: Yuri Victorovich AuthorDate: 2022-08-21 20:13:37 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-21 20:16:07 +0000 misc/py-hist: New port: Histogramming for analysis powered by boost-histogram --- misc/Makefile | 1 + misc/py-hist/Makefile | 36 ++++++++++++++++++++++++++ misc/py-hist/distinfo | 3 +++ misc/py-hist/pkg-descr | 6 +++++ misc/py-hist/pkg-plist | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 115 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index cdd53e136006..db7f80fbfe0e 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -389,6 +389,7 @@ SUBDIR += py-gluoncv SUBDIR += py-gluonnlp SUBDIR += py-halo + SUBDIR += py-hist SUBDIR += py-histoprint SUBDIR += py-huepy SUBDIR += py-kartograph diff --git a/misc/py-hist/Makefile b/misc/py-hist/Makefile new file mode 100644 index 000000000000..b84a2f10ccc0 --- /dev/null +++ b/misc/py-hist/Makefile @@ -0,0 +1,36 @@ +PORTNAME= hist +DISTVERSIONPREFIX= v +DISTVERSION= 2.6.1-31 +DISTVERSIONSUFFIX= -g9d6543a +CATEGORIES= misc python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Histogramming for analysis powered by boost-histogram + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boost-histogram>0:misc/py-boost-histogram@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}histoprint>0:misc/py-histoprint@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \ + ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.8+ +USE_PYTHON= distutils autoplist pytest # tests aren't found, see https://github.com/scikit-hep/hist/issues/442 +USE_PYTHON= build + +USE_GITHUB= yes +GH_ACCOUNT= scikit-hep + +NO_ARCH= yes + +MAKE_ENV= SETUPTOOLS_SCM_PRETEND_VERSION=${DISTVERSION} +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +BINARY_ALIAS= git=false + +.include diff --git a/misc/py-hist/distinfo b/misc/py-hist/distinfo new file mode 100644 index 000000000000..5709c92fd0d8 --- /dev/null +++ b/misc/py-hist/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659891012 +SHA256 (scikit-hep-hist-v2.6.1-31-g9d6543a_GH0.tar.gz) = fe73499b594c0dde43e1e61e040a47d4682ad2f7497dc7202820f7a2683a44b4 +SIZE (scikit-hep-hist-v2.6.1-31-g9d6543a_GH0.tar.gz) = 983004 diff --git a/misc/py-hist/pkg-descr b/misc/py-hist/pkg-descr new file mode 100644 index 000000000000..b3428fb8f2a4 --- /dev/null +++ b/misc/py-hist/pkg-descr @@ -0,0 +1,6 @@ +Hist is a powerful Histogramming tool for analysis based on boost-histogram +(the Python binding of the Histogram library in Boost). It is a friendly +analysis-focused project that uses boost-histogram as a backend to do the +work, but provides plotting tools, shortcuts, and new ideas. + +WWW: https://hist.readthedocs.io/en/latest/ diff --git a/misc/py-hist/pkg-plist b/misc/py-hist/pkg-plist new file mode 100644 index 000000000000..3dcf3cd3e589 --- /dev/null +++ b/misc/py-hist/pkg-plist @@ -0,0 +1,69 @@ +bin/hist +%%PYTHON_SITELIBDIR%%/hist-2.6.1.post31.dist-info/METADATA +%%PYTHON_SITELIBDIR%%/hist-2.6.1.post31.dist-info/RECORD +%%PYTHON_SITELIBDIR%%/hist-2.6.1.post31.dist-info/WHEEL +%%PYTHON_SITELIBDIR%%/hist-2.6.1.post31.dist-info/entry_points.txt +%%PYTHON_SITELIBDIR%%/hist-2.6.1.post31.dist-info/licenses/LICENSE +%%PYTHON_SITELIBDIR%%/hist/__init__.py +%%PYTHON_SITELIBDIR%%/hist/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/accumulators%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/accumulators%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/axestuple%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/axestuple%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/basehist%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/basehist%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/classichist%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/classichist%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/hist%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/hist%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/intervals%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/intervals%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/namedhist%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/namedhist%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/numpy%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/numpy%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/plot%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/plot%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/quick_construct%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/quick_construct%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/stack%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/stack%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/storage%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/storage%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/svgplots%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/svgplots%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/svgutils%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/svgutils%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/tag%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/tag%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/typing%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/typing%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/version%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/__pycache__/version%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/accumulators.py +%%PYTHON_SITELIBDIR%%/hist/axestuple.py +%%PYTHON_SITELIBDIR%%/hist/axis/__init__.py +%%PYTHON_SITELIBDIR%%/hist/axis/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/axis/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/axis/__pycache__/transform%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/hist/axis/__pycache__/transform%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/hist/axis/py.typed +%%PYTHON_SITELIBDIR%%/hist/axis/transform.py +%%PYTHON_SITELIBDIR%%/hist/basehist.py +%%PYTHON_SITELIBDIR%%/hist/classichist.py +%%PYTHON_SITELIBDIR%%/hist/hist.py +%%PYTHON_SITELIBDIR%%/hist/intervals.py +%%PYTHON_SITELIBDIR%%/hist/namedhist.py +%%PYTHON_SITELIBDIR%%/hist/numpy.py +%%PYTHON_SITELIBDIR%%/hist/plot.py +%%PYTHON_SITELIBDIR%%/hist/py.typed +%%PYTHON_SITELIBDIR%%/hist/quick_construct.py +%%PYTHON_SITELIBDIR%%/hist/stack.py +%%PYTHON_SITELIBDIR%%/hist/storage.py +%%PYTHON_SITELIBDIR%%/hist/svgplots.py +%%PYTHON_SITELIBDIR%%/hist/svgutils.py +%%PYTHON_SITELIBDIR%%/hist/tag.py +%%PYTHON_SITELIBDIR%%/hist/typing.py +%%PYTHON_SITELIBDIR%%/hist/version.py +%%PYTHON_SITELIBDIR%%/hist/version.pyi