dev-python/rich-rst - 2.0.1 (stuff)

Search

Install

Install this version:

emerge -a =dev-python/rich-rst-2.0.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/rich-rst-2.0.1

Or alternatively:

emerge --autounmask-write -a =dev-python/rich-rst-2.0.1

Package Information

Description:
A beautiful reStructuredText renderer for the rich library
Homepage:
https://github.com/wasi-master/rich-rst https://pypi.org/project/rich-rst/
License:
MIT BSD-2 public-domain

Ebuild Details

Version EAPI Keywords Slot
2.0.1 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1

DESCRIPTION="A beautiful reStructuredText renderer for the rich library"
HOMEPAGE="
	https://github.com/wasi-master/rich-rst
	https://pypi.org/project/rich-rst/
"
# Upstream's 2.0.x PyPI sdist omits tests/conftest.py (fixture
# definitions) plus tests/test_sphinx_{directives,roles}.py and
# tests/test_tables.py — MANIFEST.in misses them.  Pull the github
# archive instead so the bundled-in-repo test suite runs.
SRC_URI="https://github.com/wasi-master/rich-rst/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${PV}"

# Bundled docutils subset (BSD-2 + public-domain) in rich_rst/_vendor/;
# upstream vendored to remove GPL code from the dep tree.  See
# rich_rst/_vendor/LICENSES.txt + VENDORED.md for the full rationale.
LICENSE="MIT BSD-2 public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	>=dev-python/rich-12.0.0[${PYTHON_USEDEP}]
	>=dev-python/pygments-2.0.0[${PYTHON_USEDEP}]
"

EPYTEST_PLUGINS=()

distutils_enable_tests pytest

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/rich-12.0.0[]
	>=dev-python/pygments-2.0.0[]

Manifest for 2.0.1

Type File Size Source URLs
DIST rich-rst-2.0.1.gh.tar.gz 3101267 bytes https://github.com/wasi-master/rich-rst/archive/refs/tags/v2.0.1.tar.gz