diff options
| author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-04-26 19:26:44 +0300 |
|---|---|---|
| committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-04-26 19:26:44 +0300 |
| commit | ebc5bbf8e30367506621155c4fb7c22d61d8388e (patch) | |
| tree | 9ae9cbb8eb479c483117ec7add097bb3f154a080 /dev-python | |
| parent | ba802012f016d6253a793be37e212c2146a87a8a (diff) | |
| download | gentoo-ebc5bbf8e30367506621155c4fb7c22d61d8388e.tar.gz gentoo-ebc5bbf8e30367506621155c4fb7c22d61d8388e.tar.bz2 gentoo-ebc5bbf8e30367506621155c4fb7c22d61d8388e.zip | |
dev-python/rich: add 12.3.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/rich/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/rich/rich-12.3.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index 05d735f645c2..ca4938725460 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -2,3 +2,4 @@ DIST rich-12.0.0.gh.tar.gz 14727980 BLAKE2B b9f7761ab1084765f804fd22f9fb18e659f9 DIST rich-12.0.1.gh.tar.gz 14857207 BLAKE2B 8e6419904ef0ba91d4b15059630f63769a28323600cb212f07c2a239201489e2078b8c4c792f486bde75efd9d09afe832fa2e2235ac91433ee24b33fcda02e68 SHA512 61077663b46a7e615b29df3b75b15ef97979c804abd283cc26f217ee8128b74a514fd7b92831d1d8928f768d2ec8230d8cd1da733106b424704a3187ee18ce95 DIST rich-12.1.0.gh.tar.gz 14883003 BLAKE2B f11642b5a90934e95dd7d71707617c8a3a1680644dafa9535f86ed5648f14389cddd968c329d4d94649c15123dd00045e0e9e7bb3314be3e6bbc72ba67c100e1 SHA512 6144af9b8843592d586e1c54d5bd97b6974a2510746319c7c0e961f04515ab837088bde2d0876e1a3d33eff40f4dfd8babc3c3f8123f6a4472b7a3eca580d131 DIST rich-12.2.0.gh.tar.gz 14884722 BLAKE2B fb3720724d2441cddd85ac22249aa232bd31f664019f9eb02e10fda913b98c0220a4fadff47fc0f6884ff77b7ee9f98a96e036fb76d0492e0c040d752a9e9c79 SHA512 8f8108557ca21e41b35c03242d203c229f7af0d7abf5b394fc894e71ae098bbc14e046b166e5452d7a9f9d7d6e8cc0e13784d64cd721d2f7acec9f624d14db77 +DIST rich-12.3.0.gh.tar.gz 14889665 BLAKE2B baa098e25768b4b84a269547c7726d281f67e333c0993513223dfdda7023001ea78b6edd10218726ae888e7216e18c6c4d5b9711268d083dfd0a41c3162658c9 SHA512 6df0ac70ffac7aca5726c9ea29c6eeada1ff955539842a1352eaa7f7e95c4c7ec57f4e2eaca6808e522d7e455efa80df2ccc3e20188f4646ad0e18294b59f744 diff --git a/dev-python/rich/rich-12.3.0.ebuild b/dev-python/rich/rich-12.3.0.ebuild new file mode 100644 index 000000000000..71d52b563603 --- /dev/null +++ b/dev-python/rich/rich-12.3.0.ebuild @@ -0,0 +1,45 @@ +# 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} pypy3 ) + +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/commonmark[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # broken with =dev-python/pygments-2.12.0 + tests/test_console.py::test_size_can_fall_back_to_std_descriptors +) + +python_test() { + local -x COLUMNS=80 + epytest -p no:pytest-qt +} + +pkg_postinst() { + optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets +} |
