From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 69A091382C5 for ; Fri, 12 Jun 2020 07:00:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56310E09DF; Fri, 12 Jun 2020 07:00:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 29AB3E09DF for ; Fri, 12 Jun 2020 07:00:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D384434F13A for ; Fri, 12 Jun 2020 07:00:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E6D242A0 for ; Fri, 12 Jun 2020 07:00:45 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1591945187.0e294c837285fff406a18693c70e18a7026bc393.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/translate-shell/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/translate-shell/Manifest app-i18n/translate-shell/translate-shell-0.9.6.12.ebuild X-VCS-Directories: app-i18n/translate-shell/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 0e294c837285fff406a18693c70e18a7026bc393 X-VCS-Branch: master Date: Fri, 12 Jun 2020 07:00:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6c2dbd6e-84f0-4b4d-92ba-99a5880184bf X-Archives-Hash: 16ea4fb66d84dd6fc22b93a6eb179697 commit: 0e294c837285fff406a18693c70e18a7026bc393 Author: Ferenc Erki gmail com> AuthorDate: Mon May 18 07:56:05 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Jun 12 06:59:47 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e294c83 app-i18n/translate-shell: bump version to 0.9.6.12 Signed-off-by: Ferenc Erki gmail.com> Signed-off-by: Joonas Niilola gentoo.org> app-i18n/translate-shell/Manifest | 1 + .../translate-shell-0.9.6.12.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/app-i18n/translate-shell/Manifest b/app-i18n/translate-shell/Manifest index b5178e6d272..b1809ce84ba 100644 --- a/app-i18n/translate-shell/Manifest +++ b/app-i18n/translate-shell/Manifest @@ -1,2 +1,3 @@ DIST translate-shell-0.9.6.10.tar.gz 76079 BLAKE2B 079e7d1fe039586b580fe4197e00cda2bceb2bcf3bc11eb003bec56f3b4cc19a955182bf7bf50ba6b3f9e2d28bb091b49b98ebb0dfcd06ef25ef5c9929a307cc SHA512 b78f4f982bc65f530186a6728a1976eb96c9f6a70c7bd93e99357ed7016ee4ade0e0415aeca063e513de497cc4b082f7cc247fe7278292f7c3b7dda6af744743 DIST translate-shell-0.9.6.11.tar.gz 76779 BLAKE2B 39748d0a2d7db504fd4c0bee516f703291dce93f19aa760fdae70b0551cb5f14ae5483314114f7e1141ae2231e0b128a79a9c05ec1fd08c970be886c4430e32d SHA512 d4d376b3750e43e3de5b95790fea7fc91e94140526ac15ee9f7818554f95d410772c8f8887433b6fd4547f569b3d6f510c1bc1497d8237223c344dbb8f0ae87f +DIST translate-shell-0.9.6.12.tar.gz 77580 BLAKE2B 78e8c694edc03fb03facd8c705c7e703a106fe9f2d7b46d464a681d52523817b4aeaf023fdedf46a9792270daf758fde457ba30ab1ffaa778f8db3eba3caa892 SHA512 6cbdfd14b7004d0e37a4abee01bec87409137f1bb7a14a964936bf0a2ad704ea1fc04dcd8ab10404a5c2df105bf7a6a8b33ed02c75c1035a6900082f6dfbb20d diff --git a/app-i18n/translate-shell/translate-shell-0.9.6.12.ebuild b/app-i18n/translate-shell/translate-shell-0.9.6.12.ebuild new file mode 100644 index 00000000000..2538cb44a32 --- /dev/null +++ b/app-i18n/translate-shell/translate-shell-0.9.6.12.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 ~x86" +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 +}