pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/go-i18n
Module Name: pkgsrc
Committed By: gavan
Date: Thu Aug 17 01:29:44 UTC 2017
Added Files:
pkgsrc/devel/go-i18n: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
Add go-i18n package
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-i18n/DESCR \
pkgsrc/devel/go-i18n/Makefile pkgsrc/devel/go-i18n/PLIST \
pkgsrc/devel/go-i18n/buildlink3.mk pkgsrc/devel/go-i18n/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/go-i18n/DESCR
diff -u /dev/null pkgsrc/devel/go-i18n/DESCR:1.1
--- /dev/null Thu Aug 17 01:29:44 2017
+++ pkgsrc/devel/go-i18n/DESCR Thu Aug 17 01:29:44 2017
@@ -0,0 +1,8 @@
+go-i18n is a Go package and a command that helps you translate Go programs into multiple languages.
+
+ Supports pluralized strings for all 200+ languages in the Unicode Common Locale Data Repository (CLDR).
+ Code and tests are automatically generated from CLDR data
+ Supports strings with named variables using text/template syntax.
+ Translation files are simple JSON, TOML or YAML.
+ Documented and tested!
+
Index: pkgsrc/devel/go-i18n/Makefile
diff -u /dev/null pkgsrc/devel/go-i18n/Makefile:1.1
--- /dev/null Thu Aug 17 01:29:44 2017
+++ pkgsrc/devel/go-i18n/Makefile Thu Aug 17 01:29:44 2017
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:29:44 gavan Exp $
+
+DISTNAME= go-i18n-1.8.1
+MASTER_SITES= ${MASTER_SITE_GITHUB:=nicksnyder/}
+CATEGORIES= devel
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/nicksnyder/go-i18n/
+COMMENT= Translate your Go program into multiple languages with templates and CLDR plural support.
+LICENSE= mit
+
+GO_DIST_BASE= ${DISTNAME}
+GO_SRCPATH= github.com/nicksnyder/go-i18n
+
+.include "../../www/go-toml-pelletier/buildlink3.mk"
+.include "../../devel/go-yaml/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
Index: pkgsrc/devel/go-i18n/PLIST
diff -u /dev/null pkgsrc/devel/go-i18n/PLIST:1.1
--- /dev/null Thu Aug 17 01:29:44 2017
+++ pkgsrc/devel/go-i18n/PLIST Thu Aug 17 01:29:44 2017
@@ -0,0 +1,81 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:29:44 gavan Exp $
+bin/codegen
+bin/goi18n
+gopkg/pkg/${GO_PLATFORM}/github.com/nicksnyder/go-i18n/i18n.a
+gopkg/pkg/${GO_PLATFORM}/github.com/nicksnyder/go-i18n/i18n/bundle.a
+gopkg/pkg/${GO_PLATFORM}/github.com/nicksnyder/go-i18n/i18n/language.a
+gopkg/pkg/${GO_PLATFORM}/github.com/nicksnyder/go-i18n/i18n/translation.a
+gopkg/src/github.com/nicksnyder/go-i18n/CHANGELOG
+gopkg/src/github.com/nicksnyder/go-i18n/LICENSE
+gopkg/src/github.com/nicksnyder/go-i18n/README.md
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/constants_command.go
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/constants_command_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/doc.go
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/gendoc.sh
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/goi18n.go
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/merge_command.go
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/merge_command_flat_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/merge_command_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/en-us.flat.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/en-us.flat.toml
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/en-us.flat.yaml
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/en-us.yaml
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/expected/R.go
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/expected/ar-ar.all.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/expected/ar-ar.untranslated.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/expected/en-us.all.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/expected/en-us.untranslated.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/expected/flat/ar-ar.all.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/expected/flat/ar-ar.untranslated.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/expected/flat/en-us.all.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/expected/flat/en-us.untranslated.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/expected/flat/en-us.untranslated.json.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/expected/flat/fr-fr.all.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/expected/flat/fr-fr.untranslated.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/expected/fr-fr.all.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/expected/fr-fr.untranslated.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/ar-ar.one.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/ar-ar.two.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/en-us.constants.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/en-us.one.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/en-us.two.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/flat/ar-ar.one.toml
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/flat/ar-ar.two.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/flat/en-us.constants.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/flat/en-us.one.yaml
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/flat/en-us.two.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/flat/fr-fr.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/fr-fr.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/ar-ar.one.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/ar-ar.two.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/en-us.one.yaml
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/en-us.two.json
+gopkg/src/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/fr-fr.json
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/bundle/bundle.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/bundle/bundle_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/example_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/exampletemplate_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/exampleyaml_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/i18n.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/language/codegen/generate.sh
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/language/codegen/main.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/language/codegen/plurals.xml
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/language/codegen/xml.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/language/language.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/language/language_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/language/operands.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/language/operands_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/language/plural.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/language/plural_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/language/pluralspec.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/language/pluralspec_gen.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/language/pluralspec_gen_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/language/pluralspec_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/translation/plural_translation.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/translation/plural_translation_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/translation/single_translation.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/translation/template.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/translation/template_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/translation/translation.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/translation/translation_test.go
+gopkg/src/github.com/nicksnyder/go-i18n/i18n/translations_test.go
Index: pkgsrc/devel/go-i18n/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-i18n/buildlink3.mk:1.1
--- /dev/null Thu Aug 17 01:29:44 2017
+++ pkgsrc/devel/go-i18n/buildlink3.mk Thu Aug 17 01:29:44 2017
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:29:44 gavan Exp $
+
+BUILDLINK_TREE+= go-i18n
+
+.if !defined(GO_I18N_BUILDLINK3_MK)
+GO_I18N_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-i18n= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-i18n?= build
+
+BUILDLINK_API_DEPENDS.go-i18n+= go-i18n>=1.8.1
+BUILDLINK_PKGSRCDIR.go-i18n?= ../../devel/go-i18n
+
+.include "../../www/go-toml-pelletier/buildlink3.mk"
+.endif # GO_I18N_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-i18n
+
Index: pkgsrc/devel/go-i18n/distinfo
diff -u /dev/null pkgsrc/devel/go-i18n/distinfo:1.1
--- /dev/null Thu Aug 17 01:29:44 2017
+++ pkgsrc/devel/go-i18n/distinfo Thu Aug 17 01:29:44 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:29:44 gavan Exp $
+
+SHA1 (go-i18n-1.8.1.tar.gz) = a98386e6f68713f12399e956a853fdfef35ab21b
+RMD160 (go-i18n-1.8.1.tar.gz) = 66fc62700c8de51aff6d4d037c11e4b4c96ca466
+SHA512 (go-i18n-1.8.1.tar.gz) = 0eaf5d0a1db3d13235491d188ed1326a31acd8dcaa89decb2435384f74e000aac3530182889256ca04b42e7f5c2db1dad3edf9a2f2966f83067d9fbdbf82c948
+Size (go-i18n-1.8.1.tar.gz) = 39655 bytes
Home |
Main Index |
Thread Index |
Old Index