Gentoo Archives: gentoo-commits

From: John Helmert III <ajak@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/tremc/
Date: Mon, 30 May 2022 22:20:29
Message-Id: 1653949213.631a1e5cd0e3adb5cc71d7cbfb30580529aea4e6.ajak@gentoo
1 commit: 631a1e5cd0e3adb5cc71d7cbfb30580529aea4e6
2 Author: John Helmert III <ajak <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 30 22:17:38 2022 +0000
4 Commit: John Helmert III <ajak <AT> gentoo <DOT> org>
5 CommitDate: Mon May 30 22:20:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=631a1e5c
7
8 net-p2p/tremc: add 0.9.3
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.3.ebuild | 43 ++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/net-p2p/tremc/Manifest b/net-p2p/tremc/Manifest
17 index bf328bea1731..99bae34ad814 100644
18 --- a/net-p2p/tremc/Manifest
19 +++ b/net-p2p/tremc/Manifest
20 @@ -1 +1,2 @@
21 DIST tremc-0.9.2_p20201101.tar.gz 334602 BLAKE2B 916274775cb51948b3322f0d037d3130e2032ef31acdbbd2b7c42b17c639a82b9dccfe413db4936e9bd580caa7c1ec140091ad09b06058138e8fc0e4882b6c21 SHA512 acae099b2fd24362c02f24b5a6aca85e5b6b0608080a79e0a9a6950a3f61135e271415d0db60d04e39195272ea6e2e494ee85345db454811d6de430c75b5bece
22 +DIST tremc-0.9.3.tar.gz 334602 BLAKE2B 916274775cb51948b3322f0d037d3130e2032ef31acdbbd2b7c42b17c639a82b9dccfe413db4936e9bd580caa7c1ec140091ad09b06058138e8fc0e4882b6c21 SHA512 acae099b2fd24362c02f24b5a6aca85e5b6b0608080a79e0a9a6950a3f61135e271415d0db60d04e39195272ea6e2e494ee85345db454811d6de430c75b5bece
23
24 diff --git a/net-p2p/tremc/tremc-0.9.3.ebuild b/net-p2p/tremc/tremc-0.9.3.ebuild
25 new file mode 100644
26 index 000000000000..f08595a9ba3e
27 --- /dev/null
28 +++ b/net-p2p/tremc/tremc-0.9.3.ebuild
29 @@ -0,0 +1,43 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{9,10} )
36 +PYTHON_REQ_USE="ncurses"
37 +
38 +inherit bash-completion-r1 optfeature python-single-r1
39 +
40 +DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
41 +HOMEPAGE="https://github.com/tremc/tremc"
42 +SRC_URI="https://github.com/tremc/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
43 +COMMIT="8b6b29163295e5cf12d9d874e80203c5906619c8"
44 +S="${WORKDIR}/${PN}-${COMMIT}"
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 +# Github tag tarballs include the repo with commit in the dir's name
54 +# Specify a no-op src_compile so upstream's broken Makefile doesn't get used
55 +src_compile() {
56 + :
57 +}
58 +
59 +src_install() {
60 + python_doscript tremc
61 + newbashcomp completion/bash/tremc.sh tremc
62 + insinto /usr/share/zsh/site-functions
63 + doins completion/zsh/_tremc
64 + doman tremc.1
65 + dodoc NEWS README.md
66 +}
67 +
68 +pkg_postinst() {
69 + optfeature "GeoIP support" dev-python/geoip-python
70 + optfeature "Extract ipv4 from ipv6 addresses" dev-python/ipy
71 + optfeature "Clipboard support" dev-python/pyperclip
72 +}