diff options
author | Robert Siebeck <gentoo.2019@r123.de> | 2022-06-28 19:28:40 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-07-05 11:52:01 +0300 |
commit | 659090df24c76a4c4f7661e2e4c354c5b1292d24 (patch) | |
tree | 61ddb0b4dfae5c52acd1cd0cd846d5f739817513 /app-i18n/transifex-client | |
parent | dev-python/django: Remove old (diff) | |
download | gentoo-659090df24c76a4c4f7661e2e4c354c5b1292d24.tar.gz gentoo-659090df24c76a4c4f7661e2e4c354c5b1292d24.tar.bz2 gentoo-659090df24c76a4c4f7661e2e4c354c5b1292d24.zip |
app-i18n/transifex-client: add version 1.2.0
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de>
Closes: https://github.com/gentoo/gentoo/pull/26120
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-i18n/transifex-client')
-rw-r--r-- | app-i18n/transifex-client/Manifest | 2 | ||||
-rw-r--r-- | app-i18n/transifex-client/transifex-client-1.2.0.ebuild | 32 |
2 files changed, 34 insertions, 0 deletions
diff --git a/app-i18n/transifex-client/Manifest b/app-i18n/transifex-client/Manifest index 1303ae56b2e8..2c7dca36317f 100644 --- a/app-i18n/transifex-client/Manifest +++ b/app-i18n/transifex-client/Manifest @@ -1,2 +1,4 @@ DIST transifex-client-1.1-deps.tar.xz 227565760 BLAKE2B d976f8e778abd2bab54306f53afa02f450be3564d427ac3624849e17d2e1adc109c0ec344bfb052a59e5a8060dd0d7313919efbf9883243f27aa82b25df0d5fb SHA512 d244fc394db334478593b69069b61b2795607ed3fdf719b6083eebcb50e128e33c8513e35660490005f2716892d98886f990a0850a15f91c3f75e9569341005a 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 diff --git a/app-i18n/transifex-client/transifex-client-1.2.0.ebuild b/app-i18n/transifex-client/transifex-client-1.2.0.ebuild new file mode 100644 index 000000000000..9a033bd17757 --- /dev/null +++ b/app-i18n/transifex-client/transifex-client-1.2.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 +} |