pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/go-parse



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Nov 18 08:42:16 UTC 2018

Added Files:
        pkgsrc/www/go-parse: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
www/go-parse: import go-parse-2.3.5

This package contains several lexers and parsers written in Go.
All subpackages are built to be streaming, high performance and to
be in accordance with the official (latest) specifications.

The lexers are implemented using buffer.Lexer in
https://github.com/tdewolff/parse/buffer and the parsers work on
top of the lexers. Some subpackages have hashes defined (using
Hasher) that speed up common byte-slice comparisons.


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

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

Added files:

Index: pkgsrc/www/go-parse/DESCR
diff -u /dev/null pkgsrc/www/go-parse/DESCR:1.1
--- /dev/null   Sun Nov 18 08:42:16 2018
+++ pkgsrc/www/go-parse/DESCR   Sun Nov 18 08:42:15 2018
@@ -0,0 +1,8 @@
+This package contains several lexers and parsers written in Go.
+All subpackages are built to be streaming, high performance and to
+be in accordance with the official (latest) specifications.
+
+The lexers are implemented using buffer.Lexer in
+https://github.com/tdewolff/parse/buffer and the parsers work on
+top of the lexers. Some subpackages have hashes defined (using
+Hasher) that speed up common byte-slice comparisons.
Index: pkgsrc/www/go-parse/Makefile
diff -u /dev/null pkgsrc/www/go-parse/Makefile:1.1
--- /dev/null   Sun Nov 18 08:42:16 2018
+++ pkgsrc/www/go-parse/Makefile        Sun Nov 18 08:42:15 2018
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2018/11/18 08:42:15 ryoon Exp $
+
+DISTNAME=      parse-2.3.5
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=tdewolff/}
+CATEGORIES=    www
+GITHUB_PROJECT=        parse
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/tdewolff/parse
+COMMENT=       Go parsers for web formats
+LICENSE=       mit
+
+GO_DIST_BASE=  ${DISTNAME}
+GO_SRCPATH=    github.com/tdewolff/parse
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/go-parse/PLIST
diff -u /dev/null pkgsrc/www/go-parse/PLIST:1.1
--- /dev/null   Sun Nov 18 08:42:16 2018
+++ pkgsrc/www/go-parse/PLIST   Sun Nov 18 08:42:16 2018
@@ -0,0 +1,67 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/18 08:42:16 ryoon Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/parse.a
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/parse/buffer.a
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/parse/css.a
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/parse/html.a
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/parse/js.a
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/parse/json.a
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/parse/strconv.a
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/parse/svg.a
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/parse/xml.a
+gopkg/src/github.com/tdewolff/parse/LICENSE.md
+gopkg/src/github.com/tdewolff/parse/README.md
+gopkg/src/github.com/tdewolff/parse/buffer/buffer.go
+gopkg/src/github.com/tdewolff/parse/buffer/lexer.go
+gopkg/src/github.com/tdewolff/parse/buffer/lexer_test.go
+gopkg/src/github.com/tdewolff/parse/buffer/reader.go
+gopkg/src/github.com/tdewolff/parse/buffer/reader_test.go
+gopkg/src/github.com/tdewolff/parse/buffer/streamlexer.go
+gopkg/src/github.com/tdewolff/parse/buffer/streamlexer_test.go
+gopkg/src/github.com/tdewolff/parse/buffer/writer.go
+gopkg/src/github.com/tdewolff/parse/buffer/writer_test.go
+gopkg/src/github.com/tdewolff/parse/common.go
+gopkg/src/github.com/tdewolff/parse/common_test.go
+gopkg/src/github.com/tdewolff/parse/css/README.md
+gopkg/src/github.com/tdewolff/parse/css/hash.go
+gopkg/src/github.com/tdewolff/parse/css/hash_test.go
+gopkg/src/github.com/tdewolff/parse/css/lex.go
+gopkg/src/github.com/tdewolff/parse/css/lex_test.go
+gopkg/src/github.com/tdewolff/parse/css/parse.go
+gopkg/src/github.com/tdewolff/parse/css/parse_test.go
+gopkg/src/github.com/tdewolff/parse/css/util.go
+gopkg/src/github.com/tdewolff/parse/css/util_test.go
+gopkg/src/github.com/tdewolff/parse/error.go
+gopkg/src/github.com/tdewolff/parse/go.mod
+gopkg/src/github.com/tdewolff/parse/go.sum
+gopkg/src/github.com/tdewolff/parse/html/README.md
+gopkg/src/github.com/tdewolff/parse/html/hash.go
+gopkg/src/github.com/tdewolff/parse/html/hash_test.go
+gopkg/src/github.com/tdewolff/parse/html/lex.go
+gopkg/src/github.com/tdewolff/parse/html/lex_test.go
+gopkg/src/github.com/tdewolff/parse/html/util.go
+gopkg/src/github.com/tdewolff/parse/html/util_test.go
+gopkg/src/github.com/tdewolff/parse/js/README.md
+gopkg/src/github.com/tdewolff/parse/js/hash.go
+gopkg/src/github.com/tdewolff/parse/js/hash_test.go
+gopkg/src/github.com/tdewolff/parse/js/lex.go
+gopkg/src/github.com/tdewolff/parse/js/lex_test.go
+gopkg/src/github.com/tdewolff/parse/json/README.md
+gopkg/src/github.com/tdewolff/parse/json/parse.go
+gopkg/src/github.com/tdewolff/parse/json/parse_test.go
+gopkg/src/github.com/tdewolff/parse/position.go
+gopkg/src/github.com/tdewolff/parse/position_test.go
+gopkg/src/github.com/tdewolff/parse/strconv/float.go
+gopkg/src/github.com/tdewolff/parse/strconv/float_test.go
+gopkg/src/github.com/tdewolff/parse/strconv/int.go
+gopkg/src/github.com/tdewolff/parse/strconv/int_test.go
+gopkg/src/github.com/tdewolff/parse/strconv/price.go
+gopkg/src/github.com/tdewolff/parse/strconv/price_test.go
+gopkg/src/github.com/tdewolff/parse/svg/hash.go
+gopkg/src/github.com/tdewolff/parse/svg/hash_test.go
+gopkg/src/github.com/tdewolff/parse/util.go
+gopkg/src/github.com/tdewolff/parse/util_test.go
+gopkg/src/github.com/tdewolff/parse/xml/README.md
+gopkg/src/github.com/tdewolff/parse/xml/lex.go
+gopkg/src/github.com/tdewolff/parse/xml/lex_test.go
+gopkg/src/github.com/tdewolff/parse/xml/util.go
+gopkg/src/github.com/tdewolff/parse/xml/util_test.go
Index: pkgsrc/www/go-parse/buildlink3.mk
diff -u /dev/null pkgsrc/www/go-parse/buildlink3.mk:1.1
--- /dev/null   Sun Nov 18 08:42:16 2018
+++ pkgsrc/www/go-parse/buildlink3.mk   Sun Nov 18 08:42:16 2018
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/11/18 08:42:16 ryoon Exp $
+
+BUILDLINK_TREE+=       go-parse
+
+.if !defined(GO_PARSE_BUILDLINK3_MK)
+GO_PARSE_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-parse=    ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-parse?=         build
+
+BUILDLINK_API_DEPENDS.go-parse+=       go-parse>=2.3.3
+BUILDLINK_PKGSRCDIR.go-parse?=         ../../www/go-parse
+.endif # GO_PARSE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-parse
Index: pkgsrc/www/go-parse/distinfo
diff -u /dev/null pkgsrc/www/go-parse/distinfo:1.1
--- /dev/null   Sun Nov 18 08:42:16 2018
+++ pkgsrc/www/go-parse/distinfo        Sun Nov 18 08:42:16 2018
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/11/18 08:42:16 ryoon Exp $
+
+SHA1 (parse-2.3.5.tar.gz) = e42a580abc7b74a88abd707bd63a15245750bbbf
+RMD160 (parse-2.3.5.tar.gz) = 7ec2fd6987d9c4fddb21669d1b1980f640786a7d
+SHA512 (parse-2.3.5.tar.gz) = e32da6cd04de9535b612adce1064203a6d50b8065104353efbd9088f2807de22433c9b1d112e99184683cf212d229c0a674afb77732ec254293c079a47fff47e
+Size (parse-2.3.5.tar.gz) = 75027 bytes



Home | Main Index | Thread Index | Old Index