summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerenc Erki <erkiferenc@gmail.com>2018-09-19 19:44:25 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-09-23 23:06:43 +0200
commit2dd02b8360f9e624bda7ab4c96ff4502bb311698 (patch)
treef302f3afbfeada613f982bf95ef3ff54f2425efa /app-i18n/translate-shell
parentdev-libs/efl: version bump to 1.21.1. (diff)
downloadgentoo-2dd02b8360f9e624bda7ab4c96ff4502bb311698.tar.gz
gentoo-2dd02b8360f9e624bda7ab4c96ff4502bb311698.tar.bz2
gentoo-2dd02b8360f9e624bda7ab4c96ff4502bb311698.zip
app-i18n/translate-shell: version bump to 0.9.6.8.
Bump version and EAPI version, simplify tests. Closes: https://bugs.gentoo.org/666570 Signed-off-by: Ferenc Erki <erkiferenc@gmail.com> Package-Manager: Portage-2.3.49, Repoman-2.3.10 Closes: https://github.com/gentoo/gentoo/pull/9920
Diffstat (limited to 'app-i18n/translate-shell')
-rw-r--r--app-i18n/translate-shell/Manifest1
-rw-r--r--app-i18n/translate-shell/translate-shell-0.9.6.8.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/app-i18n/translate-shell/Manifest b/app-i18n/translate-shell/Manifest
index 80db0ba2c4c4..0dc66c599612 100644
--- a/app-i18n/translate-shell/Manifest
+++ b/app-i18n/translate-shell/Manifest
@@ -1,2 +1,3 @@
DIST translate-shell-0.9.6.6.tar.gz 73189 BLAKE2B ad4de403f2c95a1e4de5c963cb017f5a744f08d3bb8256dcc22f28c0916f6a0e693bce171a5dc500de5353c954bab7681f1227df9e48be286ad5aa07c5d06fa4 SHA512 c5451e537f44e325ee2f59d54942f91b8e2ccc0e322c42a2c4a0e98b8a933fe0630798a45e6f587ad5aee2cbb092204710ae36779c94b8333376a8072678d868
DIST translate-shell-0.9.6.7.tar.gz 74290 BLAKE2B 640e895b7f05c214a3f6fefab98fc85345fa155c29126bc9f14282e345f574cfa077ff7a55e5f1ed51fad3dbd50710a3831b894cabe48d16ce3d903fd63b2f47 SHA512 2648ea5adccd1ba19438bc683b41b7d3c4e1b3fcd79f9273a17ade90df6184a60d0f342f1745857ffb8d5457115bd60d0239a3e77343866a25b64529904ab416
+DIST translate-shell-0.9.6.8.tar.gz 75124 BLAKE2B d3a4768d1dd03f870fb5c31203808c5e9fa936444b9e96a973551bda0b0d858482f023457498504c3f64690c259c0119c03a2e661c71a326f74efdfe929bd042 SHA512 499a8b3f6de8283ca3f7cf1ce5c6ebdaa171ff73825edc4f24f456ee75d142f1702dd41c9f95d452b1d3cf9c730534e69c4e319e072bde9830f066695ae6711c
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
new file mode 100644
index 000000000000..ed36659409bf
--- /dev/null
+++ b/app-i18n/translate-shell/translate-shell-0.9.6.8.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Online command-line translator"
+HOMEPAGE="https://www.soimort.org/translate-shell/"
+SRC_URI="https://github.com/soimort/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+curl +bidi test tts"
+
+RDEPEND="
+ app-misc/rlwrap
+ >=sys-apps/gawk-4.0.2
+ curl? ( net-misc/curl[ssl] )
+ bidi? ( dev-libs/fribidi )
+ tts? ( || (
+ media-sound/mpg123
+ app-accessibility/espeak
+ media-video/mpv
+ media-video/mplayer
+ )
+ )"
+DEPEND="${RDEPEND}
+ test? ( app-editors/emacs )
+ "
+
+src_test() {
+ emake NETWORK_ACCESS=no test
+}
+
+src_install() {
+ emake PREFIX="${D}/usr" install
+}