From 7f36020745ecb3d4596f9489cbf7554c0a34b084 Mon Sep 17 00:00:00 2001 From: James Kalyan Date: Sun, 22 Aug 2021 22:14:42 -0600 Subject: [PATCH] app-text/tldr: new pack Though the project name is tldr-python-client, I named it tldr after its name in the PyPI repo. AFAIK there is no other tldr client in ::gentoo/::guru and it's trivial to rename if/when a conflicting package name enters the tree. Signed-off-by: James Kalyan --- app-text/tldr/Manifest | 1 + app-text/tldr/metadata.xml | 12 ++++++++++++ app-text/tldr/tldr-2.0.0.ebuild | 22 ++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 app-text/tldr/Manifest create mode 100644 app-text/tldr/metadata.xml create mode 100644 app-text/tldr/tldr-2.0.0.ebuild diff --git a/app-text/tldr/Manifest b/app-text/tldr/Manifest new file mode 100644 index 0000000000..42af485832 --- /dev/null +++ b/app-text/tldr/Manifest @@ -0,0 +1 @@ +DIST tldr-2.0.0.tar.gz 8843 BLAKE2B c87704db6f699e883b0d5c075df84ac32ca7ff4133957c111013a537ceab201625d19f2278d73fd931f4052eac8d41b0273bb91e1622208d992faf4a42d640fe SHA512 0872fa1c0d98273ffbaea751940f1591e3297cc72706c174d953fbdce187d41296cd2a954321d6c3fd879566cefffb4707567c8d132fbe6ca21efd1ca3111530 diff --git a/app-text/tldr/metadata.xml b/app-text/tldr/metadata.xml new file mode 100644 index 0000000000..4bb5d2da5f --- /dev/null +++ b/app-text/tldr/metadata.xml @@ -0,0 +1,12 @@ + + + + + tldr-pages/tldr-python-client + https://github.com/tldr-pages/tldr-python-client/issues + + + contrib_x@protonmail.com + James Kalyan + + diff --git a/app-text/tldr/tldr-2.0.0.ebuild b/app-text/tldr/tldr-2.0.0.ebuild new file mode 100644 index 0000000000..8c13117722 --- /dev/null +++ b/app-text/tldr/tldr-2.0.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +inherit distutils-r1 + +DESCRIPTION="Python command line client for tldr pages" +HOMEPAGE="https://github.com/tldr-pages/tldr-python-client/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/termcolor + dev-python/colorama + dev-python/argcomplete +" +DEPEND="${RDEPEND}"