Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rich/
Date: Tue, 05 Apr 2022 17:56:07
Message-Id: 1649181336.ccbe3ba9c06336e98dca0e8d5fd7e162e30a9ace.arthurzam@gentoo
1 commit: ccbe3ba9c06336e98dca0e8d5fd7e162e30a9ace
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 5 17:55:36 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 5 17:55:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccbe3ba9
7
8 dev-python/rich: add 12.2.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/rich/Manifest | 1 +
13 dev-python/rich/rich-12.2.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest
17 index d734d1cb1fe9..a49a185e2a34 100644
18 --- a/dev-python/rich/Manifest
19 +++ b/dev-python/rich/Manifest
20 @@ -2,3 +2,4 @@ DIST rich-11.2.0.gh.tar.gz 16300346 BLAKE2B 520f512a7e26613a4cc881834f8c150963b8
21 DIST rich-12.0.0.gh.tar.gz 14727980 BLAKE2B b9f7761ab1084765f804fd22f9fb18e659f91b917bb452217752683f6d61320d2703eee28de3be3bd70009fc06d04165528393c4c0ec32a49b1dc7e94989a224 SHA512 4e47e48709180ef844bcf1cd516b22de8a4f22c5121ca0582a2cff7297d97afe63232926d518cd2bf4d6d1a7cea362ab12e71eedacce6b6d378ef1a1528d9e4c
22 DIST rich-12.0.1.gh.tar.gz 14857207 BLAKE2B 8e6419904ef0ba91d4b15059630f63769a28323600cb212f07c2a239201489e2078b8c4c792f486bde75efd9d09afe832fa2e2235ac91433ee24b33fcda02e68 SHA512 61077663b46a7e615b29df3b75b15ef97979c804abd283cc26f217ee8128b74a514fd7b92831d1d8928f768d2ec8230d8cd1da733106b424704a3187ee18ce95
23 DIST rich-12.1.0.gh.tar.gz 14883003 BLAKE2B f11642b5a90934e95dd7d71707617c8a3a1680644dafa9535f86ed5648f14389cddd968c329d4d94649c15123dd00045e0e9e7bb3314be3e6bbc72ba67c100e1 SHA512 6144af9b8843592d586e1c54d5bd97b6974a2510746319c7c0e961f04515ab837088bde2d0876e1a3d33eff40f4dfd8babc3c3f8123f6a4472b7a3eca580d131
24 +DIST rich-12.2.0.gh.tar.gz 14884722 BLAKE2B fb3720724d2441cddd85ac22249aa232bd31f664019f9eb02e10fda913b98c0220a4fadff47fc0f6884ff77b7ee9f98a96e036fb76d0492e0c040d752a9e9c79 SHA512 8f8108557ca21e41b35c03242d203c229f7af0d7abf5b394fc894e71ae098bbc14e046b166e5452d7a9f9d7d6e8cc0e13784d64cd721d2f7acec9f624d14db77
25
26 diff --git a/dev-python/rich/rich-12.2.0.ebuild b/dev-python/rich/rich-12.2.0.ebuild
27 new file mode 100644
28 index 000000000000..4cbcc9174b3c
29 --- /dev/null
30 +++ b/dev-python/rich/rich-12.2.0.ebuild
31 @@ -0,0 +1,40 @@
32 +# Copyright 2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=poetry
38 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
39 +
40 +inherit distutils-r1 optfeature
41 +
42 +DESCRIPTION="Python library for renrering rich text, tables, etc. to the terminal"
43 +HOMEPAGE="https://github.com/Textualize/rich"
44 +SRC_URI="
45 + https://github.com/Textualize/${PN}/archive/v${PV}.tar.gz
46 + -> ${P}.gh.tar.gz
47 +"
48 +
49 +LICENSE="MIT"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
52 +
53 +RDEPEND="
54 + dev-python/colorama[${PYTHON_USEDEP}]
55 + dev-python/commonmark[${PYTHON_USEDEP}]
56 + dev-python/pygments[${PYTHON_USEDEP}]
57 + $(python_gen_cond_dep '
58 + dev-python/typing-extensions[${PYTHON_USEDEP}]
59 + ' 3.8)
60 +"
61 +
62 +distutils_enable_tests pytest
63 +
64 +python_test() {
65 + local -x COLUMNS=80
66 + epytest -p no:pytest-qt
67 +}
68 +
69 +pkg_postinst() {
70 + optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets
71 +}