diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-01-10 05:52:00 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-01-10 05:58:03 +0100 |
commit | f3d8600eddaec31ed5d500622637c35a69a91ca0 (patch) | |
tree | 1607dc9e357eed63b1df51b2bace6435f9b15e7e /dev-python/rich | |
parent | dev-python/rfc3986: Bump to 2.0.0 (diff) | |
download | gentoo-f3d8600eddaec31ed5d500622637c35a69a91ca0.tar.gz gentoo-f3d8600eddaec31ed5d500622637c35a69a91ca0.tar.bz2 gentoo-f3d8600eddaec31ed5d500622637c35a69a91ca0.zip |
dev-python/rich: Bump to 11.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/rich')
-rw-r--r-- | dev-python/rich/Manifest | 1 | ||||
-rw-r--r-- | dev-python/rich/metadata.xml | 2 | ||||
-rw-r--r-- | dev-python/rich/rich-11.0.0.ebuild | 37 |
3 files changed, 39 insertions, 1 deletions
diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index 59a7fbf2208f..3f122ee70cbe 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -1,3 +1,4 @@ DIST rich-10.16.0.tar.gz 16280103 BLAKE2B af66398a4bc6e3e5503418721906679dc6f964b6dcbb56195f64d0ef4f504d9e0002f8b727c4fba7b42dda8790a03bb12a85150b99d5294712e38dea2800f841 SHA512 48c9e4d0b733cf79e9bceac284ca3cf37c14f52c0f3590f08acd9b0ea791da0200753f3cbae13a619b9c42fdb1167d55724c80123e2935bf2ed7133a15639ac8 DIST rich-10.16.1.tar.gz 16280385 BLAKE2B dda2e6a64f9ecfe99fdda3a2e24c6a859e25eca48ebc2af63dbea3c8b90f977e10253721e85b876165c9f51c52ceed057e77b08cf2c77c28de67b8a2c49c4617 SHA512 341aa3fdb7fe608d15c867eb50f36fcc250e041a256e4bee86f0c69e7e0f9239c84be88833dad56f05edeb09a734d64f423b9080bd13b88c3a59d958e8ff1f4c DIST rich-10.16.2.tar.gz 16282443 BLAKE2B ccc7292e265770880539d6a1a6b2e819b45e2e3d4d152f1a16c56f2da74c9a472ae49ea0a4a677ad71c4dd087fade2c415484073b4b2cd86869ad7c43c32b162 SHA512 9cb8b0c8105589db22d7efdc47cbfa20531cd184f07855db4bfafb667299c7d3e520b19e3b33e7818affb7a5674805849ee9f2e770927e285ccd7f4f838982c3 +DIST rich-11.0.0.tar.gz 16293684 BLAKE2B bd38f84a7e0623dc9474bdc369b452fc668cd4756f00f6dd1b185f95dffb3d55f6b95a7f6dfaed5ee1ec5f2d9514af6080835b9ffd010f150005b15afb761d97 SHA512 bf8218ff43a101c4624baff1ecc316eb95912d0b634c41293b44de135ea4c6ead0fa2c6a96ab1403ce4dd80961915dbe7753415a74c7d41fc1f2d227113e9ff3 diff --git a/dev-python/rich/metadata.xml b/dev-python/rich/metadata.xml index f39155ecdf42..baf8ac70a801 100644 --- a/dev-python/rich/metadata.xml +++ b/dev-python/rich/metadata.xml @@ -8,6 +8,6 @@ <stabilize-allarches/> <upstream> <remote-id type="pypi">rich</remote-id> - <remote-id type="github">willmcgugan/rich</remote-id> + <remote-id type="github">Textualize/rich</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/rich/rich-11.0.0.ebuild b/dev-python/rich/rich-11.0.0.ebuild new file mode 100644 index 000000000000..17a1b08bfda1 --- /dev/null +++ b/dev-python/rich/rich-11.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +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}.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 +} |