pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go-hcl Add go-hcl package
details: https://anonhg.NetBSD.org/pkgsrc/rev/11af45c14790
branches: trunk
changeset: 366677:11af45c14790
user: gavan <gavan%pkgsrc.org@localhost>
date: Thu Aug 17 02:02:39 2017 +0000
description:
Add go-hcl package
diffstat:
lang/go-hcl/DESCR | 5 +
lang/go-hcl/Makefile | 20 +++++
lang/go-hcl/PLIST | 159 ++++++++++++++++++++++++++++++++++++++++++++++
lang/go-hcl/buildlink3.mk | 17 ++++
lang/go-hcl/distinfo | 6 +
5 files changed, 207 insertions(+), 0 deletions(-)
diffs (227 lines):
diff -r a33bd792870c -r 11af45c14790 lang/go-hcl/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go-hcl/DESCR Thu Aug 17 02:02:39 2017 +0000
@@ -0,0 +1,5 @@
+HCL (HashiCorp Configuration Language) is a configuration language built by HashiCorp. The goal of HCL is to build a structured configuration language that is both human and machine friendly for use
with command-line tools, but specifically targeted towards DevOps tools, servers, etc.
+
+HCL is also fully JSON compatible. That is, JSON can be used as completely valid input to a system expecting HCL. This helps makes systems interoperable with other systems.
+
+HCL is heavily inspired by libucl, nginx configuration, and others similar.
diff -r a33bd792870c -r 11af45c14790 lang/go-hcl/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go-hcl/Makefile Thu Aug 17 02:02:39 2017 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 02:02:39 gavan Exp $
+
+DISTNAME= hcl-0.0.20160616
+PKGNAME= go-${DISTNAME}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=hashicorp/}
+CATEGORIES= lang
+GITHUB_TAG= d7400db7143f8e869812e50a53acd6c8d92af3b8
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/hashicorp/hcl
+COMMENT= HCL is a configuration language.
+LICENSE= mpl-2.0
+
+GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH= github.com/hashicorp/hcl
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff -r a33bd792870c -r 11af45c14790 lang/go-hcl/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go-hcl/PLIST Thu Aug 17 02:02:39 2017 +0000
@@ -0,0 +1,159 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 02:02:39 gavan Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/hcl.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/hcl/hcl/ast.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/hcl/hcl/fmtcmd.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/hcl/hcl/parser.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/hcl/hcl/printer.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/hcl/hcl/scanner.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/hcl/hcl/strconv.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/hcl/hcl/token.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/hcl/json/parser.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/hcl/json/scanner.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/hcl/json/token.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/hcl/testhelper.a
+gopkg/src/github.com/hashicorp/hcl/LICENSE
+gopkg/src/github.com/hashicorp/hcl/Makefile
+gopkg/src/github.com/hashicorp/hcl/README.md
+gopkg/src/github.com/hashicorp/hcl/appveyor.yml
+gopkg/src/github.com/hashicorp/hcl/decoder.go
+gopkg/src/github.com/hashicorp/hcl/decoder_test.go
+gopkg/src/github.com/hashicorp/hcl/hcl.go
+gopkg/src/github.com/hashicorp/hcl/hcl/ast/ast.go
+gopkg/src/github.com/hashicorp/hcl/hcl/ast/ast_test.go
+gopkg/src/github.com/hashicorp/hcl/hcl/ast/walk.go
+gopkg/src/github.com/hashicorp/hcl/hcl/fmtcmd/fmtcmd.go
+gopkg/src/github.com/hashicorp/hcl/hcl/fmtcmd/fmtcmd_test.go
+gopkg/src/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/.hidden.ignore
+gopkg/src/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/dir.ignore
+gopkg/src/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/file.ignore
+gopkg/src/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/good.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/error.go
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/error_test.go
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/parser.go
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/parser_test.go
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/array_comment.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/array_comment_2.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/assign_colon.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/assign_deep.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment_lastline.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment_single.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/complex.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/complex_key.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/empty.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/key_without_value.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/list.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/list_comma.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/missing_braces.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/multiple.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/object_key_without_value.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/old.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/structure.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/structure_basic.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/structure_empty.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/types.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/unterminated_object.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/unterminated_object_2.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/nodes.go
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/printer.go
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/printer_test.go
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/testdata/comment.golden
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/testdata/comment.input
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/testdata/comment_aligned.golden
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/testdata/comment_aligned.input
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/testdata/comment_standalone.golden
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/testdata/comment_standalone.input
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/testdata/complexhcl.golden
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/testdata/complexhcl.input
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/testdata/empty_block.golden
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/testdata/empty_block.input
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/testdata/list.golden
+gopkg/src/github.com/hashicorp/hcl/hcl/printer/testdata/list.input
+gopkg/src/github.com/hashicorp/hcl/hcl/scanner/scanner.go
+gopkg/src/github.com/hashicorp/hcl/hcl/scanner/scanner_test.go
+gopkg/src/github.com/hashicorp/hcl/hcl/strconv/quote.go
+gopkg/src/github.com/hashicorp/hcl/hcl/strconv/quote_test.go
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/array_comment.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/assign_colon.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/assign_deep.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/comment.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/comment_single.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/complex.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/complex_key.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/empty.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/list.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/list_comma.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/multiple.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/old.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/structure.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/structure_basic.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/structure_empty.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/test-fixtures/types.hcl
+gopkg/src/github.com/hashicorp/hcl/hcl/token/position.go
+gopkg/src/github.com/hashicorp/hcl/hcl/token/token.go
+gopkg/src/github.com/hashicorp/hcl/hcl/token/token_test.go
+gopkg/src/github.com/hashicorp/hcl/hcl_test.go
+gopkg/src/github.com/hashicorp/hcl/json/parser/flatten.go
+gopkg/src/github.com/hashicorp/hcl/json/parser/parser.go
+gopkg/src/github.com/hashicorp/hcl/json/parser/parser_test.go
+gopkg/src/github.com/hashicorp/hcl/json/parser/test-fixtures/array.json
+gopkg/src/github.com/hashicorp/hcl/json/parser/test-fixtures/basic.json
+gopkg/src/github.com/hashicorp/hcl/json/parser/test-fixtures/object.json
+gopkg/src/github.com/hashicorp/hcl/json/parser/test-fixtures/types.json
+gopkg/src/github.com/hashicorp/hcl/json/scanner/scanner.go
+gopkg/src/github.com/hashicorp/hcl/json/scanner/scanner_test.go
+gopkg/src/github.com/hashicorp/hcl/json/test-fixtures/array.json
+gopkg/src/github.com/hashicorp/hcl/json/test-fixtures/basic.json
+gopkg/src/github.com/hashicorp/hcl/json/test-fixtures/object.json
+gopkg/src/github.com/hashicorp/hcl/json/test-fixtures/types.json
+gopkg/src/github.com/hashicorp/hcl/json/token/position.go
+gopkg/src/github.com/hashicorp/hcl/json/token/token.go
+gopkg/src/github.com/hashicorp/hcl/json/token/token_test.go
+gopkg/src/github.com/hashicorp/hcl/lex.go
+gopkg/src/github.com/hashicorp/hcl/lex_test.go
+gopkg/src/github.com/hashicorp/hcl/parse.go
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/basic.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/basic.json
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/basic_int_string.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/basic_squish.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/decode_policy.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/decode_policy.json
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/decode_tf_variable.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/decode_tf_variable.json
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/empty.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/escape.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/flat.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/float.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/float.json
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/interpolate_escape.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/multiline.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/multiline.json
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/multiline_bad.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/multiline_indented.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/multiline_no_eof.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/multiline_no_hanging_indent.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/multiline_no_marker.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/nested_block_comment.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/nested_provider_bad.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/object_list.json
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/scientific.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/scientific.json
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/slice_expand.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/structure.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/structure.json
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/structure2.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/structure2.json
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/structure_flat.json
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/structure_flatmap.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/structure_list.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/structure_list.json
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/structure_list_deep.json
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/structure_multi.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/structure_multi.json
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/terraform_heroku.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/terraform_heroku.json
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/tfvars.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/unterminated_block_comment.hcl
+gopkg/src/github.com/hashicorp/hcl/test-fixtures/unterminated_brace.hcl
+gopkg/src/github.com/hashicorp/hcl/testhelper/unix2dos.go
+@pkgdir bin
diff -r a33bd792870c -r 11af45c14790 lang/go-hcl/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go-hcl/buildlink3.mk Thu Aug 17 02:02:39 2017 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 02:02:39 gavan Exp $
+
+BUILDLINK_TREE+= go-hcl
+
+.if !defined(GO_HCL_BUILDLINK3_MK)
+GO_HCL_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-hcl= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-hcl?= build
+
+BUILDLINK_API_DEPENDS.go-hcl+= go-hcl>=0.0
+BUILDLINK_PKGSRCDIR.go-hcl?= ../../lang/go-hcl
+
+.endif # GO_HCL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-hcl
+
diff -r a33bd792870c -r 11af45c14790 lang/go-hcl/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go-hcl/distinfo Thu Aug 17 02:02:39 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 02:02:39 gavan Exp $
+
+SHA1 (hcl-0.0.20160616-d7400db7143f8e869812e50a53acd6c8d92af3b8.tar.gz) = fc81abad5e3001dc7ae1b75d09c8b3fc6aa1dcc9
+RMD160 (hcl-0.0.20160616-d7400db7143f8e869812e50a53acd6c8d92af3b8.tar.gz) = 12f9c7f06fd88b2b3e8609409f3c526f14741708
+SHA512 (hcl-0.0.20160616-d7400db7143f8e869812e50a53acd6c8d92af3b8.tar.gz) =
f2ad913f0319ec34ce2294d76f0663fabeda440b9d61270fb37fdea7a5dcb4a51131eef9e14053b8352b946529c6eb2493b22a56ea14f0abfec7acebd044304c
+Size (hcl-0.0.20160616-d7400db7143f8e869812e50a53acd6c8d92af3b8.tar.gz) = 60934 bytes
Home |
Main Index |
Thread Index |
Old Index