From c4a995691d363600c7fb4cd18c7d2c4bd0a7e476 Mon Sep 17 00:00:00 2001 From: Robert Siebeck Date: Mon, 1 Aug 2022 23:09:03 +0200 Subject: app-i18n/transifex-client: add new version 1.3.0 Signed-off-by: Robert Siebeck Signed-off-by: Joonas Niilola --- app-i18n/transifex-client/Manifest | 2 ++ .../transifex-client/transifex-client-1.3.0.ebuild | 32 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 app-i18n/transifex-client/transifex-client-1.3.0.ebuild (limited to 'app-i18n') diff --git a/app-i18n/transifex-client/Manifest b/app-i18n/transifex-client/Manifest index 2c7dca36317f..47c8ed3109ac 100644 --- a/app-i18n/transifex-client/Manifest +++ b/app-i18n/transifex-client/Manifest @@ -2,3 +2,5 @@ DIST transifex-client-1.1-deps.tar.xz 227565760 BLAKE2B d976f8e778abd2bab54306f5 DIST transifex-client-1.1.0.tar.gz 83035 BLAKE2B fafee6b554116c8525409b2ad581f4b9c46faf58332b885afc74468e73f50936af743e9fefca29f773a8126fd5e91f0fd902b3542c1d2bb0e41ff6475d3bcddb SHA512 315208498ad18a6008c16b8e7cf6c25c227b4c28f1c54ced7fc31d082da3eb54859230acd67ad293405770be444c96687a1879792b6385c3ca6cf5f221ed9450 DIST transifex-client-1.2.0-deps.tar.bz 241369348 BLAKE2B 4e7dce98ece36658b1ae6bc6e66f9cb60ba80504ed13c42f1766662a08a6a6faf89cd7a184b1840c838b361aa1b33c853b2a7af64df250377687ea23136975d5 SHA512 9f7efb88ac716726693dc242bc9752787d7115f159dda517401f1e5b0ffcfcb6828d9fffc35457e91282572ef221ea2cd84247ffd183b811ad07ca9d7993088b DIST transifex-client-1.2.0.tar.gz 84681 BLAKE2B 920f5a3257c31da6a076f48b9549fd9c40e1d0b8d0815808bb914ed5ecc88bb0d7a83ea40173c16e2985315d5c17aa8e1da6869fd325509579d9004f17d12c34 SHA512 6bf8b4341be77a81aad267c5efe923351797c02b666ed4fc8baec09a267d6c2ad84de38eb50061c33d4694c7b5198063f84b411007ebc79294b35a78a480d72a +DIST transifex-client-1.3.0-deps.tar.bz 241930614 BLAKE2B 7855172504f3fe1208556e0030bcaec7dac4b21ed948926368b0b91c1984cb73e6d0bda0110bdd592cf3be7835f847fe54009f2c5c41fd14899b7b5d37932937 SHA512 5eb88614b354aeac0acd02cfe416c884adb8070614946dd71de512030e410a20ca7eb6b426876c218ef9b6ec1d4faf9eb557e2daf84cf9895cce04c33a937655 +DIST transifex-client-1.3.0.tar.gz 87395 BLAKE2B 90da67d49e1b2e09d509b0ff373f0403eddc5c29a63ca64f747006ed3cb95c51add58e442a139e7e17d28b44e700aed249d0e5ca563f6af832578640f8f7164d SHA512 6e81d94e95157322d0fc74386d7e6f218f589bb81ce36b0967c09ca9199d641b13953f491373d9e7ec9f6ddc50c243801a24da985a2e577b733bf364623e3d75 diff --git a/app-i18n/transifex-client/transifex-client-1.3.0.ebuild b/app-i18n/transifex-client/transifex-client-1.3.0.ebuild new file mode 100644 index 000000000000..9a033bd17757 --- /dev/null +++ b/app-i18n/transifex-client/transifex-client-1.3.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021-2022 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 +} -- cgit v1.2.3-65-gdbad