From nobody Sun Aug 07 10:06:18 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M0w2y3QJyz4YR8q; Sun, 7 Aug 2022 10:06:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M0w2y2mz8z3Bxl; Sun, 7 Aug 2022 10:06:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659866778; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lC5CIN6WPtbhmyRoFtHXOkYuOHjYoQ6h88v5xddZl2k=; b=qwTAmYjKm3Wkn48MfcnZ1LtAYzvgiRtZx1AUKE9sE08M24wHN4L9aIvocX0hbGRP/txOBm 2HFLiHr4Oky6PlHiewNBa2QjyIyVTwfm354BKiQsfbPgI7yGOy8eJEVcAN3z4/Xtewfeea px1mbIyL/ds8eV0Mkx/c3HoleMtdWFBfmXzHNvAf0HeYJPwP//a870WDfkOFRfK4nf7ZB4 zypR7HJlU4Pq91GAxulErrqnzk5fQkc8RJYmyb8h5uKod9ymLP31wNnJ7/R1E/+voZR/g+ +ht3hRYPZNzTDJf+SeIl2r4kpcK21FLIIA8GdUjJ9QxC36HM7t1F9PSHIH/WTA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M0w2y1p4Wz16xG; Sun, 7 Aug 2022 10:06:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 277A6I0k007987; Sun, 7 Aug 2022 10:06:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 277A6I1r007986; Sun, 7 Aug 2022 10:06:18 GMT (envelope-from git) Date: Sun, 7 Aug 2022 10:06:18 GMT Message-Id: <202208071006.277A6I1r007986@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 75a27d29f88d - main - misc/py-histoprint: New port: Pretty printing of histograms to the console List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 75a27d29f88d0e8fe22c538748cf6f500d0c1c1b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659866778; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lC5CIN6WPtbhmyRoFtHXOkYuOHjYoQ6h88v5xddZl2k=; b=hvANit4gZ1D8JWslBnkUEezluTE9cHMn52T3bGz39DWLqhoHO83S67FJKruaQHxVmCOpyg PmfFjjPxI/UIDiQMOZo++ShlOY2SIZ35zlYR7aDUEP2hJIszXOjnDPBl8m2Df8IMZHG+jz f5iDhF3ccvuNJLX564VLeFGqLSLQw37nUmd60Rn2foW8l2b+WwTQRSbvWcoIA/YHWeJ7kD YOJlfpIKF+vdEevZCUXL5vupVwSPZWOn92nnJake0oU4E+QvL8WTRhghtrN7/7aQKRrQB9 aqhpPuE8ghokE+KrbQVFLfkkeq4chvWsd7Ffi8BoHak2G1Yq3xftXlUhbLMkOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659866778; a=rsa-sha256; cv=none; b=QPuvhVN+GntLHwQ7w3gO6NFEnmCsHS9LxveBeedmCT7xn/STvPOINbiKJc4r3mYhWXEELV fF0bXcgAYs1sgFNv8dCIzJW6RRBQVlJVSe4a0gsJX0mArLWVn8J4Le399Fp0EldENNOY9d Vgj21yCA6f1nBTiS+s0qBznPjsXeGGqFPJYemwEewV20YqJ8Fxm9TSh3qcIbyDtHe/iJ9M EtUMKH3I9XljZ/wh1cN8QtIjndi50vCLlCbsMlbL7S7exsikOECs6GT40jqb/B+eDRicU+ mbiAdfjUQWfKFrpTPo7AhZ8m1kvJjNuen+2Wpo0kFoXIaxEcHCThCsTIZVZDLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=75a27d29f88d0e8fe22c538748cf6f500d0c1c1b commit 75a27d29f88d0e8fe22c538748cf6f500d0c1c1b Author: Yuri Victorovich AuthorDate: 2022-08-07 10:05:29 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-07 10:06:16 +0000 misc/py-histoprint: New port: Pretty printing of histograms to the console --- misc/Makefile | 1 + misc/py-histoprint/Makefile | 26 ++++++++++++++++++++++++++ misc/py-histoprint/distinfo | 3 +++ misc/py-histoprint/pkg-descr | 10 ++++++++++ 4 files changed, 40 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 95c2ec66f9ae..1dbe785ac433 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -387,6 +387,7 @@ SUBDIR += py-gluoncv SUBDIR += py-gluonnlp SUBDIR += py-halo + SUBDIR += py-histoprint SUBDIR += py-huepy SUBDIR += py-kartograph SUBDIR += py-log_symbols diff --git a/misc/py-histoprint/Makefile b/misc/py-histoprint/Makefile new file mode 100644 index 000000000000..fbb40bde00bf --- /dev/null +++ b/misc/py-histoprint/Makefile @@ -0,0 +1,26 @@ +PORTNAME= histoprint +DISTVERSION= 2.4.0 +CATEGORIES= misc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Pretty printing of histograms to the console + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7.0.0:devel/py-click@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}uhi>=0.2.1:misc/py-uhi@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist pytest + +NO_ARCH= yes + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +.include diff --git a/misc/py-histoprint/distinfo b/misc/py-histoprint/distinfo new file mode 100644 index 000000000000..cdc3ab414335 --- /dev/null +++ b/misc/py-histoprint/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659855148 +SHA256 (histoprint-2.4.0.tar.gz) = 328f789d186e3bd76882d57b5aad3fa08c7870a856cc83bcdbad9f4aefbda94d +SIZE (histoprint-2.4.0.tar.gz) = 359154 diff --git a/misc/py-histoprint/pkg-descr b/misc/py-histoprint/pkg-descr new file mode 100644 index 000000000000..676047f7795f --- /dev/null +++ b/misc/py-histoprint/pkg-descr @@ -0,0 +1,10 @@ +histoprint is a package for pretty print of NumPy (and other) histograms to the +console. + +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. + +WWW: https://github.com/scikit-hep/histoprint