pkgsrc-WIP-changes archive

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

Import go-curlie-1.6.0 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Tue Jan 19 09:29:10 2021 +0100
Changeset:	d747cbf6c57bb44487ec461b28d111e75273aec2

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

Log Message:
Import go-curlie-1.6.0 to wip

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

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

diffstat:
 Makefile                |  1 +
 go-curlie/DESCR         |  7 +++++++
 go-curlie/Makefile      | 23 +++++++++++++++++++++++
 go-curlie/Makefile$     | 23 +++++++++++++++++++++++
 go-curlie/PLIST         | 24 ++++++++++++++++++++++++
 go-curlie/buildlink3.mk | 17 +++++++++++++++++
 go-curlie/distinfo      |  6 ++++++
 7 files changed, 101 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index c8156d0e29..51449567d6 100644
--- a/Makefile
+++ b/Makefile
@@ -1190,6 +1190,7 @@ SUBDIR+=	go-color
 SUBDIR+=	go-config
 SUBDIR+=	go-context
 SUBDIR+=	go-copier
+SUBDIR+=	go-curlie
 SUBDIR+=	go-current
 SUBDIR+=	go-cyclo
 SUBDIR+=	go-dotenv
diff --git a/go-curlie/DESCR b/go-curlie/DESCR
new file mode 100644
index 0000000000..e5788e60a9
--- /dev/null
+++ b/go-curlie/DESCR
@@ -0,0 +1,7 @@
+If you like the interface of HTTPie but miss
+the features of curl, curlie is what you are
+searching for. Curlie is a frontend to curl
+that adds the ease of use of httpie, without
+compromising on features and performance. All
+curl options are exposed with syntax sugar and
+ output formatting inspired from httpie
diff --git a/go-curlie/Makefile b/go-curlie/Makefile
new file mode 100644
index 0000000000..dfcec3a1ee
--- /dev/null
+++ b/go-curlie/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	go-curlie-1.6.0
+GITHUB_PROJECT=	curlie
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=rs/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/rs/curlie/
+COMMENT=	The power of curl, the ease of use of httpie
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/rs/curlie
+
+USE_TOOLS+=	bash:run
+
+REPLACE_BASH+=	args/gen.sh
+
+.include "../../security/go-crypto/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-curlie/Makefile$ b/go-curlie/Makefile$
new file mode 100644
index 0000000000..dfcec3a1ee
--- /dev/null
+++ b/go-curlie/Makefile$
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	go-curlie-1.6.0
+GITHUB_PROJECT=	curlie
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=rs/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/rs/curlie/
+COMMENT=	The power of curl, the ease of use of httpie
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/rs/curlie
+
+USE_TOOLS+=	bash:run
+
+REPLACE_BASH+=	args/gen.sh
+
+.include "../../security/go-crypto/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-curlie/PLIST b/go-curlie/PLIST
new file mode 100644
index 0000000000..71bfe40599
--- /dev/null
+++ b/go-curlie/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD$
+bin/curlie
+gopkg/pkg/${GO_PLATFORM}/github.com/rs/curlie/args.a
+gopkg/pkg/${GO_PLATFORM}/github.com/rs/curlie/formatter.a
+gopkg/src/github.com/rs/curlie/CNAME
+gopkg/src/github.com/rs/curlie/LICENSE
+gopkg/src/github.com/rs/curlie/README.md
+gopkg/src/github.com/rs/curlie/_config.yml
+gopkg/src/github.com/rs/curlie/args/curlopts.go
+gopkg/src/github.com/rs/curlie/args/gen.go
+gopkg/src/github.com/rs/curlie/args/gen.sh
+gopkg/src/github.com/rs/curlie/args/httpie.go
+gopkg/src/github.com/rs/curlie/args/parse.go
+gopkg/src/github.com/rs/curlie/args/parse_test.go
+gopkg/src/github.com/rs/curlie/doc/get.png
+gopkg/src/github.com/rs/curlie/doc/put.png
+gopkg/src/github.com/rs/curlie/formatter/binaryfilter.go
+gopkg/src/github.com/rs/curlie/formatter/cleanup.go
+gopkg/src/github.com/rs/curlie/formatter/color.go
+gopkg/src/github.com/rs/curlie/formatter/help.go
+gopkg/src/github.com/rs/curlie/formatter/json.go
+gopkg/src/github.com/rs/curlie/go.mod
+gopkg/src/github.com/rs/curlie/go.sum
+gopkg/src/github.com/rs/curlie/main.go
diff --git a/go-curlie/buildlink3.mk b/go-curlie/buildlink3.mk
new file mode 100644
index 0000000000..29a453388b
--- /dev/null
+++ b/go-curlie/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-curlie
+
+.if !defined(GO_CURLIE_BUILDLINK3_MK)
+GO_CURLIE_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-curlie=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-curlie?=		build
+
+BUILDLINK_API_DEPENDS.go-curlie+=	go-curlie>=1.6.0
+BUILDLINK_PKGSRCDIR.go-curlie?=		../../category/go-curlie
+
+.include "../../security/go-crypto/buildlink3.mk"
+.endif	# GO_CURLIE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-curlie
diff --git a/go-curlie/distinfo b/go-curlie/distinfo
new file mode 100644
index 0000000000..723d1b0bf8
--- /dev/null
+++ b/go-curlie/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-curlie-1.6.0.tar.gz) = 72fe37be3f67b373648640187f9067f5a601b329
+RMD160 (go-curlie-1.6.0.tar.gz) = f9b9eadfc8657bdfdefd44a501d247b8a4499c7a
+SHA512 (go-curlie-1.6.0.tar.gz) = 653e586960300556c92716fba2d8abb9a0b413a8be1d2ba249c8dc4dd51aa253bd67d6024526f753720a37edd3f80002bd0db7da10af71974efa73a8f11d364d
+Size (go-curlie-1.6.0.tar.gz) = 440484 bytes


Home | Main Index | Thread Index | Old Index