go-param-0.0.20160926 import to wip

This commit is contained in:
K.I.A.Derouiche 2020-12-29 01:52:12 +01:00
parent 024a6742e6
commit e04b2c3881
6 changed files with 58 additions and 0 deletions

Binary file not shown.

6
go-param/DESCR Normal file
View File

@ -0,0 +1,6 @@
param deserializes parameter values into a given
struct using magical reflection ponies. Inspired
by gorilla/schema, but uses Rails/jQuery style
param encoding instead of their weird dotted
syntax. In particular, this package was written
with the intent of parsing the output of jQuery.param

18
go-param/Makefile Normal file
View File

@ -0,0 +1,18 @@
# $NetBSD$
DISTNAME= param-0.0.20160926
PKGNAME= go-${DISTNAME}
GITHUB_PROJECT= param
GITHUB_TAG= d7f49fd7d1ed53fd562e737a8b5bbcc7e3d925e2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=goji/}
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= https://github.com/goji/param/
COMMENT= Rack/jQuery style parameter parsing
GO_SRCPATH= github.com/goji/param
GO_DIST_BASE= param-${GITHUB_TAG}
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"

13
go-param/PLIST Normal file
View File

@ -0,0 +1,13 @@
@comment $NetBSD$
gopkg/pkg/${GO_PLATFORM}/github.com/goji/param.a
gopkg/src/github.com/goji/param/LICENSE
gopkg/src/github.com/goji/param/README.md
gopkg/src/github.com/goji/param/crazy_test.go
gopkg/src/github.com/goji/param/error_helpers.go
gopkg/src/github.com/goji/param/errors.go
gopkg/src/github.com/goji/param/param.go
gopkg/src/github.com/goji/param/param_test.go
gopkg/src/github.com/goji/param/parse.go
gopkg/src/github.com/goji/param/pebkac_test.go
gopkg/src/github.com/goji/param/struct.go
gopkg/src/github.com/goji/param/struct_test.go

15
go-param/buildlink3.mk Normal file
View File

@ -0,0 +1,15 @@
# $NetBSD$
BUILDLINK_TREE+= go-param
.if !defined(GO_PARAM_BUILDLINK3_MK)
GO_PARAM_BUILDLINK3_MK:=
BUILDLINK_CONTENTS_FILTER.go-param= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.go-param?= build
BUILDLINK_API_DEPENDS.go-param+= go-param>=0.0.20160926
BUILDLINK_PKGSRCDIR.go-param?= ../../wip/go-param
.endif # GO_PARAM_BUILDLINK3_MK
BUILDLINK_TREE+= -go-param

6
go-param/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (param-0.0.20160926-d7f49fd7d1ed53fd562e737a8b5bbcc7e3d925e2.tar.gz) = 258210ee2906683084d2e3d40bff6c85b81f39a2
RMD160 (param-0.0.20160926-d7f49fd7d1ed53fd562e737a8b5bbcc7e3d925e2.tar.gz) = bb826bfd37f50344243b88e56e56d1c758e226b3
SHA512 (param-0.0.20160926-d7f49fd7d1ed53fd562e737a8b5bbcc7e3d925e2.tar.gz) = 32412fedacdb19a78aaf005155497f8ce424cda0eef6339474ffc11319e7c4fc636c4445c52ea694e2d7a28c5a7a3d439fdcdd7e4be395644de8e1138c3e053b
Size (param-0.0.20160926-d7f49fd7d1ed53fd562e737a8b5bbcc7e3d925e2.tar.gz) = 10484 bytes