From owner-svn-ports-head@freebsd.org Mon Dec 11 20:08:14 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C62B5E9CF08; Mon, 11 Dec 2017 20:08:14 +0000 (UTC) (envelope-from ultima@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 mx1.freebsd.org (Postfix) with ESMTPS id 8A5DC76870; Mon, 11 Dec 2017 20:08:14 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBBK8DbJ026963; Mon, 11 Dec 2017 20:08:13 GMT (envelope-from ultima@FreeBSD.org) Received: (from ultima@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBBK8DWB026959; Mon, 11 Dec 2017 20:08:13 GMT (envelope-from ultima@FreeBSD.org) Message-Id: <201712112008.vBBK8DWB026959@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ultima set sender to ultima@FreeBSD.org using -f From: Richard Gallamore Date: Mon, 11 Dec 2017 20:08:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456064 - in head/textproc: . py-parso X-SVN-Group: ports-head X-SVN-Commit-Author: ultima X-SVN-Commit-Paths: in head/textproc: . py-parso X-SVN-Commit-Revision: 456064 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2017 20:08:14 -0000 Author: ultima Date: Mon Dec 11 20:08:13 2017 New Revision: 456064 URL: https://svnweb.freebsd.org/changeset/ports/456064 Log: Parso is a Python parser that supports error recovery and round-trip parsing for different Python versions (in multiple Python versions). Parso is also able to list multiple syntax errors in your python file. Parso has been battle-tested by jedi. It was pulled out of jedi to be useful for other projects as well. Parso consists of a small API to parse Python and analyse the syntax tree. WWW: https://github.com/davidhalter/parso Reviewed by: mat, sunpoet Approved by: koobs (python) Differential Revision: https://reviews.freebsd.org/D13435 Added: head/textproc/py-parso/ head/textproc/py-parso/Makefile (contents, props changed) head/textproc/py-parso/distinfo (contents, props changed) head/textproc/py-parso/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Mon Dec 11 19:49:31 2017 (r456063) +++ head/textproc/Makefile Mon Dec 11 20:08:13 2017 (r456064) @@ -1320,6 +1320,7 @@ SUBDIR += py-paragrep SUBDIR += py-parsel SUBDIR += py-parsimonious + SUBDIR += py-parso SUBDIR += py-pdfminer SUBDIR += py-pss SUBDIR += py-pyPEG2 Added: head/textproc/py-parso/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-parso/Makefile Mon Dec 11 20:08:13 2017 (r456064) @@ -0,0 +1,27 @@ +# Created by: Richard Gallamore +# $FreeBSD$ + +PORTNAME= parso +DISTVERSION= 0.1.1 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ultima@FreeBSD.org +COMMENT= Python Parser + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.0.7:devel/py-pytest@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cache>=0:devel/py-pytest-cache@${FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +do-test: + cd ${WRKSRC} && ${PYTHON_CMD} -m pytest test + +.include Added: head/textproc/py-parso/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-parso/distinfo Mon Dec 11 20:08:13 2017 (r456064) @@ -0,0 +1,3 @@ +TIMESTAMP = 1513021535 +SHA256 (parso-0.1.1.tar.gz) = 5815f3fe254e5665f3c5d6f54f086c2502035cb631a91341591b5a564203cffb +SIZE (parso-0.1.1.tar.gz) = 379443 Added: head/textproc/py-parso/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-parso/pkg-descr Mon Dec 11 20:08:13 2017 (r456064) @@ -0,0 +1,10 @@ +Parso is a Python parser that supports error recovery and round-trip +parsing for different Python versions (in multiple Python versions). +Parso is also able to list multiple syntax errors in your python file. + +Parso has been battle-tested by jedi. It was pulled out of jedi to be +useful for other projects as well. + +Parso consists of a small API to parse Python and analyse the syntax tree. + +WWW: https://github.com/davidhalter/parso