diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-06 10:25:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-06 10:25:44 +0100 |
commit | 64b277f858d171900cba8a53e675ef8c3ff893fc (patch) | |
tree | 7a19533ece87b58d4bbcc04d91701aaf888b0d99 /app-i18n/transifex-client/transifex-client-1.6.10.ebuild | |
parent | ededf7351b15c0df4d166af8fc7928bd1a0b2c8e (diff) |
gentoo auto-resync : 06:09:2023 - 10:25:44
Diffstat (limited to 'app-i18n/transifex-client/transifex-client-1.6.10.ebuild')
-rw-r--r-- | app-i18n/transifex-client/transifex-client-1.6.10.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app-i18n/transifex-client/transifex-client-1.6.10.ebuild b/app-i18n/transifex-client/transifex-client-1.6.10.ebuild new file mode 100644 index 000000000000..4c2ef37584ef --- /dev/null +++ b/app-i18n/transifex-client/transifex-client-1.6.10.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 +} |