debian/0000755000000000000000000000000012164424401007164 5ustar debian/source/0000755000000000000000000000000012154235117010467 5ustar debian/source/format0000644000000000000000000000001412154235117011675 0ustar 3.0 (quilt) debian/control0000644000000000000000000000466712154234101010577 0ustar Source: funcparserlib Priority: optional Maintainer: Kouhei Maeda Build-Depends: debhelper (>= 8.0.0), python-all, python-setuptools, python3-all, python3-setuptools, python-nose, python3-nose Standards-Version: 3.9.4 Section: python X-Python-Version: 2.7, >= 3.2 Homepage: http://code.google.com/p/funcparserlib/ Package: python-funcparserlib Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: Recursive descent parsing library based on functional combinators Parser combinators are just higher-order functions that take parsers as their arguments and return them as result values. Parser combinators are: . First-class values. Extremely composable. Tend to make the code quite compact. Resemble the readable notation of xBNF grammars. . Parsers made with funcparserlib are pure-Python LL(*) parsers. It means that it's very easy to write them without thinking about look-aheads and all that hardcore parsing stuff. But the recursive descent parsing is a rather slow method compared to LL(k) or LR(k) algorithms. . So the primary domain for funcparserlib is parsing little languages or external DSLs (domain specific languages). . The library itself is very small. Its source code is only 0.5 KLOC, with lots of comments included. It features the longest parsed prefix error reporting, as well as a tiny lexer generator for token position tracking. Package: python3-funcparserlib Architecture: all Depends: ${misc:Depends}, ${python3:Depends} Description: Recursive descent parsing library for python3 For python3. Parser combinators are just higher-order functions that take parsers as their arguments and return them as result values. Parser combinators are: . First-class values. Extremely composable. Tend to make the code quite compact. Resemble the readable notation of xBNF grammars. . Parsers made with funcparserlib are pure-Python LL(*) parsers. It means that it's very easy to write them without thinking about look-aheads and all that hardcore parsing stuff. But the recursive descent parsing is a rather slow method compared to LL(k) or LR(k) algorithms. . So the primary domain for funcparserlib is parsing little languages or external DSLs (domain specific languages). . The library itself is very small. Its source code is only 0.5 KLOC, with lots of comments included. It features the longest parsed prefix error reporting, as well as a tiny lexer generator for token position tracking. debian/docs0000644000000000000000000000000712164421311010031 0ustar README debian/watch0000644000000000000000000000013512154135147010221 0ustar version=3 http://pypi.python.org/packages/source/f/funcparserlib/funcparserlib-(.*)\.tar\.gz debian/copyright0000644000000000000000000000252612154135147011131 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: funcparserlib Source: http://pypi.python.org/pypi/funcparserlib/ Files: * Copyright: 2009-2011 Andrey Vlasovskikh License: The MIT License The MIT License . Copyright (c) 2009-2011 Andrey Vlasovskikh . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/rules0000755000000000000000000000172312164307544010257 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 %: dh $@ --with python2,python3 override_dh_auto_build: for py in $(shell pyversions -vr) $(shell py3versions -vr); do \ python$$py setup.py build --build-base=build$$py; \ done override_dh_auto_test: for py in $(shell pyversions -vr) ; do \ nosetests-$$py -d build$$py; \ done for py in $(shell py3versions -vr) ; do \ nosetests3 -d build$$py; \ done override_dh_installchangelogs: dh_installchangelogs CHANGES override_dh_auto_install: python setup.py install --no-compile -O0 --install-layout=deb \ --root $(CURDIR)/debian/python-funcparserlib && \ python3 setup.py install --no-compile -O0 --install-layout=deb \ --root $(CURDIR)/debian/python3-funcparserlib override_dh_auto_clean: dh_clean for py in $(shell pyversions -vr) $(shell py3versions -vr); do \ python$$py setup.py clean --build-temp=build && \ python$$py setup.py clean --build-temp=build$$py; \ done find $(CURDIR) -name "*.pyc" -delete debian/compat0000644000000000000000000000000212154235141010362 0ustar 8 debian/changelog0000644000000000000000000000202412164421377011045 0ustar funcparserlib (0.3.6-2) unstable; urgency=low * Fixes wrong-name-for-upstream-changelog - debian/rules: Append override_dh_installchangelogs - debian/docs: Remove CHANGES -- Kouhei Maeda Tue, 02 Jul 2013 09:46:04 +0900 funcparserlib (0.3.6-1) unstable; urgency=low * New upstream release * Support python3 -- Kouhei Maeda Sat, 08 Jun 2013 08:25:21 +0900 funcparserlib (0.3.5-2) unstable; urgency=low * Update Standards-Version in debian/control -- Kouhei Maeda Tue, 05 Jun 2012 09:14:05 +0900 funcparserlib (0.3.5-1.1) unstable; urgency=low * Non-maintainer upload. Acked by Maintainer. * Fixes FTBFS on python 2.7. (Closes: #646645) Update the data of the test result from upsream HG:788599d92a85. -- Nobuhiro Iwamatsu Fri, 02 Mar 2012 13:58:34 +0900 funcparserlib (0.3.5-1) unstable; urgency=low * Initial release (Closes: #626705) -- Kouhei Maeda Sun, 18 Sep 2011 07:43:30 +0900 debian/patches/0000755000000000000000000000000012154235741010621 5ustar debian/patches/update_egg-info0000644000000000000000000000071312154235741013602 0ustar * append setup.cfg to SOURCES.txt Index: funcparserlib-0.3.6/funcparserlib.egg-info/SOURCES.txt =================================================================== --- funcparserlib-0.3.6.orig/funcparserlib.egg-info/SOURCES.txt 2013-06-07 10:45:50.337082650 +0900 +++ funcparserlib-0.3.6/funcparserlib.egg-info/SOURCES.txt 2013-06-07 10:46:08.961083214 +0900 @@ -2,6 +2,7 @@ LICENSE MANIFEST.in README +setup.cfg setup.py doc/Brackets.md doc/Changes.md debian/patches/series0000644000000000000000000000002012154235522012023 0ustar update_egg-info debian/funcparserlib1.dirs0000644000000000000000000000001012154135147012763 0ustar usr/lib