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, 02 Jan 2022 18:56:58
Message-Id: 1641149635.68f6ce3f4004126cfc423ef8780a444865ba129e.arthurzam@gentoo
1 commit: 68f6ce3f4004126cfc423ef8780a444865ba129e
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 2 18:53:55 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 2 18:53:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68f6ce3f
7
8 dev-python/rich: add 10.16.2
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/rich/Manifest | 1 +
13 dev-python/rich/rich-10.16.2.ebuild | 37 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest
17 index 9bcbe1a2a8e8..05d8ab2361e1 100644
18 --- a/dev-python/rich/Manifest
19 +++ b/dev-python/rich/Manifest
20 @@ -6,3 +6,4 @@ DIST rich-10.15.1.tar.gz 16279572 BLAKE2B e91a9d168d88c1d8db4b0901809c4da29d32b2
21 DIST rich-10.15.2.tar.gz 16282858 BLAKE2B 7fe05eb357e5137319764b0d751c3bc68f8545e391575a9a360b252c395714ecb8ad7b944e7c77e74990413cb6bfb2a6c6db0fb8e72eb098f91c8d5d86bc9f8a SHA512 02e851cc9a72cb62d1826f82a5b8919a8911cf3dbdfe5f5443a89b2b7bc48c575dcf5ba63c17da60cf2ef9de3d036c7b68a845610be72af63d082d487c3b61c2
22 DIST rich-10.16.0.tar.gz 16280103 BLAKE2B af66398a4bc6e3e5503418721906679dc6f964b6dcbb56195f64d0ef4f504d9e0002f8b727c4fba7b42dda8790a03bb12a85150b99d5294712e38dea2800f841 SHA512 48c9e4d0b733cf79e9bceac284ca3cf37c14f52c0f3590f08acd9b0ea791da0200753f3cbae13a619b9c42fdb1167d55724c80123e2935bf2ed7133a15639ac8
23 DIST rich-10.16.1.tar.gz 16280385 BLAKE2B dda2e6a64f9ecfe99fdda3a2e24c6a859e25eca48ebc2af63dbea3c8b90f977e10253721e85b876165c9f51c52ceed057e77b08cf2c77c28de67b8a2c49c4617 SHA512 341aa3fdb7fe608d15c867eb50f36fcc250e041a256e4bee86f0c69e7e0f9239c84be88833dad56f05edeb09a734d64f423b9080bd13b88c3a59d958e8ff1f4c
24 +DIST rich-10.16.2.tar.gz 16282443 BLAKE2B ccc7292e265770880539d6a1a6b2e819b45e2e3d4d152f1a16c56f2da74c9a472ae49ea0a4a677ad71c4dd087fade2c415484073b4b2cd86869ad7c43c32b162 SHA512 9cb8b0c8105589db22d7efdc47cbfa20531cd184f07855db4bfafb667299c7d3e520b19e3b33e7818affb7a5674805849ee9f2e770927e285ccd7f4f838982c3
25
26 diff --git a/dev-python/rich/rich-10.16.2.ebuild b/dev-python/rich/rich-10.16.2.ebuild
27 new file mode 100644
28 index 000000000000..23da7333ab91
29 --- /dev/null
30 +++ b/dev-python/rich/rich-10.16.2.ebuild
31 @@ -0,0 +1,37 @@
32 +# Copyright 2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
39 +inherit distutils-r1 optfeature
40 +
41 +DESCRIPTION="Python library for renrering rich text, tables, etc. to the terminal"
42 +HOMEPAGE="https://github.com/willmcgugan/rich"
43 +SRC_URI="https://github.com/willmcgugan/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
48 +
49 +RDEPEND="
50 + dev-python/colorama[${PYTHON_USEDEP}]
51 + dev-python/commonmark[${PYTHON_USEDEP}]
52 + dev-python/pygments[${PYTHON_USEDEP}]"
53 +
54 +distutils_enable_tests pytest
55 +
56 +python_test() {
57 + local EPYTEST_DESELECT=(
58 + # check for exact color render string, which changes across pygments bumps
59 + tests/test_syntax.py::test_python_render
60 + tests/test_syntax.py::test_python_render_simple
61 + tests/test_syntax.py::test_python_render_indent_guides
62 + )
63 + epytest -p no:pytest-qt
64 +}
65 +
66 +pkg_postinst() {
67 + optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets
68 +}