app-text/tldr - 3.4.1 (guru)

Search

Install

Install this version:

emerge -a =app-text/tldr-3.4.1

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

autounmask =app-text/tldr-3.4.1

Or alternatively:

emerge --autounmask-write -a =app-text/tldr-3.4.1

Package Information

Description:
Python command line client for tldr pages
Homepage:
https://github.com/tldr-pages/tldr-python-client
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
3.4.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..13} )

inherit distutils-r1

DESCRIPTION="Python command line client for tldr pages"
HOMEPAGE="https://github.com/tldr-pages/tldr-python-client"
# sdist lacks some files.
SRC_URI="https://github.com/tldr-pages/tldr-python-client/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-python-client-${PV}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="man"

RDEPEND="
	dev-python/colorama[${PYTHON_USEDEP}]
	dev-python/shtab[${PYTHON_USEDEP}]
	dev-python/termcolor[${PYTHON_USEDEP}]
	!app-misc/tealdeer
"
BDEPEND="
	man? (
		dev-python/sphinx
		dev-python/sphinx-argparse
	)
"

EPYTEST_DESELECT=(
	# violates network sandbox
	tests/test_tldr.py::test_error_message
)

distutils_enable_tests pytest

src_prepare() {
	distutils-r1_src_prepare
}

src_compile() {
	use man && emake -C docs
	distutils-r1_src_compile
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-text/tldr | euse -E <flag> -p app-text/tldr | euse -D <flag> -p app-text/tldr

Global/Standard Flags

man

Inherited Eclasses

Dependencies

RDEPEND

	dev-python/colorama[]
	dev-python/shtab[]
	dev-python/termcolor[]
	!app-misc/tealdeer

BDEPEND

	man? (
		dev-python/sphinx
		dev-python/sphinx-argparse
	)

Manifest for 3.4.1

Type File Size Source URLs
DIST tldr-3.4.1.gh.tar.gz 99342 bytes https://github.com/tldr-pages/tldr-python-client/archive/refs/tags/3.4.1.tar.gz