app-i18n/transifex-client - 1.6.17 (robert7k)

Search

Install

Install this version:

emerge -a =app-i18n/transifex-client-1.6.17

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-i18n/transifex-client-1.6.17

Or alternatively:

emerge --autounmask-write -a =app-i18n/transifex-client-1.6.17

Package Information

Description:
The Transifex command-line client
Homepage:
https://github.com/transifex/cli
License:
Apache-2.0 BSD BSD-2 ISC LGPL-3 MIT MPL-2.0

Ebuild Details

Version EAPI Keywords Slot
1.6.17 8 ~amd64 ~ppc64 ~x86 0
View Raw Ebuild
# 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
}

Inherited Eclasses

Manifest for 1.6.17

Type File Size Source URLs
DIST transifex-client-1.6.17-deps.tar.bz 241704215 bytes https://gitlab.com/api/v4/projects/35204985/packages/generic/transifex-client/1.6.17/transifex-client-1.6.17-deps.tar.bz
DIST transifex-client-1.6.17.tar.gz 97206 bytes https://github.com/transifex/cli/archive/refs/tags/v1.6.17.tar.gz