go-resty-2.3.0 import to wip

This commit is contained in:
K.I.A.Derouiche 2020-12-27 15:47:02 +01:00
parent ec92e14281
commit 88f7dbc295
5 changed files with 71 additions and 0 deletions

1
go-resty/DESCR Normal file
View File

@ -0,0 +1 @@
Simple HTTP and REST client library for Go (inspired by Ruby rest-client)

21
go-resty/Makefile Normal file
View File

@ -0,0 +1,21 @@
# $NetBSD$
DISTNAME= go-resty-2.3.0
GITHUB_PROJECT= resty
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=go-resty/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= https://github.com/go-resty/resty/
COMMENT= Simple HTTP and REST client library for Go
LICENSE= mit
EXTRACT_USING= bsdtar
GO_SRCPATH= github.com/go-resty/resty/
GO_DIST_BASE= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
.include "../../net/go-net/buildlink3.mk"
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"

25
go-resty/PLIST Normal file
View File

@ -0,0 +1,25 @@
@comment $NetBSD$
gopkg/pkg/${GO_PLATFORM}/github.com/go-resty/resty.a
gopkg/src/github.com/go-resty/resty/BUILD.bazel
gopkg/src/github.com/go-resty/resty/LICENSE
gopkg/src/github.com/go-resty/resty/README.md
gopkg/src/github.com/go-resty/resty/WORKSPACE
gopkg/src/github.com/go-resty/resty/client.go
gopkg/src/github.com/go-resty/resty/client_test.go
gopkg/src/github.com/go-resty/resty/context_test.go
gopkg/src/github.com/go-resty/resty/example_test.go
gopkg/src/github.com/go-resty/resty/go.mod
gopkg/src/github.com/go-resty/resty/middleware.go
gopkg/src/github.com/go-resty/resty/redirect.go
gopkg/src/github.com/go-resty/resty/request.go
gopkg/src/github.com/go-resty/resty/request_test.go
gopkg/src/github.com/go-resty/resty/response.go
gopkg/src/github.com/go-resty/resty/resty.go
gopkg/src/github.com/go-resty/resty/resty_test.go
gopkg/src/github.com/go-resty/resty/retry.go
gopkg/src/github.com/go-resty/resty/retry_test.go
gopkg/src/github.com/go-resty/resty/trace.go
gopkg/src/github.com/go-resty/resty/transport.go
gopkg/src/github.com/go-resty/resty/transport112.go
gopkg/src/github.com/go-resty/resty/util.go
gopkg/src/github.com/go-resty/resty/util_test.go

18
go-resty/buildlink3.mk Normal file
View File

@ -0,0 +1,18 @@
# $NetBSD$
BUILDLINK_TREE+= go-resty
.if !defined(GO_RESTY_BUILDLINK3_MK)
GO_RESTY_BUILDLINK3_MK:=
BUILDLINK_CONTENTS_FILTER.go-resty= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.go-resty?= build
BUILDLINK_API_DEPENDS.go-resty+= go-resty>=2.3.0
BUILDLINK_PKGSRCDIR.go-resty?= ../../wip/go-resty
.include "../../net/go-net/buildlink3.mk"
.endif # GO_RESTY_BUILDLINK3_MK
BUILDLINK_TREE+= -go-resty

6
go-resty/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (go-resty-2.3.0.tar.gz) = 08aad1787b7f0c2eac174c9e25f3c32c50f8122b
RMD160 (go-resty-2.3.0.tar.gz) = 6421b9ec551a2df94b58675e19fd1fba4d59fc9a
SHA512 (go-resty-2.3.0.tar.gz) = cf01ed2d69e1eda27a1bf48abbc0f7f3d8db6b3dcc9b82b86049b0d45306625ac10769b10358057b4979736b1e061eeeccf6eec381d8c3c438dfe39a98fcb6ce
Size (go-resty-2.3.0.tar.gz) = 2638569 bytes