From owner-svn-ports-head@FreeBSD.ORG Thu Dec 18 14:54:14 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2C96C67D; Thu, 18 Dec 2014 14:54:14 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 13A332607; Thu, 18 Dec 2014 14:54:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBIEsD35007168; Thu, 18 Dec 2014 14:54:13 GMT (envelope-from rm@FreeBSD.org) Received: (from rm@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBIEsD8m007165; Thu, 18 Dec 2014 14:54:13 GMT (envelope-from rm@FreeBSD.org) Message-Id: <201412181454.sBIEsD8m007165@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: rm set sender to rm@FreeBSD.org using -f From: Ruslan Makhmatkhanov Date: Thu, 18 Dec 2014 14:54:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r374905 - head/devel/py-simpleparse X-SVN-Group: ports-head 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.18-1 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: Thu, 18 Dec 2014 14:54:14 -0000 Author: rm Date: Thu Dec 18 14:54:12 2014 New Revision: 374905 URL: https://svnweb.freebsd.org/changeset/ports/374905 QAT: https://qat.redports.org/buildarchive/r374905/ Log: devel/py-simpleparse: turn mxBase dependency into option (default off) - turn mxBase dependency into option (default off). It's only needed because of mx.DateTime and is not obligatory - f.e. pip didn't install it as dependency - actualize comment and description - bump PORTREVISION because of dependency change Modified: head/devel/py-simpleparse/Makefile head/devel/py-simpleparse/pkg-descr Modified: head/devel/py-simpleparse/Makefile ============================================================================== --- head/devel/py-simpleparse/Makefile Thu Dec 18 14:02:00 2014 (r374904) +++ head/devel/py-simpleparse/Makefile Thu Dec 18 14:54:12 2014 (r374905) @@ -3,17 +3,20 @@ PORTNAME= simpleparse PORTVERSION= 2.1.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= SimpleParse-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= Python EBNF parser generator for use with mx.TextTools +COMMENT= Python EBNF parser generator (with mx.TextTools derivative) -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mx-base>0:${PORTSDIR}/lang/py-mx-base +OPTIONS_DEFINE= MXBASE +# This one is only needed because of mx.DateTime +MXBASE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mx-base>0:${PORTSDIR}/lang/py-mx-base USES= python:2 -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils .include Modified: head/devel/py-simpleparse/pkg-descr ============================================================================== --- head/devel/py-simpleparse/pkg-descr Thu Dec 18 14:02:00 2014 (r374904) +++ head/devel/py-simpleparse/pkg-descr Thu Dec 18 14:54:12 2014 (r374905) @@ -1,18 +1,19 @@ -SimpleParse is a BSD-licensed Python package providing a simple parser -generator for use with the mxTextTools text-tagging engine. SimpleParse allows -you to generate tagging tables for use with the text-tagging engine directly -from your EBNF grammar. +SimpleParse is a BSD-licensed Python package providing a simple and fast parser +generator using a modified version of the mxTextTools text-tagging engine. +SimpleParse allows you to generate parsers directly from your EBNF grammar. -Unlike most parser generators, SimpleParse generates single-pass parsers -(there is no distinct tokenization stage), an approach taken from the -predecessor project (mcf.pars) which attempted to create "autonomously parsing -regex objects". The resulting parsers are not as generalized as those created -by, for instance, the Earley algorithm, but they do tend to be useful for the -parsing of computer file formats and the like (as distinct from natural -language and similar "hard" parsing problems). +Unlike most parser generators, SimpleParse generates single-pass parsers (there +is no distinct tokenization stage), an approach taken from the predecessor +project (mcf.pars) which attempted to create "autonomously parsing regex +objects". The resulting parsers are not as generalized as those created by, for +instance, the Earley algorithm, but they do tend to be useful for the parsing +of computer file formats and the like (as distinct from natural language and +similar "hard" parsing problems). -In addition to the parser generator, the SimpleParse project includes a -sub-project to create a modified version of the mxTextTools engine which -reorganizes the code to allow for certain common EBNF constructs. +As of version 2.1.0 the SimpleParse project includes a patched copy of the +mxTextTools tagging library with the non-recursive rewrite of the core parsing +loop. This means that you will need to build the extension module to use +SimpleParse, but the effect is to provide a uniform parsing platform where all +of the features of a give SimpleParse version are always available. WWW: http://simpleparse.sourceforge.net/