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: Sun, 08 May 2022 17:39:04
Message-Id: 1652030364.86fa065c1be14ac23d084844056a561938c4b5a0.arthurzam@gentoo
1 commit: 86fa065c1be14ac23d084844056a561938c4b5a0
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 8 17:19:24 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sun May 8 17:19:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86fa065c
7
8 dev-python/rich: add 12.4.1
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/rich/Manifest | 1 +
13 dev-python/rich/rich-12.4.1.ebuild | 44 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest
17 index c88ee8df939f..3fe59e4945a5 100644
18 --- a/dev-python/rich/Manifest
19 +++ b/dev-python/rich/Manifest
20 @@ -1,3 +1,4 @@
21 DIST rich-12.2.0.gh.tar.gz 14884722 BLAKE2B fb3720724d2441cddd85ac22249aa232bd31f664019f9eb02e10fda913b98c0220a4fadff47fc0f6884ff77b7ee9f98a96e036fb76d0492e0c040d752a9e9c79 SHA512 8f8108557ca21e41b35c03242d203c229f7af0d7abf5b394fc894e71ae098bbc14e046b166e5452d7a9f9d7d6e8cc0e13784d64cd721d2f7acec9f624d14db77
22 DIST rich-12.3.0.gh.tar.gz 14889665 BLAKE2B baa098e25768b4b84a269547c7726d281f67e333c0993513223dfdda7023001ea78b6edd10218726ae888e7216e18c6c4d5b9711268d083dfd0a41c3162658c9 SHA512 6df0ac70ffac7aca5726c9ea29c6eeada1ff955539842a1352eaa7f7e95c4c7ec57f4e2eaca6808e522d7e455efa80df2ccc3e20188f4646ad0e18294b59f744
23 DIST rich-12.4.0.gh.tar.gz 14890620 BLAKE2B fe38abeec7f896053fc2f13259694dd90378db5318683243cf7b13add91c356992b9e4faa475aa282af70694b14e7c82e54c292bd3bcb4411d460dc831310b26 SHA512 dec7903854b29d13b31d3b17a592cd6b94ea1fb6626f7d8abae57927e8cd8021a51cf060b0f431d6fd8a358ae6938038f5aad0c695afa121e05ab3e97aa61006
24 +DIST rich-12.4.1.gh.tar.gz 14890981 BLAKE2B 7eb8424ca5e3a985e6d000ed2c74784dba104237a67315c59d3f3cdf71a7196621566b9f40f7ca0e9f74d6bcd1daae781ee2aef871f5fbf738d3209ae13dba4a SHA512 ee02526c5e717976c2b4a8e750dc9f87d5b2d15a9b144aabb8e84de01ba4df78985ad5ed6bbcf9f6e42a76a63cab6da76c05da917aa8c09d678858fa148db76c
25
26 diff --git a/dev-python/rich/rich-12.4.1.ebuild b/dev-python/rich/rich-12.4.1.ebuild
27 new file mode 100644
28 index 000000000000..e83ce3f6aa64
29 --- /dev/null
30 +++ b/dev-python/rich/rich-12.4.1.ebuild
31 @@ -0,0 +1,44 @@
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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~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 + local EPYTEST_DESELECT=(
67 + # broken with =dev-python/pygments-2.12.0
68 + tests/test_console.py::test_size_can_fall_back_to_std_descriptors
69 + )
70 + epytest -p no:pytest-qt
71 +}
72 +
73 +pkg_postinst() {
74 + optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets
75 +}