pkgsrc-WIP-changes archive

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

Import go-goreferrer-20181106 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:30:19 2021 +0100
Changeset:	c4e93eace9f4881be2eb129c322974f9a28ed6bb

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

Log Message:
Import go-goreferrer-20181106 to wip

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

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

diffstat:
 Makefile                    |  1 +
 go-goreferrer/DESCR         |  2 ++
 go-goreferrer/Makefile      | 20 ++++++++++++++++++++
 go-goreferrer/PLIST         | 12 ++++++++++++
 go-goreferrer/buildlink3.mk | 17 +++++++++++++++++
 go-goreferrer/distinfo      |  6 ++++++
 6 files changed, 58 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index bf30cd3bf9..c547856811 100644
--- a/Makefile
+++ b/Makefile
@@ -1194,6 +1194,7 @@ SUBDIR+=	go-godot
 SUBDIR+=	go-gomail
 SUBDIR+=	go-gopacket
 SUBDIR+=	go-goquery
+SUBDIR+=	go-goreferrer
 SUBDIR+=	go-ole
 SUBDIR+=	go-opentracing
 SUBDIR+=	go-humanize
diff --git a/go-goreferrer/DESCR b/go-goreferrer/DESCR
new file mode 100644
index 0000000000..0b7eb91f9d
--- /dev/null
+++ b/go-goreferrer/DESCR
@@ -0,0 +1,2 @@
+A Go package that analyzes and classifies different.
+kinds of referrer URLs (search, social,etc...).
diff --git a/go-goreferrer/Makefile b/go-goreferrer/Makefile
new file mode 100644
index 0000000000..a082cefb76
--- /dev/null
+++ b/go-goreferrer/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	goreferrer-20181106
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	goreferrer
+GITHUB_TAG=	ec9c9a553398739f0dcf817e0ad5e01c4e7dcd08
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Shopify/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/kiaderouiche/goreferrer/
+COMMENT=	Analyzes and classifies different kinds of referrer URLs
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=	github.com/Shopify/${GITHUB_PROJECT}
+
+.include "../../net/go-net/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-goreferrer/PLIST b/go-goreferrer/PLIST
new file mode 100644
index 0000000000..e6600ad6ff
--- /dev/null
+++ b/go-goreferrer/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/Shopify/goreferrer.a
+gopkg/src/github.com/Shopify/goreferrer/Gopkg.lock
+gopkg/src/github.com/Shopify/goreferrer/Gopkg.toml
+gopkg/src/github.com/Shopify/goreferrer/LICENSE
+gopkg/src/github.com/Shopify/goreferrer/README.md
+gopkg/src/github.com/Shopify/goreferrer/default_rules.go
+gopkg/src/github.com/Shopify/goreferrer/dev.yml
+gopkg/src/github.com/Shopify/goreferrer/referrer.go
+gopkg/src/github.com/Shopify/goreferrer/rich_url.go
+gopkg/src/github.com/Shopify/goreferrer/rules.go
+gopkg/src/github.com/Shopify/goreferrer/rules_test.go
diff --git a/go-goreferrer/buildlink3.mk b/go-goreferrer/buildlink3.mk
new file mode 100644
index 0000000000..5b5e9e2e00
--- /dev/null
+++ b/go-goreferrer/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-goreferrer
+
+.if !defined(GO_GOREFERRER_BUILDLINK3_MK)
+GO_GOREFERRER_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-goreferrer=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-goreferrer?=		build
+
+BUILDLINK_API_DEPENDS.go-goreferrer+=	go-goreferrer>=20181106
+BUILDLINK_PKGSRCDIR.go-goreferrer?=	../../wip/go-goreferrer
+
+.include "../../net/go-net/buildlink3.mk"
+.endif	# GO_GOREFERRER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-goreferrer
diff --git a/go-goreferrer/distinfo b/go-goreferrer/distinfo
new file mode 100644
index 0000000000..f286e00e47
--- /dev/null
+++ b/go-goreferrer/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (goreferrer-20181106-ec9c9a553398739f0dcf817e0ad5e01c4e7dcd08.tar.gz) = acc5fa123975ebf0d75c2cc0d349281c7eb9e7f6
+RMD160 (goreferrer-20181106-ec9c9a553398739f0dcf817e0ad5e01c4e7dcd08.tar.gz) = 72a3b70756bb0dffb04f8d9905d690579c29871b
+SHA512 (goreferrer-20181106-ec9c9a553398739f0dcf817e0ad5e01c4e7dcd08.tar.gz) = 93c857cd494c124790187a03aef61ab18063881085c2f7d6777f51cfa18d0c5c4ddfcd2380c3b77a8ac89dac09a3d8d4b3e97779abb48cfcc1e26c6e562324b9
+Size (goreferrer-20181106-ec9c9a553398739f0dcf817e0ad5e01c4e7dcd08.tar.gz) = 20863 bytes


Home | Main Index | Thread Index | Old Index