summaryrefslogtreecommitdiff
path: root/app-i18n/translate-shell
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /app-i18n/translate-shell
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'app-i18n/translate-shell')
-rw-r--r--app-i18n/translate-shell/Manifest6
-rw-r--r--app-i18n/translate-shell/metadata.xml4
-rw-r--r--app-i18n/translate-shell/translate-shell-0.9.6.10.ebuild2
-rw-r--r--app-i18n/translate-shell/translate-shell-0.9.6.11.ebuild40
4 files changed, 47 insertions, 5 deletions
diff --git a/app-i18n/translate-shell/Manifest b/app-i18n/translate-shell/Manifest
index 3b05e7e6123b..f0204c148e23 100644
--- a/app-i18n/translate-shell/Manifest
+++ b/app-i18n/translate-shell/Manifest
@@ -1,3 +1,5 @@
DIST translate-shell-0.9.6.10.tar.gz 76079 BLAKE2B 079e7d1fe039586b580fe4197e00cda2bceb2bcf3bc11eb003bec56f3b4cc19a955182bf7bf50ba6b3f9e2d28bb091b49b98ebb0dfcd06ef25ef5c9929a307cc SHA512 b78f4f982bc65f530186a6728a1976eb96c9f6a70c7bd93e99357ed7016ee4ade0e0415aeca063e513de497cc4b082f7cc247fe7278292f7c3b7dda6af744743
-EBUILD translate-shell-0.9.6.10.ebuild 752 BLAKE2B 7d992120ffd799887e771a362535e7eb92246fe411bc40f9125c11db7c77948a2b150d583c09af61da7a3689bc6b098b1b08e089ede7871f9aeccde1316b7b30 SHA512 dc8c4e22f8983ce2a3ca26a86c11aa4d11b5b8bff22863656cdcf407c520e803d358ce36ae245f0c88bdcac0b709337b6289b3092028e554458df890be8c051e
-MISC metadata.xml 856 BLAKE2B 0bfbb3ab59d613c16732c000d7b66f618b05be517ea8976fc187deea834b214f9dc405b1140fa51d98940935beadd3a3c94d35274fc75444360491f5be99662a SHA512 3c5b5a99f2ca8d41ea076b0190ea06a23e7334282a55c5664dd417e34c92cc5df7d03f33bd1d9b1708a1632de66c4d02587c6fe3e6761a70be75783e447c3d00
+DIST translate-shell-0.9.6.11.tar.gz 76779 BLAKE2B 39748d0a2d7db504fd4c0bee516f703291dce93f19aa760fdae70b0551cb5f14ae5483314114f7e1141ae2231e0b128a79a9c05ec1fd08c970be886c4430e32d SHA512 d4d376b3750e43e3de5b95790fea7fc91e94140526ac15ee9f7818554f95d410772c8f8887433b6fd4547f569b3d6f510c1bc1497d8237223c344dbb8f0ae87f
+EBUILD translate-shell-0.9.6.10.ebuild 765 BLAKE2B ab98fa6b4da4a0a714b977e9e0738e5143fb9a0d63f37cee472076f47f23d7f581927618a3cb3995b9dc345d961c4af16425ed3facf5bab9202171ffd3a92357 SHA512 fabda6783ccd8c0a0704020c85adee9326d117281087b4a449213aa3c7b5febb5ee6a7afc90a8c2f4c0e24681c94a5f1929a066580c1d4882e7964e2fffbf940
+EBUILD translate-shell-0.9.6.11.ebuild 1118 BLAKE2B f26b0bbfb6e70a306ef15e0185a551ff58151cb6cd1a661205bdb2dd62450446f5842d8e94d455cd6f6820831786125e56ea8192631e13299e5fc97279ebeb64 SHA512 48734c94f8f49d12a59e93587cd6a50ed4008bdabbe906dc18326b877096efe94254980e9fce11f75e4a3d01bf42ecf4ce5eaddd309188571955a1f15897c83b
+MISC metadata.xml 865 BLAKE2B 2834143eadbf94f85e3a549f46f21db043ca046c35f67fe7f38944a457939103bc3ecd7f0623894e63950de8593d5e03dc35296f52a4c931f4436ddd64f65e16 SHA512 551d9b43281bd185b5770059d6b3ac30ce28722576ace01d337edb967e8e4d2f6eb401fbbe405a60c78042f486327f614613948bdab1eefe1574b3eab8215e61
diff --git a/app-i18n/translate-shell/metadata.xml b/app-i18n/translate-shell/metadata.xml
index bea3adaede38..8677de75cecd 100644
--- a/app-i18n/translate-shell/metadata.xml
+++ b/app-i18n/translate-shell/metadata.xml
@@ -15,8 +15,8 @@
</maintainer>
<longdescription lang="en">
Translate Shell (formerly Google Translate CLI) is a command-line
- translator powered by Google Translate (default), Bing Translator, and
- Yandex.Translate.
+ translator powered by Google Translate (default), Bing Translator,
+ Yandex.Translate and Apertium.
</longdescription>
<use>
<flag name="tts">Enable text-to-speech support</flag>
diff --git a/app-i18n/translate-shell/translate-shell-0.9.6.10.ebuild b/app-i18n/translate-shell/translate-shell-0.9.6.10.ebuild
index 789c2e74a945..69f5d902ea8e 100644
--- a/app-i18n/translate-shell/translate-shell-0.9.6.10.ebuild
+++ b/app-i18n/translate-shell/translate-shell-0.9.6.10.ebuild
@@ -26,7 +26,7 @@ RDEPEND="
)
)"
DEPEND="${RDEPEND}
- test? ( virtual/emacs )
+ test? ( >=app-editors/emacs-23.1:* )
"
src_test() {
diff --git a/app-i18n/translate-shell/translate-shell-0.9.6.11.ebuild b/app-i18n/translate-shell/translate-shell-0.9.6.11.ebuild
new file mode 100644
index 000000000000..833f76cb661d
--- /dev/null
+++ b/app-i18n/translate-shell/translate-shell-0.9.6.11.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils
+
+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="Unlicense"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/gawk"
+DEPEND="${RDEPEND}
+ test? (
+ app-editors/emacs
+ app-misc/rlwrap
+ )"
+
+src_test() {
+ emake NETWORK_ACCESS=no test
+}
+
+src_install() {
+ emake PREFIX="${D}/usr" install
+}
+
+pkg_postinst() {
+ elog "You may need to install the following optional packages for full functionality:"
+ optfeature "Support all built-in translators (e.g. Apertium, Yandex)" net-misc/curl[ssl]
+ optfeature "Display text in right-to-left scripts" dev-libs/fribidi
+ optfeature "Text-to-speech functionality" media-sound/mpg123 app-accessibility/espeak media-video/mpv media-video/mplayer
+ optfeature "Interactive translation (REPL)" app-editors/emacs app-misc/rlwrap
+ optfeature "Spell checking" app-text/aspell app-text/hunspell
+}