aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Puck Neuwirth <alexander@neuwirth-informatik.de>2024-03-17 22:16:28 +0100
committerAlexander Puck Neuwirth <alexander@neuwirth-informatik.de>2024-05-06 10:23:18 +0200
commit773b0fb36a5644343e8592ea6a34472524234e06 (patch)
tree20573f089d2cc0c59425541b367a1c44effd7ff3
parentsci-physics/pyhf: add 0.7.5 (diff)
downloadsci-773b0fb36a5644343e8592ea6a34472524234e06.tar.gz
sci-773b0fb36a5644343e8592ea6a34472524234e06.tar.bz2
sci-773b0fb36a5644343e8592ea6a34472524234e06.zip
dev-python/histoprint: new package, add 2.4.0
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
-rw-r--r--dev-python/histoprint/Manifest1
-rw-r--r--dev-python/histoprint/histoprint-2.4.0.ebuild20
-rw-r--r--dev-python/histoprint/metadata.xml19
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/histoprint/Manifest b/dev-python/histoprint/Manifest
new file mode 100644
index 000000000..2914a2419
--- /dev/null
+++ b/dev-python/histoprint/Manifest
@@ -0,0 +1 @@
+DIST histoprint-2.4.0.tar.gz 359154 BLAKE2B f10abcff02875f1a27b31256c5daf00500e0177986052f3fc9b013a0be0f63daf58f9d9b7bf2b6b5510758e080a118c6ad07801b055019e7e226ee631da57154 SHA512 bbf7c90acb66c298588304a15c7ae3ec0536fb01a468b4aa7b944115e242a0ef3e2ef21c181e8476845f5d7611a944f43de0c9cf80faeab2ddbb8422432e2fa6
diff --git a/dev-python/histoprint/histoprint-2.4.0.ebuild b/dev-python/histoprint/histoprint-2.4.0.ebuild
new file mode 100644
index 000000000..b6395b898
--- /dev/null
+++ b/dev-python/histoprint/histoprint-2.4.0.ebuild
@@ -0,0 +1,20 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Pretty print histograms to the console"
+HOMEPAGE="https://github.com/scikit-hep/histoprint"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ >=dev-python/click-7.0.0[${PYTHON_USEDEP}]
+ >=dev-python/uhi-0.2.1[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/histoprint/metadata.xml b/dev-python/histoprint/metadata.xml
new file mode 100644
index 000000000..78373f05f
--- /dev/null
+++ b/dev-python/histoprint/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">
+ Histoprint uses a mix of terminal color codes and Unicode trickery (i.e. combining characters) to plot overlaying histograms. Some terminals are not able to display Unicode combining characters correctly. Histoprint can still be used in those terminals, but the character set needs to be constrained to the non-combining ones (see below).
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">histoprint</remote-id>
+ <remote-id type="github">scikit-hep/histoprint</remote-id>
+ </upstream>
+</pkgmetadata>