commit:     773b0fb36a5644343e8592ea6a34472524234e06
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Sun Mar 17 21:16:28 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
CommitDate: Mon May  6 08:23:18 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=773b0fb3

dev-python/histoprint: new package, add 2.4.0

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 dev-python/histoprint/histoprint-2.4.0.ebuild | 20 ++++++++++++++++++++
 dev-python/histoprint/metadata.xml            | 19 +++++++++++++++++++
 2 files changed, 39 insertions(+)

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>[email protected]</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <maintainer type="person">
+               <email>[email protected]</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>

Reply via email to