pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/go-sanitized_anchor_name Add go-sanitized_anchor...



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

description:
Add go-sanitized_anchor_name package

diffstat:

 devel/go-sanitized_anchor_name/DESCR         |   5 +++++
 devel/go-sanitized_anchor_name/Makefile      |  20 ++++++++++++++++++++
 devel/go-sanitized_anchor_name/PLIST         |   7 +++++++
 devel/go-sanitized_anchor_name/buildlink3.mk |  17 +++++++++++++++++
 devel/go-sanitized_anchor_name/distinfo      |   6 ++++++
 5 files changed, 55 insertions(+), 0 deletions(-)

diffs (75 lines):

diff -r df42d87fbd90 -r 8eff4c1bc460 devel/go-sanitized_anchor_name/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-sanitized_anchor_name/DESCR      Thu Aug 17 01:37:39 2017 +0000
@@ -0,0 +1,5 @@
+Package sanitized_anchor_name provides a func to create sanitized anchor names.
+
+Its logic can be reused by multiple packages to create interoperable anchor names and links to those anchors.
+
+At this time, it does not try to ensure that generated anchor names are unique, that responsibility falls on the caller.
diff -r df42d87fbd90 -r 8eff4c1bc460 devel/go-sanitized_anchor_name/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-sanitized_anchor_name/Makefile   Thu Aug 17 01:37:39 2017 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:37:39 gavan Exp $
+
+DISTNAME=      sanitized_anchor_name-0.0.20151028
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=shurcooL/}
+CATEGORIES=    devel
+GITHUB_TAG=    10ef21a441db47d8b13ebcc5fd2310f636973c77
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/shurcooL/sanitized_anchor_name
+COMMENT=       Package sanitized_anchor_name provides a func to create sanitized anchor names.
+LICENSE=       mit
+
+GO_DIST_BASE=  ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=    github.com/shurcooL/sanitized_anchor_name
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff -r df42d87fbd90 -r 8eff4c1bc460 devel/go-sanitized_anchor_name/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-sanitized_anchor_name/PLIST      Thu Aug 17 01:37:39 2017 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:37:39 gavan Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/shurcooL/sanitized_anchor_name.a
+gopkg/src/github.com/shurcooL/sanitized_anchor_name/LICENSE
+gopkg/src/github.com/shurcooL/sanitized_anchor_name/README.md
+gopkg/src/github.com/shurcooL/sanitized_anchor_name/main.go
+gopkg/src/github.com/shurcooL/sanitized_anchor_name/main_test.go
+@pkgdir bin
diff -r df42d87fbd90 -r 8eff4c1bc460 devel/go-sanitized_anchor_name/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-sanitized_anchor_name/buildlink3.mk      Thu Aug 17 01:37:39 2017 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:37:39 gavan Exp $
+
+BUILDLINK_TREE+=       go-sanitized_anchor_name
+
+.if !defined(GO_SANITIZED_ANCHOR_NAME_BUILDLINK3_MK)
+GO_SANITIZED_ANCHOR_NAME_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-sanitized_anchor_name=    ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-sanitized_anchor_name?=         build
+
+BUILDLINK_API_DEPENDS.go-sanitized_anchor_name+=               go-sanitized_anchor_name>=0.0
+BUILDLINK_PKGSRCDIR.go-sanitized_anchor_name?=         ../../devel/go-sanitized_anchor_name
+
+.endif  # GO_SANITIZED_ANCHOR_NAME_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-sanitized_anchor_name
+
diff -r df42d87fbd90 -r 8eff4c1bc460 devel/go-sanitized_anchor_name/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-sanitized_anchor_name/distinfo   Thu Aug 17 01:37:39 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:37:39 gavan Exp $
+
+SHA1 (sanitized_anchor_name-0.0.20151028-10ef21a441db47d8b13ebcc5fd2310f636973c77.tar.gz) = 6519db9dfef386d944b08f67fe3c0d88aa6b9044
+RMD160 (sanitized_anchor_name-0.0.20151028-10ef21a441db47d8b13ebcc5fd2310f636973c77.tar.gz) = 47498d79b29602f6c63a3c45989a154895c372b9
+SHA512 (sanitized_anchor_name-0.0.20151028-10ef21a441db47d8b13ebcc5fd2310f636973c77.tar.gz) = 
06b8bf3f8d89a93c565de9b4219211ad08c91b2442ba31ef8bffa02c7ee823ae4f57ed8b39b4ac1eb326e5d12c65b56b16833c28fc97623c732bb6ea685a3c2a
+Size (sanitized_anchor_name-0.0.20151028-10ef21a441db47d8b13ebcc5fd2310f636973c77.tar.gz) = 1941 bytes



Home | Main Index | Thread Index | Old Index