pkgsrc-WIP-changes archive

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

Import go-mewn-20200701 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Tue Jan 26 00:53:57 2021 +0100
Changeset:	dc3a78346852ba998adc22e85a2d6fd0861e8f35

Modified Files:
	Makefile
Added Files:
	go-mewn/DESCR
	go-mewn/Makefile
	go-mewn/PLIST
	go-mewn/buildlink3.mk
	go-mewn/distinfo

Log Message:
Import go-mewn-20200701 to wip

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

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

diffstat:
 Makefile              |  1 +
 go-mewn/DESCR         |  1 +
 go-mewn/Makefile      | 19 +++++++++++++++++++
 go-mewn/PLIST         | 27 +++++++++++++++++++++++++++
 go-mewn/buildlink3.mk | 15 +++++++++++++++
 go-mewn/distinfo      |  6 ++++++
 6 files changed, 69 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 962a790def..1e263a2f7b 100644
--- a/Makefile
+++ b/Makefile
@@ -1261,6 +1261,7 @@ SUBDIR+=	go-madon
 SUBDIR+=	go-makezero
 SUBDIR+=	go-maligned
 SUBDIR+=	go-memcache
+SUBDIR+=	go-mewn
 SUBDIR+=	go-mock
 SUBDIR+=	go-mp3
 SUBDIR+=	go-mpb
diff --git a/go-mewn/DESCR b/go-mewn/DESCR
new file mode 100644
index 0000000000..db39dbaef4
--- /dev/null
+++ b/go-mewn/DESCR
@@ -0,0 +1 @@
+A zero dependency asset embedder for Go.
diff --git a/go-mewn/Makefile b/go-mewn/Makefile
new file mode 100644
index 0000000000..bd419d7ec2
--- /dev/null
+++ b/go-mewn/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	mewn-20200701
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	mewn
+GITHUB_TAG=	bf7fd609ac1bdb1bdbffd9332021aa9fe9604d6d
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=leaanthony/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/leaanthony/mewn/
+COMMENT=	Zero dependency asset embedder for Go
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=	github.com/leaanthony/mewn
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-mewn/PLIST b/go-mewn/PLIST
new file mode 100644
index 0000000000..740a2fd516
--- /dev/null
+++ b/go-mewn/PLIST
@@ -0,0 +1,27 @@
+@comment $NetBSD$
+bin/mewn
+gopkg/pkg/${GO_PLATFORM}/github.com/leaanthony/mewn.a
+gopkg/pkg/${GO_PLATFORM}/github.com/leaanthony/mewn/lib.a
+gopkg/pkg/${GO_PLATFORM}/github.com/leaanthony/mewn/test.a
+gopkg/src/github.com/leaanthony/mewn/LICENSE
+gopkg/src/github.com/leaanthony/mewn/README.md
+gopkg/src/github.com/leaanthony/mewn/RELEASES.md
+gopkg/src/github.com/leaanthony/mewn/cmd/mewn/main.go
+gopkg/src/github.com/leaanthony/mewn/filegroup.go
+gopkg/src/github.com/leaanthony/mewn/go.mod
+gopkg/src/github.com/leaanthony/mewn/lib/assetdirectory.go
+gopkg/src/github.com/leaanthony/mewn/lib/ast.go
+gopkg/src/github.com/leaanthony/mewn/lib/filegroup.go
+gopkg/src/github.com/leaanthony/mewn/lib/filesystem.go
+gopkg/src/github.com/leaanthony/mewn/lib/pack.go
+gopkg/src/github.com/leaanthony/mewn/main.go
+gopkg/src/github.com/leaanthony/mewn/test/assets/hello.txt
+gopkg/src/github.com/leaanthony/mewn/test/assets/wails_small.png
+gopkg/src/github.com/leaanthony/mewn/test/empty.go
+gopkg/src/github.com/leaanthony/mewn/test/entries_test.go
+gopkg/src/github.com/leaanthony/mewn/test/example.go
+gopkg/src/github.com/leaanthony/mewn/test/filesystem_test.go
+gopkg/src/github.com/leaanthony/mewn/test/fixtures/bad.asset.txt
+gopkg/src/github.com/leaanthony/mewn/test/fixtures/empty.go.txt
+gopkg/src/github.com/leaanthony/mewn/test/fixtures/example.go.txt
+gopkg/src/github.com/leaanthony/mewn/test/pack_test.go
diff --git a/go-mewn/buildlink3.mk b/go-mewn/buildlink3.mk
new file mode 100644
index 0000000000..fc87da0fd3
--- /dev/null
+++ b/go-mewn/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-mewn
+
+.if !defined(GO_MEWN_BUILDLINK3_MK)
+GO_MEWN_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-mewn=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-mewn?=		build
+
+BUILDLINK_API_DEPENDS.go-mewn+=	go-mewn>=20200701
+BUILDLINK_PKGSRCDIR.go-mewn?=	../../wip/go-mewn
+.endif	# GO_MEWN_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-mewn
diff --git a/go-mewn/distinfo b/go-mewn/distinfo
new file mode 100644
index 0000000000..7086aed7b8
--- /dev/null
+++ b/go-mewn/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (mewn-20200701-bf7fd609ac1bdb1bdbffd9332021aa9fe9604d6d.tar.gz) = b7f31ec26fb4f350939f54c59de2112908d5c116
+RMD160 (mewn-20200701-bf7fd609ac1bdb1bdbffd9332021aa9fe9604d6d.tar.gz) = 783b622cdd2e2334312df5d9dbb9814fa2ced970
+SHA512 (mewn-20200701-bf7fd609ac1bdb1bdbffd9332021aa9fe9604d6d.tar.gz) = ea781a4149281320dc860d49024be6285428d8693cdb71379e677a1e188abc3ce6de5697883433fc3a1255a4e6500f221d70be121fc8fb49a0fa03aa7671a4fd
+Size (mewn-20200701-bf7fd609ac1bdb1bdbffd9332021aa9fe9604d6d.tar.gz) = 13868 bytes


Home | Main Index | Thread Index | Old Index