git: 7ff45dc2f473 - main - textproc/go-transifex-client: new (APIv3) transifex client
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Apr 2023 20:16:07 UTC
The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=7ff45dc2f4731461bb91d9284cf9ed55f2a0d8e1 commit 7ff45dc2f4731461bb91d9284cf9ed55f2a0d8e1 Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2023-04-24 19:57:18 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2023-04-24 20:16:03 +0000 textproc/go-transifex-client: new (APIv3) transifex client As described https://github.com/transifex/cli#migrating-from-older-versions-of-the-client https://help.transifex.com/en/articles/7171815-web-application-s-domain-change Transifex is undergoing changes in supported API and domain names. The old Python-based client no longer works. --- textproc/Makefile | 1 + textproc/go-transifex-client/Makefile | 18 ++++++++++++++++++ textproc/go-transifex-client/distinfo | 5 +++++ textproc/go-transifex-client/pkg-descr | 9 +++++++++ 4 files changed, 33 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 80ebaacade24..494bff364822 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -242,6 +242,7 @@ SUBDIR += gmetadom SUBDIR += gnugrep SUBDIR += go-md2man + SUBDIR += go-transifex-client SUBDIR += go-yq SUBDIR += gojq SUBDIR += goldendict diff --git a/textproc/go-transifex-client/Makefile b/textproc/go-transifex-client/Makefile new file mode 100644 index 000000000000..0f86089676b0 --- /dev/null +++ b/textproc/go-transifex-client/Makefile @@ -0,0 +1,18 @@ +PORTNAME= transifex-client +DISTVERSIONPREFIX= v +DISTVERSION= 1.6.7 +CATEGORIES= textproc +PKGNAMEPREFIX= go- + +MAINTAINER= adridg@FreeBSD.org +COMMENT= Command line interface for Transifex +WWW= https://github.com/transifex/cli + +LICENSE= APACHE20 + +USES= go:modules +GO_MODULE= github.com/transifex/cli + +PLIST_FILES= bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/textproc/go-transifex-client/distinfo b/textproc/go-transifex-client/distinfo new file mode 100644 index 000000000000..45af4b7dbb88 --- /dev/null +++ b/textproc/go-transifex-client/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1682365560 +SHA256 (go/textproc_go-transifex-client/transifex-client-v1.6.7/v1.6.7.mod) = 409d043e1ceeb8cd80fe8a6d452c5c7b5aef3ce23626d6ab6375c844b7c33f5c +SIZE (go/textproc_go-transifex-client/transifex-client-v1.6.7/v1.6.7.mod) = 646 +SHA256 (go/textproc_go-transifex-client/transifex-client-v1.6.7/v1.6.7.zip) = 3d643bb3e84296bc12083cf69bd9b861fb0a5d51692cd528aba03bef0cc0a6fb +SIZE (go/textproc_go-transifex-client/transifex-client-v1.6.7/v1.6.7.zip) = 135920 diff --git a/textproc/go-transifex-client/pkg-descr b/textproc/go-transifex-client/pkg-descr new file mode 100644 index 000000000000..a5b90129a1a7 --- /dev/null +++ b/textproc/go-transifex-client/pkg-descr @@ -0,0 +1,9 @@ +The Transifex Command-line Client (APIv3) is a command line tool that enables you +to easily manage your translations within a project without the need of an +elaborate UI system. + +You can use the command line client to easily create new resources, map +locale files to translations and synchronize your Transifex project with +your local repository and vice verca. Translators and localization managers +can also use it to handle large volumes of translation files easily and +without much hassle.