re-add rich-10.16.2-r1 (from main)

This commit is contained in:
2022-03-17 06:54:31 +01:00
committed by Andreas Billmeier
parent 79bb843459
commit cc2b9fcebf
4 changed files with 59 additions and 4 deletions

3
dev-python/rich/Manifest Normal file
View File

@@ -0,0 +1,3 @@
DIST rich-10.16.2.tar.gz 16282443 BLAKE2B ccc7292e265770880539d6a1a6b2e819b45e2e3d4d152f1a16c56f2da74c9a472ae49ea0a4a677ad71c4dd087fade2c415484073b4b2cd86869ad7c43c32b162 SHA512 9cb8b0c8105589db22d7efdc47cbfa20531cd184f07855db4bfafb667299c7d3e520b19e3b33e7818affb7a5674805849ee9f2e770927e285ccd7f4f838982c3
EBUILD rich-10.16.2-r1.ebuild 1068 BLAKE2B 66f3d38d863fdee5f75219b9b567303d1278772a1126dd4431b9da150f1a84853de0a864107706687bbaac546b30bdef0313165de88abbd13d95265e9c36951e SHA512 92bf2fc9c6449e444201b88dfb616211eb1f1e619237d9585ab8c2bb4b9698940b2b364ecab5579b12d12cbe38fba622ae73bc4cc768e286a63ebda325dfef5b
MISC metadata.xml 450 BLAKE2B 7e83b4996ac12757ec188de31fa91ba75a80d6c4bd19b76782ced0f35d496d013716315fb3ae29bbef5f1d0cb0be88f86bd62fd6a521c3c34e19e2b083c44a15 SHA512 f47d21dcd21a89792769737eb1d0951ea54c9b76aed7deb8f6bfec4a44c7136d6f6fbef541221ab5fb3a22ce014eade24df5147bbbac115162ddff4e991a3897

View File

@@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">rich</remote-id>
<maintainer status="unknown">
<email>willmcgugan@gmail.com</email>
<name>Will McGugan</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,37 @@
# 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} )
inherit distutils-r1 optfeature
DESCRIPTION="Python library for renrering rich text, tables, etc. to the terminal"
HOMEPAGE="https://github.com/willmcgugan/rich"
SRC_URI="https://github.com/willmcgugan/${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
}