Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/tldr/
Date: Tue, 24 Aug 2021 19:24:45
Message-Id: 1629692923.7f36020745ecb3d4596f9489cbf7554c0a34b084.andrewammerlaan@gentoo
1 commit: 7f36020745ecb3d4596f9489cbf7554c0a34b084
2 Author: James Kalyan <contrib_x <AT> protonmail <DOT> com>
3 AuthorDate: Mon Aug 23 04:14:42 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 23 04:28:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f360207
7
8 app-text/tldr: new pack
9
10 Though the project name is tldr-python-client, I named it tldr after its
11 name in the PyPI repo. AFAIK there is no other tldr client in
12 ::gentoo/::guru and it's trivial to rename if/when a conflicting package
13 name enters the tree.
14
15 Signed-off-by: James Kalyan <contrib_x <AT> protonmail.com>
16
17 app-text/tldr/Manifest | 1 +
18 app-text/tldr/metadata.xml | 12 ++++++++++++
19 app-text/tldr/tldr-2.0.0.ebuild | 22 ++++++++++++++++++++++
20 3 files changed, 35 insertions(+)
21
22 diff --git a/app-text/tldr/Manifest b/app-text/tldr/Manifest
23 new file mode 100644
24 index 000000000..42af48583
25 --- /dev/null
26 +++ b/app-text/tldr/Manifest
27 @@ -0,0 +1 @@
28 +DIST tldr-2.0.0.tar.gz 8843 BLAKE2B c87704db6f699e883b0d5c075df84ac32ca7ff4133957c111013a537ceab201625d19f2278d73fd931f4052eac8d41b0273bb91e1622208d992faf4a42d640fe SHA512 0872fa1c0d98273ffbaea751940f1591e3297cc72706c174d953fbdce187d41296cd2a954321d6c3fd879566cefffb4707567c8d132fbe6ca21efd1ca3111530
29
30 diff --git a/app-text/tldr/metadata.xml b/app-text/tldr/metadata.xml
31 new file mode 100644
32 index 000000000..4bb5d2da5
33 --- /dev/null
34 +++ b/app-text/tldr/metadata.xml
35 @@ -0,0 +1,12 @@
36 +<?xml version="1.0" encoding="UTF-8"?>
37 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
38 +<pkgmetadata>
39 + <upstream>
40 + <remote-id type="github">tldr-pages/tldr-python-client</remote-id>
41 + <bugs-to>https://github.com/tldr-pages/tldr-python-client/issues</bugs-to>
42 + </upstream>
43 + <maintainer type="person">
44 + <email>contrib_x@××××××××××.com</email>
45 + <name>James Kalyan</name>
46 + </maintainer>
47 +</pkgmetadata>
48
49 diff --git a/app-text/tldr/tldr-2.0.0.ebuild b/app-text/tldr/tldr-2.0.0.ebuild
50 new file mode 100644
51 index 000000000..8c1311772
52 --- /dev/null
53 +++ b/app-text/tldr/tldr-2.0.0.ebuild
54 @@ -0,0 +1,22 @@
55 +# Copyright 2021 Gentoo Authors
56 +# Distributed under the terms of the GNU General Public License v2
57 +
58 +EAPI=8
59 +
60 +PYTHON_COMPAT=( python3_{6,7,8,9} )
61 +inherit distutils-r1
62 +
63 +DESCRIPTION="Python command line client for tldr pages"
64 +HOMEPAGE="https://github.com/tldr-pages/tldr-python-client/"
65 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
66 +
67 +LICENSE="MIT"
68 +SLOT="0"
69 +KEYWORDS="~amd64"
70 +
71 +RDEPEND="
72 + dev-python/termcolor
73 + dev-python/colorama
74 + dev-python/argcomplete
75 +"
76 +DEPEND="${RDEPEND}"