From owner-svn-ports-all@freebsd.org Tue Jul 3 06:16:37 2018 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 4758F101B470; Tue, 3 Jul 2018 06:16:37 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E83788EF92; Tue, 3 Jul 2018 06:16:36 +0000 (UTC) (envelope-from yuri@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 B1F2D18519; Tue, 3 Jul 2018 06:16:36 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w636Gar2043819; Tue, 3 Jul 2018 06:16:36 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w636GZRh043815; Tue, 3 Jul 2018 06:16:35 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201807030616.w636GZRh043815@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 3 Jul 2018 06:16:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473800 - in head/textproc: . py-grako X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/textproc: . py-grako X-SVN-Commit-Revision: 473800 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 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, 03 Jul 2018 06:16:37 -0000 Author: yuri Date: Tue Jul 3 06:16:35 2018 New Revision: 473800 URL: https://svnweb.freebsd.org/changeset/ports/473800 Log: New port: textproc/py-grako: Convert EBNF grammar to PEG/Packrat parser in Python Added: head/textproc/py-grako/ head/textproc/py-grako/Makefile (contents, props changed) head/textproc/py-grako/distinfo (contents, props changed) head/textproc/py-grako/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Tue Jul 3 05:30:30 2018 (r473799) +++ head/textproc/Makefile Tue Jul 3 06:16:35 2018 (r473800) @@ -1303,6 +1303,7 @@ SUBDIR += py-genshi SUBDIR += py-gensim SUBDIR += py-gfm + SUBDIR += py-grako SUBDIR += py-guess-language SUBDIR += py-hexdump SUBDIR += py-html2text Added: head/textproc/py-grako/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-grako/Makefile Tue Jul 3 06:16:35 2018 (r473800) @@ -0,0 +1,20 @@ +# $FreeBSD$ + +PORTNAME= grako +DISTVERSION= 3.99.9 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Convert EBNF grammar to PEG/Packrat parser in Python + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} + +USES= python zip +USE_PYTHON= distutils cython autoplist + +.include Added: head/textproc/py-grako/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-grako/distinfo Tue Jul 3 06:16:35 2018 (r473800) @@ -0,0 +1,3 @@ +TIMESTAMP = 1530596270 +SHA256 (grako-3.99.9.zip) = fcc37309eab7cd0cbbb26cfd6a54303fbb80a00a58ab295d1e665bc69189c364 +SIZE (grako-3.99.9.zip) = 159278 Added: head/textproc/py-grako/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-grako/pkg-descr Tue Jul 3 06:16:35 2018 (r473800) @@ -0,0 +1,8 @@ +Grako (for grammar compiler) is a tool that takes grammars in a variation of +EBNF as input, and outputs memoizing (Packrat) PEG parsers in Python. + +Grako can also compile a grammar stored in a string into a Grammar object that +can be used to parse any given input, much like the re module does with regular +expressions. + +WWW: https://bitbucket.org/neogeny/grako