public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexander Puck Neuwirth" <alexander@neuwirth-informatik.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/uhi/
Date: Tue, 27 Feb 2024 16:07:49 +0000 (UTC)	[thread overview]
Message-ID: <1709050030.5edb5364f5454e45df68b8fca3b621352e7905e8.alexander@gentoo> (raw)

commit:     5edb5364f5454e45df68b8fca3b621352e7905e8
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Tue Feb 27 14:03:00 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 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 <alexander <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<maintainer type="person">
+		<email>alexander@neuwirth-informatik.de</email>
+		<name>Alexander Puck Neuwirth</name>
+	</maintainer>
+	<longdescription lang="en">
+	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.
+	</longdescription>
+	<upstream>
+		<remote-id type="pypi">uhi</remote-id>
+		<remote-id type="github">scikit-hep/uhi</remote-id>
+	</upstream>
+</pkgmetadata>

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


             reply	other threads:[~2024-02-27 16:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-27 16:07 Alexander Puck Neuwirth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-17 15:59 [gentoo-commits] proj/sci:master commit in: dev-python/uhi/ Alexander Puck Neuwirth
2024-10-22  8:34 Alexander Puck Neuwirth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1709050030.5edb5364f5454e45df68b8fca3b621352e7905e8.alexander@gentoo \
    --to=alexander@neuwirth-informatik.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox