pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add a package for go-dotenv.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Tue Oct 2 20:11:15 2018 +0000
Changeset:	1c0ae59c04b001d116d4f0f133e45f97cc77db89

Added Files:
	go-dotenv/DESCR
	go-dotenv/Makefile
	go-dotenv/PLIST
	go-dotenv/distinfo

Log Message:
Add a package for go-dotenv.

Go parsing library for the dotenv format.

There is no formal definition of the dotenv format but it has been introduced
by https://github.com/bkeepers/dotenv which is thus canonical. This library is
a port of that.

This library was developed specifically for direnv.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1c0ae59c04b001d116d4f0f133e45f97cc77db89

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 go-dotenv/DESCR    |  7 +++++++
 go-dotenv/Makefile | 20 ++++++++++++++++++++
 go-dotenv/PLIST    |  6 ++++++
 go-dotenv/distinfo |  6 ++++++
 4 files changed, 39 insertions(+)

diffs:
diff --git a/go-dotenv/DESCR b/go-dotenv/DESCR
new file mode 100644
index 0000000000..d992712582
--- /dev/null
+++ b/go-dotenv/DESCR
@@ -0,0 +1,7 @@
+Go parsing library for the dotenv format.
+
+There is no formal definition of the dotenv format but it has been introduced
+by https://github.com/bkeepers/dotenv which is thus canonical. This library is
+a port of that.
+
+This library was developed specifically for direnv.
diff --git a/go-dotenv/Makefile b/go-dotenv/Makefile
new file mode 100644
index 0000000000..270fdbee03
--- /dev/null
+++ b/go-dotenv/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.2 2015/03/12 21:11:14 tnn2 Exp $
+#
+
+DISTNAME=		go-dotenv-${GITHUB_TAG}
+PKGNAME=		go-dotenv-20180121
+GITHUB_PROJECT=		go-dotenv
+CATEGORIES=		devel
+MASTER_SITES=		${MASTER_SITE_GITHUB:=direnv/}
+GITHUB_TAG=		4738ec4
+
+MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=		https://github.com/direnv/go-dotenv/
+COMMENT=		Go parsing library for the dotenv format
+LICENSE=		mit
+
+GO_SRCPATH=		github.com/direnv/go-dotenv
+GO_DIST_BASE=		${GITHUB_PROJECT}-${GITHUB_TAG}*
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-dotenv/PLIST b/go-dotenv/PLIST
new file mode 100644
index 0000000000..81bc2773ab
--- /dev/null
+++ b/go-dotenv/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/direnv/go-dotenv.a
+gopkg/src/github.com/direnv/go-dotenv/LICENSE.md
+gopkg/src/github.com/direnv/go-dotenv/README.md
+gopkg/src/github.com/direnv/go-dotenv/parse.go
+gopkg/src/github.com/direnv/go-dotenv/parse_test.go
diff --git a/go-dotenv/distinfo b/go-dotenv/distinfo
new file mode 100644
index 0000000000..a36c2b92f2
--- /dev/null
+++ b/go-dotenv/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-dotenv-4738ec4-4738ec4.tar.gz) = 3a28647cb3dadb270a3eca6e856ea32f15681f6d
+RMD160 (go-dotenv-4738ec4-4738ec4.tar.gz) = 11feed668be9426acde8f792bb79f6598ef7c8e1
+SHA512 (go-dotenv-4738ec4-4738ec4.tar.gz) = ccc37f3d7549aeb872cc0daddb8d9277f45018ec11b206f5020919e39c6e564fc83651043473f8b584bfbab00594254d4ee9fc55659776cbf5bee25029c513d2
+Size (go-dotenv-4738ec4-4738ec4.tar.gz) = 3133 bytes


Home | Main Index | Thread Index | Old Index