mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/rich: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST rich-14.3.3.gh.tar.gz 15087403 BLAKE2B 3d21a0b1e5b5441bdcb9d0051a552ffe771287707bc0ab24d75cea5f6dc14b8fad9daffd0d4b1f0704c96883259d11a0c57701ae7c2628b86157912a1b7fa591 SHA512 61026597c8224f64bb113231dc1e991b7ed471793c72700ca8d52adf5234f96c84de09ec8d175a60582e68d8ff935c507fdb2599d0a567832f739abcb599ef96
|
||||
DIST rich-14.3.4.gh.tar.gz 15087431 BLAKE2B f0bc3e99dc7ed2afbe06a98c36b950baf4cf62b9fba2b3d288b9ee87027fcb05e7d6b34400f3838858c8f19e8324aeed7eef53c248dfdf036074b6a038323a83 SHA512 78be1ea9ee57c79a9d7863d7842459b701c773805812b9e7bf702715f90f64b2e9462b7a0093dd80005f5d988c86682d9e67044570b9de255f9972f8cc1f6dbd
|
||||
DIST rich-15.0.0.gh.tar.gz 15088001 BLAKE2B a95ca3add5d4c9c193838586dc3672edc925383878c40eab8890648c277571246c131a3739e3a691d1055ab849626c4df4af921c32cbea19d3a970b9f059fdf9 SHA512 fa765977800b07b7a5fae07cab26b3db2e1cb5b493c1e846a6f84b6c24334b2baf31b4cd34e5bb3e461db6aa823eea2e5a9b01e4c3b3efae7f4eb4ef134695be
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
# Copyright 2022-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="Python library for rendering rich text, tables, etc. to the terminal"
|
||||
HOMEPAGE="
|
||||
https://github.com/Textualize/rich/
|
||||
https://pypi.org/project/rich/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/Textualize/rich/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
>=dev-python/markdown-it-py-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.13.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/attrs-21.4.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/test_console.py::test_size_can_fall_back_to_std_descriptors
|
||||
# TODO: segfault in recursion (PyQt6 interfering?)
|
||||
tests/test_traceback.py::test_recursive
|
||||
# TODO: some random dep changes?
|
||||
tests/test_markdown.py::test_inline_code
|
||||
tests/test_syntax.py::test_blank_lines
|
||||
tests/test_syntax.py::test_python_render_simple_indent_guides
|
||||
# pygments version?
|
||||
tests/test_syntax.py::test_from_path
|
||||
tests/test_syntax.py::test_syntax_guess_lexer
|
||||
# flaky? plain broken?
|
||||
tests/test_console.py::test_brokenpipeerror
|
||||
)
|
||||
# version-specific output -- the usual deal
|
||||
case ${EPYTHON} in
|
||||
pypy3.11)
|
||||
EPYTEST_DESELECT+=(
|
||||
tests/test_inspect.py::test_inspect_integer_with_methods_python311
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
local -x COLUMNS=80
|
||||
epytest
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets
|
||||
}
|
||||
Reference in New Issue
Block a user