pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/go-properties
Module Name: pkgsrc
Committed By: gavan
Date: Thu Aug 17 01:36:54 UTC 2017
Added Files:
pkgsrc/devel/go-properties: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
Add go-properties package
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-properties/DESCR \
pkgsrc/devel/go-properties/Makefile pkgsrc/devel/go-properties/PLIST \
pkgsrc/devel/go-properties/buildlink3.mk \
pkgsrc/devel/go-properties/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-properties/DESCR
diff -u /dev/null pkgsrc/devel/go-properties/DESCR:1.1
--- /dev/null Thu Aug 17 01:36:54 2017
+++ pkgsrc/devel/go-properties/DESCR Thu Aug 17 01:36:54 2017
@@ -0,0 +1,11 @@
+properties is a Go library for reading and writing properties files.
+
+It supports reading from multiple files or URLs and Spring style recursive property expansion of expressions like ${key} to their corresponding value. Value expressions can refer to other keys like
in ${key} or to environment variables like in ${USER}. Filenames can also contain environment variables like in /home/${USER}/myapp.properties.
+
+Properties can be decoded into structs, maps, arrays and values through struct tags.
+
+Comments and the order of keys are preserved. Comments can be modified and can be written to the output.
+
+The properties library supports both ISO-8859-1 and UTF-8 encoded data.
+
+Starting from version 1.3.0 the behavior of the MustXXX() functions is configurable by providing a custom ErrorHandler function. The default has changed from panic to log.Fatal but this is
configurable and custom error handling functions can be provided. See the package documentation for details.
Index: pkgsrc/devel/go-properties/Makefile
diff -u /dev/null pkgsrc/devel/go-properties/Makefile:1.1
--- /dev/null Thu Aug 17 01:36:54 2017
+++ pkgsrc/devel/go-properties/Makefile Thu Aug 17 01:36:54 2017
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:36:54 gavan Exp $
+
+DISTNAME= properties-1.7.0
+PKGNAME= go-${DISTNAME}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=magiconair/}
+CATEGORIES= devel
+GITHUB_TAG= v${PKGVERSION_NOREV}
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/magiconair/properties
+COMMENT= Java properties scanner for Go
+LICENSE= 2-clause-bsd
+
+GO_DIST_BASE= ${DISTNAME}
+GO_SRCPATH= github.com/magiconair/properties
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
Index: pkgsrc/devel/go-properties/PLIST
diff -u /dev/null pkgsrc/devel/go-properties/PLIST:1.1
--- /dev/null Thu Aug 17 01:36:54 2017
+++ pkgsrc/devel/go-properties/PLIST Thu Aug 17 01:36:54 2017
@@ -0,0 +1,39 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:36:54 gavan Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/magiconair/properties.a
+gopkg/src/github.com/magiconair/properties/CHANGELOG.md
+gopkg/src/github.com/magiconair/properties/LICENSE
+gopkg/src/github.com/magiconair/properties/README.md
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/LICENSE
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/README.md
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/TODO
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/benchmark.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/benchmark_test.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/bootstrap_test.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/check.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/check_test.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/checkers.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/checkers_test.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/export_test.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/fixture_test.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/foundation_test.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/helpers.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/helpers_test.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/printer.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/printer_test.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/run.go
+gopkg/src/github.com/magiconair/properties/_third_party/gopkg.in/check.v1/run_test.go
+gopkg/src/github.com/magiconair/properties/benchmark_test.go
+gopkg/src/github.com/magiconair/properties/decode.go
+gopkg/src/github.com/magiconair/properties/decode_test.go
+gopkg/src/github.com/magiconair/properties/doc.go
+gopkg/src/github.com/magiconair/properties/example_test.go
+gopkg/src/github.com/magiconair/properties/integrate.go
+gopkg/src/github.com/magiconair/properties/integrate_test.go
+gopkg/src/github.com/magiconair/properties/lex.go
+gopkg/src/github.com/magiconair/properties/load.go
+gopkg/src/github.com/magiconair/properties/load_test.go
+gopkg/src/github.com/magiconair/properties/parser.go
+gopkg/src/github.com/magiconair/properties/properties.go
+gopkg/src/github.com/magiconair/properties/properties_test.go
+gopkg/src/github.com/magiconair/properties/rangecheck.go
+@pkgdir bin
Index: pkgsrc/devel/go-properties/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-properties/buildlink3.mk:1.1
--- /dev/null Thu Aug 17 01:36:54 2017
+++ pkgsrc/devel/go-properties/buildlink3.mk Thu Aug 17 01:36:54 2017
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:36:54 gavan Exp $
+
+BUILDLINK_TREE+= go-properties
+
+.if !defined(GO_PROPERTIES_BUILDLINK3_MK)
+GO_PROPERTIES_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-properties= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-properties?= build
+
+BUILDLINK_API_DEPENDS.go-properties+= go-properties>=1.7.0
+BUILDLINK_PKGSRCDIR.go-properties?= ../../devel/go-properties
+
+.endif # GO_PROPERTIES_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-properties
+
Index: pkgsrc/devel/go-properties/distinfo
diff -u /dev/null pkgsrc/devel/go-properties/distinfo:1.1
--- /dev/null Thu Aug 17 01:36:54 2017
+++ pkgsrc/devel/go-properties/distinfo Thu Aug 17 01:36:54 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:36:54 gavan Exp $
+
+SHA1 (properties-1.7.0.tar.gz) = f674d08694b72d09b7624f1308927526de5173d6
+RMD160 (properties-1.7.0.tar.gz) = 1cb7fa33d714e4c26a41ca0b2e6c9a021894c4d5
+SHA512 (properties-1.7.0.tar.gz) = 9526310853e7e3fc23589479c75d1afdac75abf3641661b593b7c98d5da3b559130a8e275f186ca009b66b844371ebb074594b451651539dc6e6dbef7c573fb6
+Size (properties-1.7.0.tar.gz) = 53510 bytes
Home |
Main Index |
Thread Index |
Old Index