pkgsrc-Bugs archive

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

pkg/47375: add pkgsrc/devel/py-pyparsing using pyparsing-1.5.7 supporting up to but not including python3



>Number:         47375
>Category:       pkg
>Synopsis:       add pkgsrc/devel/py-pyparsing using pyparsing-1.5.7 supporting 
>up to but not including python3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 29 15:55:00 +0000 2012
>Originator:     Richard PALO
>Release:        pkgsrc trunk
>Organization:
>Environment:
SunOS devzoneX 5.11 oi_151a7 i86pc i386 i86pc Solaris

>Description:
http://pyparsing.wikispaces.com/
The pyparsing module is an alternative approach to creating and executing 
simple grammars, vs. the traditional lex/yacc approach, or the use of regular 
expressions. The pyparsing module provides a library of classes that client 
code uses to construct the grammar directly in Python code.

It is also a prerequisite for some other python packages such as pydot.
>How-To-Repeat:

>Fix:
cvs diff here after (I chose LICENSE=mit since the text is identical to the 
LICENSE in the package)

Index: DESCR
===================================================================
RCS file: DESCR
diff -N DESCR
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ DESCR       29 Dec 2012 15:46:40 -0000
@@ -0,0 +1,4 @@
+The pyparsing module is an alternative approach to creating and executing
+simple grammars, vs. the traditional lex/yacc approach, or the use of regular
+expressions. The pyparsing module provides a library of classes that client
+code uses to construct the grammar directly in Python code.
Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ Makefile    29 Dec 2012 15:46:40 -0000
@@ -0,0 +1,34 @@
+# $NetBSD$
+DISTNAME=              pyparsing-1.5.7
+PKGNAME=               ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=            devel python
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=pyparsing/pyparsing/${DISTNAME}/}
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              http://sourceforge.net/projects/pyparsing
+COMMENT=               Pyparsing module for Python
+LICENSE=       mit
+
+CONFIGURE_ENV+=        PYTHON=${PYTHONBIN:Q}
+CONFIGURE_ENV+=        
PYTH_CONFIGDIR=${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/config
+INSTALL_TARGET=        installshared
+PY_PATCHPLIST= yes
+PLIST_SUBST+=  PYLIB=${PYLIB:Q} PYPKGPREFIX=${PYPKGPREFIX:Q}
+
+PYTHON_VERSIONS_INCLUDE_3X = no
+PYDISTUTILSPKG= yes
+
+DOCDIR=                        ${PREFIX}/share/doc/${PYPKGPREFIX}-pyparsing
+EXAMPLESDIR=   ${PREFIX}/share/examples/${PYPKGPREFIX}-pyparsing
+
+post-install:
+                       ${INSTALL_DATA_DIR} ${DESTDIR:Q}${DOCDIR}
+                       ${INSTALL_DATA} ${WRKSRC}/docs/* \
+                               ${DESTDIR:Q}${DOCDIR}
+                       ${INSTALL_DATA_DIR} ${DESTDIR:Q}${EXAMPLESDIR}
+                       ${INSTALL_DATA} ${WRKSRC}/examples/* \
+                               ${DESTDIR:Q}${EXAMPLESDIR}
+
+.include "../../lang/python/pyversion.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: PLIST
diff -N PLIST
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ PLIST       29 Dec 2012 15:46:40 -0000
@@ -0,0 +1,97 @@
+@comment $NetBSD$
+${PYSITELIB}/pyparsing.py
+${PYSITELIB}/pyparsing.pyc
+${PYSITELIB}/pyparsing.pyo
+share/doc/${PYPKGPREFIX}-pyparsing/HowToUsePyparsing.html
+share/doc/${PYPKGPREFIX}-pyparsing/pycon06-AdventureEngineUsingPyparsing-notes.pdf
+share/doc/${PYPKGPREFIX}-pyparsing/pycon06-IntroToPyparsing-notes.pdf
+share/doc/${PYPKGPREFIX}-pyparsing/pyparsingClassDiagram.JPG
+share/doc/${PYPKGPREFIX}-pyparsing/pyparsingClassDiagram.PNG
+share/examples/${PYPKGPREFIX}-pyparsing/0README.html
+share/examples/${PYPKGPREFIX}-pyparsing/AcManForm.dfm
+share/examples/${PYPKGPREFIX}-pyparsing/LAparser.py
+share/examples/${PYPKGPREFIX}-pyparsing/SimpleCalc.py
+share/examples/${PYPKGPREFIX}-pyparsing/SingleForm.dfm
+share/examples/${PYPKGPREFIX}-pyparsing/TAP.py
+share/examples/${PYPKGPREFIX}-pyparsing/adventureEngine.py
+share/examples/${PYPKGPREFIX}-pyparsing/antlr_grammar.py
+share/examples/${PYPKGPREFIX}-pyparsing/antlr_grammar_tests.py
+share/examples/${PYPKGPREFIX}-pyparsing/apicheck.py
+share/examples/${PYPKGPREFIX}-pyparsing/btpyparse.py
+share/examples/${PYPKGPREFIX}-pyparsing/builtin_parse_action_demo.py
+share/examples/${PYPKGPREFIX}-pyparsing/cLibHeader.py
+share/examples/${PYPKGPREFIX}-pyparsing/chemicalFormulas.py
+share/examples/${PYPKGPREFIX}-pyparsing/commasep.py
+share/examples/${PYPKGPREFIX}-pyparsing/configParse.py
+share/examples/${PYPKGPREFIX}-pyparsing/cpp_enum_parser.py
+share/examples/${PYPKGPREFIX}-pyparsing/datetimeParseActions.py
+share/examples/${PYPKGPREFIX}-pyparsing/deltaTime.py
+share/examples/${PYPKGPREFIX}-pyparsing/dfmparse.py
+share/examples/${PYPKGPREFIX}-pyparsing/dhcpd_leases_parser.py
+share/examples/${PYPKGPREFIX}-pyparsing/dictExample.py
+share/examples/${PYPKGPREFIX}-pyparsing/dictExample2.py
+share/examples/${PYPKGPREFIX}-pyparsing/ebnf.py
+share/examples/${PYPKGPREFIX}-pyparsing/ebnftest.py
+share/examples/${PYPKGPREFIX}-pyparsing/eval_arith.py
+share/examples/${PYPKGPREFIX}-pyparsing/excelExpr.py
+share/examples/${PYPKGPREFIX}-pyparsing/fourFn.py
+share/examples/${PYPKGPREFIX}-pyparsing/gen_ctypes.py
+share/examples/${PYPKGPREFIX}-pyparsing/getNTPservers.py
+share/examples/${PYPKGPREFIX}-pyparsing/getNTPserversNew.py
+share/examples/${PYPKGPREFIX}-pyparsing/greeting.py
+share/examples/${PYPKGPREFIX}-pyparsing/greetingInGreek.py
+share/examples/${PYPKGPREFIX}-pyparsing/greetingInKorean.py
+share/examples/${PYPKGPREFIX}-pyparsing/groupUsingListAllMatches.py
+share/examples/${PYPKGPREFIX}-pyparsing/holaMundo.py
+share/examples/${PYPKGPREFIX}-pyparsing/htmlStripper.py
+share/examples/${PYPKGPREFIX}-pyparsing/httpServerLogParser.py
+share/examples/${PYPKGPREFIX}-pyparsing/idlParse.py
+share/examples/${PYPKGPREFIX}-pyparsing/indentedGrammarExample.py
+share/examples/${PYPKGPREFIX}-pyparsing/invRegex.py
+share/examples/${PYPKGPREFIX}-pyparsing/jsonParser.py
+share/examples/${PYPKGPREFIX}-pyparsing/linenoExample.py
+share/examples/${PYPKGPREFIX}-pyparsing/list1.py
+share/examples/${PYPKGPREFIX}-pyparsing/listAllMatches.py
+share/examples/${PYPKGPREFIX}-pyparsing/lucene_grammar.py
+share/examples/${PYPKGPREFIX}-pyparsing/macroExpander.py
+share/examples/${PYPKGPREFIX}-pyparsing/makeHTMLTagExample.py
+share/examples/${PYPKGPREFIX}-pyparsing/matchPreviousDemo.py
+share/examples/${PYPKGPREFIX}-pyparsing/mozilla.ics
+share/examples/${PYPKGPREFIX}-pyparsing/mozillaCalendarParser.py
+share/examples/${PYPKGPREFIX}-pyparsing/nested.py
+share/examples/${PYPKGPREFIX}-pyparsing/oc.py
+share/examples/${PYPKGPREFIX}-pyparsing/parseListString.py
+share/examples/${PYPKGPREFIX}-pyparsing/parsePythonValue.py
+share/examples/${PYPKGPREFIX}-pyparsing/parseResultsSumExample.py
+share/examples/${PYPKGPREFIX}-pyparsing/partial_gene_match.py
+share/examples/${PYPKGPREFIX}-pyparsing/pgn.py
+share/examples/${PYPKGPREFIX}-pyparsing/position.py
+share/examples/${PYPKGPREFIX}-pyparsing/protobuf_parser.py
+share/examples/${PYPKGPREFIX}-pyparsing/pymicko.py
+share/examples/${PYPKGPREFIX}-pyparsing/pythonGrammarParser.py
+share/examples/${PYPKGPREFIX}-pyparsing/rangeCheck.py
+share/examples/${PYPKGPREFIX}-pyparsing/readJson.py
+share/examples/${PYPKGPREFIX}-pyparsing/removeLineBreaks.py
+share/examples/${PYPKGPREFIX}-pyparsing/romanNumerals.py
+share/examples/${PYPKGPREFIX}-pyparsing/scanExamples.py
+share/examples/${PYPKGPREFIX}-pyparsing/scanYahoo.py
+share/examples/${PYPKGPREFIX}-pyparsing/searchParserAppDemo.py
+share/examples/${PYPKGPREFIX}-pyparsing/searchparser.py
+share/examples/${PYPKGPREFIX}-pyparsing/select_parser.py
+share/examples/${PYPKGPREFIX}-pyparsing/sexpParser.py
+share/examples/${PYPKGPREFIX}-pyparsing/shapes.py
+share/examples/${PYPKGPREFIX}-pyparsing/simpleArith.py
+share/examples/${PYPKGPREFIX}-pyparsing/simpleBool.py
+share/examples/${PYPKGPREFIX}-pyparsing/simpleSQL.py
+share/examples/${PYPKGPREFIX}-pyparsing/simpleWiki.py
+share/examples/${PYPKGPREFIX}-pyparsing/sparser.py
+share/examples/${PYPKGPREFIX}-pyparsing/sql2dot.py
+share/examples/${PYPKGPREFIX}-pyparsing/stackish.py
+share/examples/${PYPKGPREFIX}-pyparsing/stateMachine2.py
+share/examples/${PYPKGPREFIX}-pyparsing/tagCapture.py
+share/examples/${PYPKGPREFIX}-pyparsing/test_bibparse.py
+share/examples/${PYPKGPREFIX}-pyparsing/urlExtractor.py
+share/examples/${PYPKGPREFIX}-pyparsing/urlExtractorNew.py
+share/examples/${PYPKGPREFIX}-pyparsing/verilogParse.py
+share/examples/${PYPKGPREFIX}-pyparsing/withAttribute.py
+share/examples/${PYPKGPREFIX}-pyparsing/wordsToNum.py
Index: distinfo
===================================================================
RCS file: distinfo
diff -N distinfo
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ distinfo    29 Dec 2012 15:46:40 -0000
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (pyparsing-1.5.7.tar.gz) = 1dd8ce330123db4a952d592675f7c89376e70a44
+RMD160 (pyparsing-1.5.7.tar.gz) = 1a298790ce3569e74a1223de495cd5a5fd87e7b4
+Size (pyparsing-1.5.7.tar.gz) = 939642 bytes



Home | Main Index | Thread Index | Old Index