From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A17DC158041 for ; Tue, 27 Feb 2024 16:07:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D30C12BC015; Tue, 27 Feb 2024 16:07:51 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B72222BC015 for ; Tue, 27 Feb 2024 16:07:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EFFE8335C31 for ; Tue, 27 Feb 2024 16:07:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DAF21301 for ; Tue, 27 Feb 2024 16:07:49 +0000 (UTC) From: "Alexander Puck Neuwirth" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexander Puck Neuwirth" Message-ID: <1709050030.5edb5364f5454e45df68b8fca3b621352e7905e8.alexander@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/uhi/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/uhi/metadata.xml dev-python/uhi/uhi-0.4.0.ebuild X-VCS-Directories: dev-python/uhi/ X-VCS-Committer: alexander X-VCS-Committer-Name: Alexander Puck Neuwirth X-VCS-Revision: 5edb5364f5454e45df68b8fca3b621352e7905e8 X-VCS-Branch: master Date: Tue, 27 Feb 2024 16:07:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ca03ba1a-5f32-40df-8859-0bbd244831ab X-Archives-Hash: bc7e4eb858c6daa42fedff64d96b2442 commit: 5edb5364f5454e45df68b8fca3b621352e7905e8 Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Tue Feb 27 14:03:00 2024 +0000 Commit: Alexander Puck Neuwirth neuwirth-informatik de> CommitDate: Tue Feb 27 16:07:10 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5edb5364 dev-python/uhi: new package, add 0.4.0 Closes: https://github.com/gentoo/sci/pull/1245 Signed-off-by: Alexander Puck Neuwirth neuwirth-informatik.de> dev-python/uhi/metadata.xml | 19 +++++++++++++++++++ dev-python/uhi/uhi-0.4.0.ebuild | 27 +++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/uhi/metadata.xml b/dev-python/uhi/metadata.xml new file mode 100644 index 000000000..c1ee047a1 --- /dev/null +++ b/dev-python/uhi/metadata.xml @@ -0,0 +1,19 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + alexander@neuwirth-informatik.de + Alexander Puck Neuwirth + + + This is a package meant primarily for documenting histogram indexing and the PlottableHistogram Protocol and any future cross-library standards. It also contains the code for the PlottableHistogram Protocol, to be used in type checking libraries wanting to conform to the protocol. Eventually, it might gain a set of tools for testing conformance to UHI indexing, as well. It is not usually a runtime dependency, but only a type checking, testing, and/or docs dependency in support of other libraries (such as boost-histogram 0.13+, hist 2.1+, mplhep 0.2.15+, uproot 4+, and histoprint 2+). There are a few useful runtime usable components (listed below). It requires Python 3.6+. See what's new. + + + uhi + scikit-hep/uhi + + diff --git a/dev-python/uhi/uhi-0.4.0.ebuild b/dev-python/uhi/uhi-0.4.0.ebuild new file mode 100644 index 000000000..89db57b1c --- /dev/null +++ b/dev-python/uhi/uhi-0.4.0.ebuild @@ -0,0 +1,27 @@ +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=hatchling +SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +inherit distutils-r1 pypi + +DESCRIPTION="Universal Histogram Interface" +HOMEPAGE="https://github.com/scikit-hep/uhi" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/boost-histogram[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + ${RDEPEND} + dev-python/hatch-vcs[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest