From owner-svn-ports-all@freebsd.org Tue Jan 22 15:58:25 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A0C514A64E6; Tue, 22 Jan 2019 15:58:25 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B2CC191E22; Tue, 22 Jan 2019 15:58:24 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A8AF93979; Tue, 22 Jan 2019 15:58:24 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0MFwO2R094892; Tue, 22 Jan 2019 15:58:24 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0MFwN8x094888; Tue, 22 Jan 2019 15:58:23 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201901221558.x0MFwN8x094888@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 22 Jan 2019 15:58:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490958 - in head/textproc: . py-jsonslicer X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/textproc: . py-jsonslicer X-SVN-Commit-Revision: 490958 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: B2CC191E22 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.968,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2019 15:58:25 -0000 Author: amdmi3 Date: Tue Jan 22 15:58:23 2019 New Revision: 490958 URL: https://svnweb.freebsd.org/changeset/ports/490958 Log: JsonSlicer performs a stream or iterative, pull JSON parsing, which means it does not load whole JSON into memory and is able to parse very large JSON files or streams. The module is written in C and uses YAJL JSON parsing library, so it's also quite fast. JsonSlicer takes a path of JSON map keys or array indexes, and provides iterator interface which yields JSON data matching given path as complete Python objects. WWW: https://pypi.org/project/jsonslicer/ Added: head/textproc/py-jsonslicer/ head/textproc/py-jsonslicer/Makefile (contents, props changed) head/textproc/py-jsonslicer/distinfo (contents, props changed) head/textproc/py-jsonslicer/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Tue Jan 22 15:57:53 2019 (r490957) +++ head/textproc/Makefile Tue Jan 22 15:58:23 2019 (r490958) @@ -1316,6 +1316,7 @@ SUBDIR += py-hyperestraier-python SUBDIR += py-hypua2jamo SUBDIR += py-jaxml + SUBDIR += py-jsonslicer SUBDIR += py-jtextfsm SUBDIR += py-junit-xml SUBDIR += py-laserhammer Added: head/textproc/py-jsonslicer/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-jsonslicer/Makefile Tue Jan 22 15:58:23 2019 (r490958) @@ -0,0 +1,27 @@ +# Created by: Dmitry Marakasov +# $FreeBSD$ + +PORTNAME= jsonslicer +PORTVERSION= 0.1.0 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Stream JSON parser for Python + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libyajl.so:devel/yajl + +USES= python:3.5+ pkgconfig +USE_PYTHON= autoplist distutils + +# pydistutils problem, it uses CC for compiling C++ code +CC= ${CXX} + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + +.include Added: head/textproc/py-jsonslicer/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-jsonslicer/distinfo Tue Jan 22 15:58:23 2019 (r490958) @@ -0,0 +1,3 @@ +TIMESTAMP = 1548164974 +SHA256 (jsonslicer-0.1.0.tar.gz) = 9e2e4b9e0cb03b7b5519c5289f5b1b9b43ec69f0d0c617a264f650fc3d9c99bd +SIZE (jsonslicer-0.1.0.tar.gz) = 21458 Added: head/textproc/py-jsonslicer/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-jsonslicer/pkg-descr Tue Jan 22 15:58:23 2019 (r490958) @@ -0,0 +1,10 @@ +JsonSlicer performs a stream or iterative, pull JSON parsing, which +means it does not load whole JSON into memory and is able to parse +very large JSON files or streams. The module is written in C and +uses YAJL JSON parsing library, so it's also quite fast. + +JsonSlicer takes a path of JSON map keys or array indexes, and +provides iterator interface which yields JSON data matching given +path as complete Python objects. + +WWW: https://pypi.org/project/jsonslicer/