commit: 7f36020745ecb3d4596f9489cbf7554c0a34b084 Author: James Kalyan <contrib_x <AT> protonmail <DOT> com> AuthorDate: Mon Aug 23 04:14:42 2021 +0000 Commit: James Kalyan <contrib_x <AT> protonmail <DOT> com> CommitDate: Mon Aug 23 04:28:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f360207
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 <contrib_x <AT> protonmail.com> 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(+) diff --git a/app-text/tldr/Manifest b/app-text/tldr/Manifest new file mode 100644 index 000000000..42af48583 --- /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 000000000..4bb5d2da5 --- /dev/null +++ b/app-text/tldr/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <remote-id type="github">tldr-pages/tldr-python-client</remote-id> + <bugs-to>https://github.com/tldr-pages/tldr-python-client/issues</bugs-to> + </upstream> + <maintainer type="person"> + <email>[email protected]</email> + <name>James Kalyan</name> + </maintainer> +</pkgmetadata> 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 000000000..8c1311772 --- /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}"
