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 A303C158087 for ; Fri, 28 Jan 2022 18:38:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 446952BC03A; Fri, 28 Jan 2022 18:38:55 +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 241BD2BC03A for ; Fri, 28 Jan 2022 18:38:55 +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 589583432E4 for ; Fri, 28 Jan 2022 18:38:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C4AC92AF for ; Fri, 28 Jan 2022 18:38:50 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1643395122.19d30c05fe8da246e607fead9799fa4ce29d0351.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rich/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/rich/Manifest dev-python/rich/rich-11.1.0.ebuild X-VCS-Directories: dev-python/rich/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 19d30c05fe8da246e607fead9799fa4ce29d0351 X-VCS-Branch: master Date: Fri, 28 Jan 2022 18:38:50 +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: b9fd1d4d-4ce6-4901-9f61-9fa7add9e833 X-Archives-Hash: b9cd76a641444bee110ea76a93d9c253 commit: 19d30c05fe8da246e607fead9799fa4ce29d0351 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 28 18:34:59 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 28 18:38:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19d30c05 dev-python/rich: add 11.1.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/rich/Manifest | 1 + dev-python/rich/rich-11.1.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index b00addec007a..440f6f1d5a12 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -1,2 +1,3 @@ DIST rich-10.16.2.tar.gz 16282443 BLAKE2B ccc7292e265770880539d6a1a6b2e819b45e2e3d4d152f1a16c56f2da74c9a472ae49ea0a4a677ad71c4dd087fade2c415484073b4b2cd86869ad7c43c32b162 SHA512 9cb8b0c8105589db22d7efdc47cbfa20531cd184f07855db4bfafb667299c7d3e520b19e3b33e7818affb7a5674805849ee9f2e770927e285ccd7f4f838982c3 DIST rich-11.0.0.tar.gz 16293684 BLAKE2B bd38f84a7e0623dc9474bdc369b452fc668cd4756f00f6dd1b185f95dffb3d55f6b95a7f6dfaed5ee1ec5f2d9514af6080835b9ffd010f150005b15afb761d97 SHA512 bf8218ff43a101c4624baff1ecc316eb95912d0b634c41293b44de135ea4c6ead0fa2c6a96ab1403ce4dd80961915dbe7753415a74c7d41fc1f2d227113e9ff3 +DIST rich-11.1.0.gh.tar.gz 16295117 BLAKE2B 1d326edea18b1eaad633665c2e50aa789f9eba19ee9b4cb50b94a160a69d12604fdf87d57ffbc903835b6e1e745fe17e0c521801b515ae73c8a44bf9ef17b6c2 SHA512 9da2015a66e0924bdd04deebd8fe8e963151d0a912f78320f8de8e61d656a693595c4feb0ce2436610602308d690ed96c8d10b5c81a9fc12a350b2e40907dbcb diff --git a/dev-python/rich/rich-11.1.0.ebuild b/dev-python/rich/rich-11.1.0.ebuild new file mode 100644 index 000000000000..76113d1d7315 --- /dev/null +++ b/dev-python/rich/rich-11.1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for renrering rich text, tables, etc. to the terminal" +HOMEPAGE="https://github.com/Textualize/rich" +SRC_URI=" + https://github.com/Textualize/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/commonmark[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # check for exact color render string, which changes across pygments bumps + tests/test_syntax.py::test_python_render + tests/test_syntax.py::test_python_render_simple + tests/test_syntax.py::test_python_render_indent_guides + ) + epytest -p no:pytest-qt +} + +pkg_postinst() { + optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets +}