summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Siebeck <gentoo.2019@r123.de>2023-04-03 13:51:25 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-04-13 09:02:58 +0300
commitd159115579ea6ca34a3d40612e9526352d027866 (patch)
treec28ad718bc764afe0ec820f7acdadb164d9f2d6b /app-i18n/transifex-client
parentdev-lang/mujs: add 1.3.3 (diff)
downloadgentoo-d159115579ea6ca34a3d40612e9526352d027866.tar.gz
gentoo-d159115579ea6ca34a3d40612e9526352d027866.tar.bz2
gentoo-d159115579ea6ca34a3d40612e9526352d027866.zip
app-i18n/transifex-client: add new version 1.6.7
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de> Closes: https://github.com/gentoo/gentoo/pull/30403 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-i18n/transifex-client')
-rw-r--r--app-i18n/transifex-client/Manifest2
-rw-r--r--app-i18n/transifex-client/transifex-client-1.6.7.ebuild32
2 files changed, 34 insertions, 0 deletions
diff --git a/app-i18n/transifex-client/Manifest b/app-i18n/transifex-client/Manifest
index 37e98ce90bc0..9b946edb0c2a 100644
--- a/app-i18n/transifex-client/Manifest
+++ b/app-i18n/transifex-client/Manifest
@@ -2,3 +2,5 @@ DIST transifex-client-1.6.4-deps.tar.bz 241683180 BLAKE2B 395caf5b5db1ea93363a7f
DIST transifex-client-1.6.4.tar.gz 94703 BLAKE2B b51e29aadab41c23b95efc86c334876094772e9d4f4f0cdaa41a5d016e710597da631953446d20689b0028e34bb4cc31ab0bdc1d3107dbc3a4abd6ba9279698e SHA512 d8e6b18d30b9d225c6ed84c9cc699743c289ccfc151c1aa74411989f965f554e651ece3e36a033dc8fc77bc3bb5502b02b2d04b1affe96811195b74edadf128c
DIST transifex-client-1.6.5-deps.tar.bz 241689777 BLAKE2B 55ca6f8c39e08887ddad1fa27fa5065cdeaa193d470be846b60ad0350578e64d10f9ea63a6d9bd744b048e0db164591d07a069e2deab55e75ecb1e78efc44c19 SHA512 72b5702b31121e42b6b107b3addecd9ac6010042f94b2116e08b18e50264d6a6bb7010e0bef6dead599d96de390390f624b413ff042cc4293538fabbf904bc19
DIST transifex-client-1.6.5.tar.gz 94921 BLAKE2B 1d1e00c62754765e1bf51165e7fcfa2f7352d3d2033b7f8f5916c89e571dbcd2d421038e44382b490aa91013213fe89232cd5337678c265c6bf32734786737ce SHA512 212d6d008eb0f7b83483c4dfd3b3f1caf6a18cb136e8a814b6395d7baee4097c902280a93e358f1a9ccaf43e668e3dcc372e0c67765624610506012328f89f3d
+DIST transifex-client-1.6.7-deps.tar.bz 241684571 BLAKE2B 4b241c0b6fb9107994d27e145247d814c72d80e73762c99643eaf8e6b05e5b8f86070fd6172c7af024e2b6bd5bd23db6b8020387c091ef26cc335598ab3f1dd1 SHA512 6f534e9a9406eebed89a89ab79fe4202cc34dd9a101db4e24fe6021d8acd97681d8802a0fa404f4b625225de1d69559b074e876955e9427651f3aabb0f9596a5
+DIST transifex-client-1.6.7.tar.gz 95631 BLAKE2B 669319748b18721741568854516e416263215c313151ff0246bacb24d9a01feaa132f7108acc6e312db1c386d4ca69f3f5c92b7f6b2c0cb5e6514c0c38d87b85 SHA512 6f31856c7d8f4028d17084b46f3623ffe33c3b077bcfc12942f9b451e6feae3f7b04c826cd9755e37c43dc31611689f06a9bd73871939de4658c69adb9c2f7d1
diff --git a/app-i18n/transifex-client/transifex-client-1.6.7.ebuild b/app-i18n/transifex-client/transifex-client-1.6.7.ebuild
new file mode 100644
index 000000000000..4c2ef37584ef
--- /dev/null
+++ b/app-i18n/transifex-client/transifex-client-1.6.7.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="The Transifex command-line client"
+HOMEPAGE="https://github.com/transifex/cli"
+
+SRC_URI="https://github.com/transifex/cli/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://gitlab.com/api/v4/projects/35204985/packages/generic/${PN}/${PV}/${P}-deps.tar.bz"
+S="${WORKDIR}"/cli-${PV}
+
+LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-3 MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+src_compile() {
+ emake GOFLAGS="${GOFLAGS} -ldflags=-X="github.com/transifex/cli/internal/txlib.Version=${PV}
+}
+
+src_test() {
+ # Skip tests depending on a network connection. Bug #831772
+ rm internal/txlib/update_test.go || die
+ go test ./... || die
+}
+
+src_install() {
+ dobin bin/tx
+ dodoc README.md
+}