pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/go-purell Add go-purell package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df42d87fbd90
branches:  trunk
changeset: 366652:df42d87fbd90
user:      gavan <gavan%pkgsrc.org@localhost>
date:      Thu Aug 17 01:37:13 2017 +0000

description:
Add go-purell package

diffstat:

 devel/go-purell/DESCR         |   1 +
 devel/go-purell/Makefile      |  20 ++++++++++++++++++++
 devel/go-purell/PLIST         |   9 +++++++++
 devel/go-purell/buildlink3.mk |  17 +++++++++++++++++
 devel/go-purell/distinfo      |   6 ++++++
 5 files changed, 53 insertions(+), 0 deletions(-)

diffs (73 lines):

diff -r eb7b1f6f668b -r df42d87fbd90 devel/go-purell/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-purell/DESCR     Thu Aug 17 01:37:13 2017 +0000
@@ -0,0 +1,1 @@
+Purell is a tiny Go library to normalize URLs. It returns a pure URL. Pure-ell. Sanitizer and all. Yeah, I know...
diff -r eb7b1f6f668b -r df42d87fbd90 devel/go-purell/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-purell/Makefile  Thu Aug 17 01:37:13 2017 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:37:13 gavan Exp $
+
+DISTNAME=      purell-0.1.0
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=PuerkitoBio/}
+CATEGORIES=    devel
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/PuerkitoBio/purell
+COMMENT=       Purell is a tiny Go library to normalize URLs.
+LICENSE=       modified-bsd
+
+GO_DIST_BASE=  ${DISTNAME}
+GO_SRCPATH=    github.com/PuerkitoBio/purell
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff -r eb7b1f6f668b -r df42d87fbd90 devel/go-purell/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-purell/PLIST     Thu Aug 17 01:37:13 2017 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:37:13 gavan Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/PuerkitoBio/purell.a
+gopkg/src/github.com/PuerkitoBio/purell/LICENSE
+gopkg/src/github.com/PuerkitoBio/purell/README.md
+gopkg/src/github.com/PuerkitoBio/purell/example_test.go
+gopkg/src/github.com/PuerkitoBio/purell/purell.go
+gopkg/src/github.com/PuerkitoBio/purell/purell_test.go
+gopkg/src/github.com/PuerkitoBio/purell/urlnorm_test.go
+@pkgdir bin
diff -r eb7b1f6f668b -r df42d87fbd90 devel/go-purell/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-purell/buildlink3.mk     Thu Aug 17 01:37:13 2017 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:37:13 gavan Exp $
+
+BUILDLINK_TREE+=       go-purell
+
+.if !defined(GO_PURELL_BUILDLINK3_MK)
+GO_PURELL_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-purell=   ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-purell?=                build
+
+BUILDLINK_API_DEPENDS.go-purell+=      go-purell>=0.1.0
+BUILDLINK_PKGSRCDIR.go-purell?=                ../../devel/go-purell
+
+.endif  # GO_PURELL_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-purell
+
diff -r eb7b1f6f668b -r df42d87fbd90 devel/go-purell/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-purell/distinfo  Thu Aug 17 01:37:13 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:37:13 gavan Exp $
+
+SHA1 (purell-0.1.0.tar.gz) = e5aaaeb4ade770117cc773ab02ce0fb5cfeafa3b
+RMD160 (purell-0.1.0.tar.gz) = 7cac2ce737d38edd06ab9cbbdd9fb524e1445c92
+SHA512 (purell-0.1.0.tar.gz) = ff45214f7b23d3043cbda68572939711be74440c22d35d3f37385373bd63e516f621ae1eb298d2234357cdb1be70eee9c0cc913fe0f44742204488e522637137
+Size (purell-0.1.0.tar.gz) = 10674 bytes



Home | Main Index | Thread Index | Old Index