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 C6264158064 for ; Mon, 6 May 2024 08:24:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 028E0E2ADE; Mon, 6 May 2024 08:24:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A6BA9E2ADE for ; Mon, 6 May 2024 08:24:19 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 36E5D34319F for ; Mon, 6 May 2024 08:24:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B1AA1779 for ; Mon, 6 May 2024 08:24:16 +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: <1714983798.773b0fb36a5644343e8592ea6a34472524234e06.alexander@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/histoprint/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/histoprint/histoprint-2.4.0.ebuild dev-python/histoprint/metadata.xml X-VCS-Directories: dev-python/histoprint/ X-VCS-Committer: alexander X-VCS-Committer-Name: Alexander Puck Neuwirth X-VCS-Revision: 773b0fb36a5644343e8592ea6a34472524234e06 X-VCS-Branch: master Date: Mon, 6 May 2024 08:24:16 +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: ff124539-f858-4531-820a-73bdf54123d5 X-Archives-Hash: 9ff22b6bd014e69076501869865381ed commit: 773b0fb36a5644343e8592ea6a34472524234e06 Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Sun Mar 17 21:16:28 2024 +0000 Commit: Alexander Puck Neuwirth neuwirth-informatik 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 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 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + alexander@neuwirth-informatik.de + Alexander Puck Neuwirth + + + 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). + + + histoprint + scikit-hep/histoprint + +