pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/go-sanitized_anchor_name



Module Name:    pkgsrc
Committed By:   gavan
Date:           Thu Aug 17 01:37:39 UTC 2017

Added Files:
        pkgsrc/devel/go-sanitized_anchor_name: DESCR Makefile PLIST
            buildlink3.mk distinfo

Log Message:
Add go-sanitized_anchor_name package


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-sanitized_anchor_name/DESCR \
    pkgsrc/devel/go-sanitized_anchor_name/Makefile \
    pkgsrc/devel/go-sanitized_anchor_name/PLIST \
    pkgsrc/devel/go-sanitized_anchor_name/buildlink3.mk \
    pkgsrc/devel/go-sanitized_anchor_name/distinfo

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

Added files:

Index: pkgsrc/devel/go-sanitized_anchor_name/DESCR
diff -u /dev/null pkgsrc/devel/go-sanitized_anchor_name/DESCR:1.1
--- /dev/null   Thu Aug 17 01:37:39 2017
+++ pkgsrc/devel/go-sanitized_anchor_name/DESCR Thu Aug 17 01:37:39 2017
@@ -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.
Index: pkgsrc/devel/go-sanitized_anchor_name/Makefile
diff -u /dev/null pkgsrc/devel/go-sanitized_anchor_name/Makefile:1.1
--- /dev/null   Thu Aug 17 01:37:39 2017
+++ pkgsrc/devel/go-sanitized_anchor_name/Makefile      Thu Aug 17 01:37:39 2017
@@ -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"
+
Index: pkgsrc/devel/go-sanitized_anchor_name/PLIST
diff -u /dev/null pkgsrc/devel/go-sanitized_anchor_name/PLIST:1.1
--- /dev/null   Thu Aug 17 01:37:39 2017
+++ pkgsrc/devel/go-sanitized_anchor_name/PLIST Thu Aug 17 01:37:39 2017
@@ -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
Index: pkgsrc/devel/go-sanitized_anchor_name/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-sanitized_anchor_name/buildlink3.mk:1.1
--- /dev/null   Thu Aug 17 01:37:39 2017
+++ pkgsrc/devel/go-sanitized_anchor_name/buildlink3.mk Thu Aug 17 01:37:39 2017
@@ -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
+
Index: pkgsrc/devel/go-sanitized_anchor_name/distinfo
diff -u /dev/null pkgsrc/devel/go-sanitized_anchor_name/distinfo:1.1
--- /dev/null   Thu Aug 17 01:37:39 2017
+++ pkgsrc/devel/go-sanitized_anchor_name/distinfo      Thu Aug 17 01:37:39 2017
@@ -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