1 |
commit: 2b57da707a4e35d340eb9811c2603d40d0a912c3 |
2 |
Author: John Helmert III <ajak <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 11 14:24:02 2021 +0000 |
4 |
Commit: John Helmert III <ajak <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 11 19:33:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b57da70 |
7 |
|
8 |
net-p2p/tremc: add 0.9.2_p20201101 |
9 |
|
10 |
Signed-off-by: John Helmert III <ajak <AT> gentoo.org> |
11 |
|
12 |
net-p2p/tremc/Manifest | 1 + |
13 |
net-p2p/tremc/tremc-0.9.2_p20201101.ebuild | 44 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/net-p2p/tremc/Manifest b/net-p2p/tremc/Manifest |
17 |
index 7e7b6b1bb16..fefad98dd61 100644 |
18 |
--- a/net-p2p/tremc/Manifest |
19 |
+++ b/net-p2p/tremc/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST tremc-0.9.2.tar.gz 315631 BLAKE2B f5ed154fbfcbdb3e77b678a5827d3f68a6be4033530d6d4e451d57808d43cd5737fff32cf62445d246bfce4d8f02e4cac0c1156603e220e228e61b725d6deaf8 SHA512 d6d6d155ddac918d329226d5c3b53c63fd4fa0b98e30f1eb2cd2226ea598bd7dd81d72f747dc11f4a508bcc0453d90d774c1d8db6dac05ae1ecbc217290b7db3 |
22 |
+DIST tremc-0.9.2_p20201101.tar.gz 334602 BLAKE2B 916274775cb51948b3322f0d037d3130e2032ef31acdbbd2b7c42b17c639a82b9dccfe413db4936e9bd580caa7c1ec140091ad09b06058138e8fc0e4882b6c21 SHA512 acae099b2fd24362c02f24b5a6aca85e5b6b0608080a79e0a9a6950a3f61135e271415d0db60d04e39195272ea6e2e494ee85345db454811d6de430c75b5bece |
23 |
|
24 |
diff --git a/net-p2p/tremc/tremc-0.9.2_p20201101.ebuild b/net-p2p/tremc/tremc-0.9.2_p20201101.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..df6a3896db7 |
27 |
--- /dev/null |
28 |
+++ b/net-p2p/tremc/tremc-0.9.2_p20201101.ebuild |
29 |
@@ -0,0 +1,44 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{9,10} ) |
36 |
+PYTHON_REQ_USE="ncurses" |
37 |
+ |
38 |
+COMMIT="8b6b29163295e5cf12d9d874e80203c5906619c8" |
39 |
+ |
40 |
+inherit bash-completion-r1 optfeature python-single-r1 |
41 |
+ |
42 |
+DESCRIPTION="Ncurses interface for the Transmission BitTorrent client" |
43 |
+HOMEPAGE="https://github.com/tremc/tremc" |
44 |
+SRC_URI="https://github.com/tremc/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="GPL-3" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
50 |
+ |
51 |
+RDEPEND="${PYTHON_DEPS}" |
52 |
+ |
53 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
54 |
+ |
55 |
+# Specify a no-op src_compile so upstream's broken Makefile doesn't get used |
56 |
+src_compile() { |
57 |
+ : |
58 |
+} |
59 |
+ |
60 |
+src_install() { |
61 |
+ python_doscript tremc |
62 |
+ newbashcomp completion/bash/tremc.sh tremc |
63 |
+ insinto /usr/share/zsh/site-functions |
64 |
+ doins completion/zsh/_tremc |
65 |
+ doman tremc.1 |
66 |
+ dodoc NEWS README.md |
67 |
+} |
68 |
+ |
69 |
+pkg_postinst() { |
70 |
+ optfeature "GeoIP support" dev-python/geoip-python |
71 |
+ optfeature "Extract ipv4 from ipv6 addresses" dev-python/ipy |
72 |
+ optfeature "Clipboard support" dev-python/pyperclip |
73 |
+} |