gentoo/app-i18n/transifex-client/transifex-client-1.6.17.ebuild
Sam James 47a4d27b17
app-i18n/transifex-client: Stabilize 1.6.17 x86, #954962
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-28 07:02:15 +01:00

33 lines
829 B
Bash

# Copyright 2021-2025 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}.gh.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
}