diff options
author | Robert Siebeck <gentoo.2019@r123.de> | 2022-04-08 15:10:07 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-04-08 18:50:37 +0300 |
commit | 34cf25c945973fbb491606cdbf612d0a86c6ffb4 (patch) | |
tree | ba1ebe6e02be89446b577b4255678b7718e3d921 /app-i18n/transifex-client | |
parent | dev-vcs/notify-webhook: Bump to EAPI 8, fix python eclass usage (diff) | |
download | gentoo-34cf25c945973fbb491606cdbf612d0a86c6ffb4.tar.gz gentoo-34cf25c945973fbb491606cdbf612d0a86c6ffb4.tar.bz2 gentoo-34cf25c945973fbb491606cdbf612d0a86c6ffb4.zip |
app-i18n/transifex-client: add version 1.1.0
Use a vendor package instead of EGO_SUM.
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de>
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.1.0.ebuild | 34 |
2 files changed, 36 insertions, 0 deletions
diff --git a/app-i18n/transifex-client/Manifest b/app-i18n/transifex-client/Manifest index bf61087a4d47..98da865c8193 100644 --- a/app-i18n/transifex-client/Manifest +++ b/app-i18n/transifex-client/Manifest @@ -198,3 +198,5 @@ DIST gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.0-20210107192922-496545a6307b.mod 95 BLAKE2B DIST gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.0-20210107192922-496545a6307b.zip 105245 BLAKE2B f0bcfd9d097905364d9c2b032b92a8aad64b63e0942eb864759b156eb97ac58769fbc035acf4ba57bd55db1b6596499ddc6d36e6d2e5cc584c2a465256ca3a73 SHA512 f9c0400f1f5590d7185ae3fdac7adf1787a5f5198e52ebd02841b7df5113c5e34de6a66fa01b2f5735be4b21190dffb46e9d8b084ad5c00ebd99599a39ff73db DIST transifex-client-1.0.0.tar.gz 81323 BLAKE2B 1e9dea8388e88756dc8da78882eb18586536c9d84e19cdd204b3c8451e716b76bddf00032537e7fb2f9149568837bb18e43f3f321ca64f6f1dd0524a4d10ca3d SHA512 e4e5c43684fef7a866154dbca5246d9230d357ad7abe1009901d2e27a326a4ff25528c53af90534f2187081df0ff663664314188e5f1b0010e5edd5e263b8db5 DIST transifex-client-1.0.3.tar.gz 82918 BLAKE2B 5c034064cb5fa2dff82f9db4cfb8e9b772923baae7f981e2994545388cc63beaa85f6ce666ed80d445a4cdf3cca02a81f681312f08648096f3fd32e2634f24bb SHA512 c98761793c22318011a066f0e69705c6163a14a861e321f42c5ca8772821661af19b9d559c5f1c193f7d413923bd8333707e74dd20cd6a0f6496559c5f4deff1 +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 diff --git a/app-i18n/transifex-client/transifex-client-1.1.0.ebuild b/app-i18n/transifex-client/transifex-client-1.1.0.ebuild new file mode 100644 index 000000000000..f939ba472e2b --- /dev/null +++ b/app-i18n/transifex-client/transifex-client-1.1.0.ebuild @@ -0,0 +1,34 @@ +# 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" + +go-module_set_globals + +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}/${PN}-1.1-deps.tar.xz" +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 +} |