Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/translate-shell/
Date: Sun, 23 Sep 2018 21:07:03
Message-Id: 1537736803.2dd02b8360f9e624bda7ab4c96ff4502bb311698.monsieurp@gentoo
1 commit: 2dd02b8360f9e624bda7ab4c96ff4502bb311698
2 Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
3 AuthorDate: Wed Sep 19 17:44:25 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 23 21:06:43 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dd02b83
7
8 app-i18n/translate-shell: version bump to 0.9.6.8.
9
10 Bump version and EAPI version, simplify tests.
11
12 Closes: https://bugs.gentoo.org/666570
13 Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
14 Package-Manager: Portage-2.3.49, Repoman-2.3.10
15 Closes: https://github.com/gentoo/gentoo/pull/9920
16
17 app-i18n/translate-shell/Manifest | 1 +
18 .../translate-shell/translate-shell-0.9.6.8.ebuild | 37 ++++++++++++++++++++++
19 2 files changed, 38 insertions(+)
20
21 diff --git a/app-i18n/translate-shell/Manifest b/app-i18n/translate-shell/Manifest
22 index 80db0ba2c4c..0dc66c59961 100644
23 --- a/app-i18n/translate-shell/Manifest
24 +++ b/app-i18n/translate-shell/Manifest
25 @@ -1,2 +1,3 @@
26 DIST translate-shell-0.9.6.6.tar.gz 73189 BLAKE2B ad4de403f2c95a1e4de5c963cb017f5a744f08d3bb8256dcc22f28c0916f6a0e693bce171a5dc500de5353c954bab7681f1227df9e48be286ad5aa07c5d06fa4 SHA512 c5451e537f44e325ee2f59d54942f91b8e2ccc0e322c42a2c4a0e98b8a933fe0630798a45e6f587ad5aee2cbb092204710ae36779c94b8333376a8072678d868
27 DIST translate-shell-0.9.6.7.tar.gz 74290 BLAKE2B 640e895b7f05c214a3f6fefab98fc85345fa155c29126bc9f14282e345f574cfa077ff7a55e5f1ed51fad3dbd50710a3831b894cabe48d16ce3d903fd63b2f47 SHA512 2648ea5adccd1ba19438bc683b41b7d3c4e1b3fcd79f9273a17ade90df6184a60d0f342f1745857ffb8d5457115bd60d0239a3e77343866a25b64529904ab416
28 +DIST translate-shell-0.9.6.8.tar.gz 75124 BLAKE2B d3a4768d1dd03f870fb5c31203808c5e9fa936444b9e96a973551bda0b0d858482f023457498504c3f64690c259c0119c03a2e661c71a326f74efdfe929bd042 SHA512 499a8b3f6de8283ca3f7cf1ce5c6ebdaa171ff73825edc4f24f456ee75d142f1702dd41c9f95d452b1d3cf9c730534e69c4e319e072bde9830f066695ae6711c
29
30 diff --git a/app-i18n/translate-shell/translate-shell-0.9.6.8.ebuild b/app-i18n/translate-shell/translate-shell-0.9.6.8.ebuild
31 new file mode 100644
32 index 00000000000..ed36659409b
33 --- /dev/null
34 +++ b/app-i18n/translate-shell/translate-shell-0.9.6.8.ebuild
35 @@ -0,0 +1,37 @@
36 +# Copyright 1999-2018 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=7
40 +
41 +DESCRIPTION="Online command-line translator"
42 +HOMEPAGE="https://www.soimort.org/translate-shell/"
43 +SRC_URI="https://github.com/soimort/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="public-domain"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +IUSE="+curl +bidi test tts"
49 +
50 +RDEPEND="
51 + app-misc/rlwrap
52 + >=sys-apps/gawk-4.0.2
53 + curl? ( net-misc/curl[ssl] )
54 + bidi? ( dev-libs/fribidi )
55 + tts? ( || (
56 + media-sound/mpg123
57 + app-accessibility/espeak
58 + media-video/mpv
59 + media-video/mplayer
60 + )
61 + )"
62 +DEPEND="${RDEPEND}
63 + test? ( app-editors/emacs )
64 + "
65 +
66 +src_test() {
67 + emake NETWORK_ACCESS=no test
68 +}
69 +
70 +src_install() {
71 + emake PREFIX="${D}/usr" install
72 +}