pkgsrc-WIP-changes archive

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

go-madon: import go-madon-2.3.0 as wip/go-madon



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Sun Jun 17 18:42:43 2018 +0100
Changeset:	34e4324d8df38d71cd4c63e8d4a12cde7214b52d

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

Log Message:
go-madon: import go-madon-2.3.0 as wip/go-madon

madon is a Go library to access the Mastondon REST API.

This implementation covers 100% of the current API, including the
streaming API.

The madonctl console client uses this library exhaustively.

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

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

diffstat:
 go-madon/DESCR         |  6 ++++++
 go-madon/Makefile      | 23 +++++++++++++++++++++++
 go-madon/PLIST         | 24 ++++++++++++++++++++++++
 go-madon/buildlink3.mk | 19 +++++++++++++++++++
 go-madon/distinfo      |  6 ++++++
 5 files changed, 78 insertions(+)

diffs:
diff --git a/go-madon/DESCR b/go-madon/DESCR
new file mode 100644
index 0000000000..580281e172
--- /dev/null
+++ b/go-madon/DESCR
@@ -0,0 +1,6 @@
+madon is a Go library to access the Mastondon REST API.
+
+This implementation covers 100% of the current API, including the
+streaming API.
+
+The madonctl console client uses this library exhaustively.
diff --git a/go-madon/Makefile b/go-madon/Makefile
new file mode 100644
index 0000000000..f8c64426d8
--- /dev/null
+++ b/go-madon/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	go-madon-2.3.0
+CATEGORIES=	devel net chat
+MASTER_SITES=	${MASTER_SITE_GITHUB:=McKael/}
+GITHUB_PROJECT=	madon
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+HOMEPAGE=	https://github.com/McKael/madon
+COMMENT=	Golang library for the Mastodon API
+LICENSE=	mit
+
+EXTRACT_USING=	bsdtar
+
+GO_SRCPATH=	github.com/McKael/madon/
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+
+.include "../../lang/go/go-package.mk"
+.include "../../devel/go-errors/buildlink3.mk"
+.include "../../net/go-websocket/buildlink3.mk"
+.include "../../security/go-oauth2/buildlink3.mk"
+.include "../../wip/go-rest/buildlink3.mk" # XXX
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-madon/PLIST b/go-madon/PLIST
new file mode 100644
index 0000000000..b41268e344
--- /dev/null
+++ b/go-madon/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/McKael/madon.a
+gopkg/src/github.com/McKael/madon/LICENSE
+gopkg/src/github.com/McKael/madon/README.md
+gopkg/src/github.com/McKael/madon/account.go
+gopkg/src/github.com/McKael/madon/api.go
+gopkg/src/github.com/McKael/madon/app.go
+gopkg/src/github.com/McKael/madon/domain.go
+gopkg/src/github.com/McKael/madon/emoji.go
+gopkg/src/github.com/McKael/madon/favourites.go
+gopkg/src/github.com/McKael/madon/instance.go
+gopkg/src/github.com/McKael/madon/lists.go
+gopkg/src/github.com/McKael/madon/login.go
+gopkg/src/github.com/McKael/madon/madon.go
+gopkg/src/github.com/McKael/madon/madon_test.go
+gopkg/src/github.com/McKael/madon/media.go
+gopkg/src/github.com/McKael/madon/notifications.go
+gopkg/src/github.com/McKael/madon/report.go
+gopkg/src/github.com/McKael/madon/search.go
+gopkg/src/github.com/McKael/madon/status.go
+gopkg/src/github.com/McKael/madon/streams.go
+gopkg/src/github.com/McKael/madon/timelines.go
+gopkg/src/github.com/McKael/madon/types.go
+@pkgdir bin
diff --git a/go-madon/buildlink3.mk b/go-madon/buildlink3.mk
new file mode 100644
index 0000000000..bdd7626697
--- /dev/null
+++ b/go-madon/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-madon
+
+.if !defined(GO_MADON_BUILDLINK3_MK)
+GO_YAML_GHODSS_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-madon=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-madon?=		build
+
+BUILDLINK_API_DEPENDS.go-madon+=	go-madon>=0.0
+BUILDLINK_PKGSRCDIR.go-madon?=		../../wip/go-madon
+
+.include "../../net/go-websocket/buildlink3.mk"
+.include "../../security/go-oauth2/buildlink3.mk"
+.include "../../wip/go-rest/buildlink3.mk"
+.endif  # GO_MADON_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-madon
diff --git a/go-madon/distinfo b/go-madon/distinfo
new file mode 100644
index 0000000000..1bacabfd99
--- /dev/null
+++ b/go-madon/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-madon-2.3.0.tar.gz) = 4f36dd2bee9e39a7fcfc7fa36dc4d2b305077a57
+RMD160 (go-madon-2.3.0.tar.gz) = 2b97f77ee82fb2c38c27688d3ba19563e7ce6a26
+SHA512 (go-madon-2.3.0.tar.gz) = db7073ba93227e58af2271011c109463621468f565335bb6548755749c112f217851db427d2686ae71a582dbcc97aad655f1b8e5a39a778b6e158883a66b33da
+Size (go-madon-2.3.0.tar.gz) = 17197 bytes


Home | Main Index | Thread Index | Old Index