pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/go-parse www/go-parse: import go-parse-2.3.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/001b5da9db98
branches:  trunk
changeset: 315203:001b5da9db98
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Nov 18 08:42:15 2018 +0000

description:
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.

diffstat:

 www/go-parse/DESCR         |   8 +++++
 www/go-parse/Makefile      |  19 +++++++++++++
 www/go-parse/PLIST         |  67 ++++++++++++++++++++++++++++++++++++++++++++++
 www/go-parse/buildlink3.mk |  15 ++++++++++
 www/go-parse/distinfo      |   6 ++++
 5 files changed, 115 insertions(+), 0 deletions(-)

diffs (135 lines):

diff -r 63f090660031 -r 001b5da9db98 www/go-parse/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-parse/DESCR        Sun Nov 18 08:42:15 2018 +0000
@@ -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.
diff -r 63f090660031 -r 001b5da9db98 www/go-parse/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-parse/Makefile     Sun Nov 18 08:42:15 2018 +0000
@@ -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"
diff -r 63f090660031 -r 001b5da9db98 www/go-parse/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-parse/PLIST        Sun Nov 18 08:42:15 2018 +0000
@@ -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
diff -r 63f090660031 -r 001b5da9db98 www/go-parse/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-parse/buildlink3.mk        Sun Nov 18 08:42:15 2018 +0000
@@ -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
diff -r 63f090660031 -r 001b5da9db98 www/go-parse/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-parse/distinfo     Sun Nov 18 08:42:15 2018 +0000
@@ -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