pkgsrc-WIP-changes archive

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

Import go-clir-1.0.2 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Fri Jan 8 22:45:35 2021 +0100
Changeset:	b30a72ecaaea105acd6108739c4070ad8b965e10

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

Log Message:
Import go-clir-1.0.2 to wip

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

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

diffstat:
 Makefile              |  1 +
 go-clir/DESCR         |  1 +
 go-clir/Makefile      | 18 ++++++++++++++++++
 go-clir/PLIST         | 32 ++++++++++++++++++++++++++++++++
 go-clir/buildlink3.mk | 15 +++++++++++++++
 go-clir/distinfo      |  6 ++++++
 6 files changed, 73 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index bbb8ac7c87..4388e334d3 100644
--- a/Makefile
+++ b/Makefile
@@ -1180,6 +1180,7 @@ SUBDIR+=	go-brotli
 SUBDIR+=	go-cascadia
 SUBDIR+=	go-copier
 SUBDIR+=	go-circbuf
+SUBDIR+=	go-clir
 SUBDIR+=	go-collectd
 SUBDIR+=	go-color
 SUBDIR+=	go-cyclo
diff --git a/go-clir/DESCR b/go-clir/DESCR
new file mode 100644
index 0000000000..c796fb5b02
--- /dev/null
+++ b/go-clir/DESCR
@@ -0,0 +1 @@
+A Simple and Clear CLI library. Dependency free.
diff --git a/go-clir/Makefile b/go-clir/Makefile
new file mode 100644
index 0000000000..28f59c2003
--- /dev/null
+++ b/go-clir/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-clir-1.0.2
+GITHUB_PROJECT=	clir
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=leaanthony/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/leaanthony/clir/
+COMMENT=	Simple and Clear CLI library
+LICENSE=	mit
+
+GO_SRCPATH=	github.com/leaanthony/clir
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-clir/PLIST b/go-clir/PLIST
new file mode 100644
index 0000000000..e4322b2067
--- /dev/null
+++ b/go-clir/PLIST
@@ -0,0 +1,32 @@
+@comment $NetBSD$
+bin/basic
+bin/chained
+bin/custom-banner
+bin/default
+bin/flags
+bin/flags-compact
+bin/hidden
+bin/nested-subcommands
+bin/subcommands
+gopkg/pkg/${GO_PLATFORM}/github.com/leaanthony/clir.a
+gopkg/src/github.com/leaanthony/clir/LICENSE
+gopkg/src/github.com/leaanthony/clir/README.md
+gopkg/src/github.com/leaanthony/clir/action.go
+gopkg/src/github.com/leaanthony/clir/cli.go
+gopkg/src/github.com/leaanthony/clir/cli_test.go
+gopkg/src/github.com/leaanthony/clir/clir.go
+gopkg/src/github.com/leaanthony/clir/clir_logo.png
+gopkg/src/github.com/leaanthony/clir/clir_test.go
+gopkg/src/github.com/leaanthony/clir/command.go
+gopkg/src/github.com/leaanthony/clir/command_test.go
+gopkg/src/github.com/leaanthony/clir/examples/basic/main.go
+gopkg/src/github.com/leaanthony/clir/examples/chained/main.go
+gopkg/src/github.com/leaanthony/clir/examples/custom-banner/main.go
+gopkg/src/github.com/leaanthony/clir/examples/default/main.go
+gopkg/src/github.com/leaanthony/clir/examples/flags-compact/main.go
+gopkg/src/github.com/leaanthony/clir/examples/flags/main.go
+gopkg/src/github.com/leaanthony/clir/examples/hidden/main.go
+gopkg/src/github.com/leaanthony/clir/examples/nested-subcommands/main.go
+gopkg/src/github.com/leaanthony/clir/examples/subcommands/main.go
+gopkg/src/github.com/leaanthony/clir/go.mod
+gopkg/src/github.com/leaanthony/clir/go.sum
diff --git a/go-clir/buildlink3.mk b/go-clir/buildlink3.mk
new file mode 100644
index 0000000000..ec72167f49
--- /dev/null
+++ b/go-clir/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-clir
+
+.if !defined(GO_CLIR_BUILDLINK3_MK)
+GO_CLIR_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-clir=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-clir?=		build
+
+BUILDLINK_API_DEPENDS.go-clir+=	go-clir>=1.0.2
+BUILDLINK_PKGSRCDIR.go-clir?=	../../wip/go-clir
+.endif	# GO_CLIR_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-clir
diff --git a/go-clir/distinfo b/go-clir/distinfo
new file mode 100644
index 0000000000..11301ab506
--- /dev/null
+++ b/go-clir/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-clir-1.0.2.tar.gz) = cb238f7bd6828b3bdd015f3db73db4fb0e155a54
+RMD160 (go-clir-1.0.2.tar.gz) = a42de8e47372e42b3d84e696c76c6b4cc38c3130
+SHA512 (go-clir-1.0.2.tar.gz) = 8d4a2eff032e8880ce735a80668c4ff0bb90ae22817ae5465f40fbafb25866d69ad265a9caf5032a83d326d33a008c28e850ce1ffa57027ba52bb060b5a66d59
+Size (go-clir-1.0.2.tar.gz) = 13106 bytes


Home | Main Index | Thread Index | Old Index