debian/0000755000000000000000000000000012302376257007175 5ustar debian/copyright0000644000000000000000000000250212145065647011132 0ustar This package was debianized by Tommi Virtanen tv@debian.org on Sat, 26 Jun 2004 00:32:52 +0300. It was originally downloaded from http://pyparsing.sourceforge.net/ Upstream Author: Paul McGuire Copyright: # # Copyright (c) 2003,2004 Paul T. McGuire # # 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/python-pyparsing-doc.examples0000644000000000000000000000001312145065647015030 0ustar examples/* debian/new-upstream0000755000000000000000000000220412145065647011553 0ustar #!/bin/sh # # new-upstream: Copyright © 2012 by Jan Dittberner # # Called by uscan; from uscan(1): # # Finally, if a third parameter (an action) is given in the watchfile # line, this is taken as the name of a command, and the command # command --upstream-version version filename # # is executed, using either the original file or the symlink name. # # Thanks to Vincent Fourmond's freecol package - where he # thanks Sam Morris for giving him the idea - for giving me # the idea. # # If called manually, this file must be called within the pyparsing/ directory. version=$2 filename=`readlink -f $3` targetdir=`dirname $filename` dir=`mktemp -d` curdir=`pwd` origname="${targetdir}/pyparsing_${version}+dfsg1.orig.tar.gz" echo "Repacking pyparsing version $version from $filename" # Abort on errors: set -e cd "$dir" tar xzf "$filename" rm -rf \ pyparsing-$version/docs/pycon06-AdventureEngineUsingPyparsing-notes.pdf \ pyparsing-$version/docs/pycon06-IntroToPyparsing-notes.pdf tar czf "$origname" pyparsing-$version echo "Repacked tarball is $origname" cd - rm -rf "$dir" debian/changelog0000644000000000000000000001753112302376257011056 0ustar pyparsing (2.0.1+dfsg1-1build1) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:50:39 +0000 pyparsing (2.0.1+dfsg1-1) unstable; urgency=low * New upstream release * provide python3-pyparsing again * add autopkgtests (Closes: #706317) -- Julian Taylor Wed, 11 Sep 2013 12:22:36 +0200 pyparsing (1.5.7+dfsg1-2) unstable; urgency=low * Uploading to unstable. * Re-added mistakenly dos 2 unix conversion in debian/rules, thanks to Jakub wilk for pointing it out. * Removed python3 calls in debian/rules (otherwise FTBFS in a clean chroot because of missing build-depends). -- Thomas Goirand Thu, 30 May 2013 02:37:20 +0000 pyparsing (1.5.7+dfsg1-1) experimental; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Thomas Goirand ] * New upstream release, which handles only python 2.x. * Team upload. * Kills the python3 support, as this is now packaged in a new source package called python3-pyparsing, due to upstream separating development into 2 packages as well (current version 1.5.7 doesn't have python3 support at all anymore). * Upload to experimental to handle a smooth transition (see above). * Switched compat and debhelper to version 9. * Bumped Standard-Version to 3.9.4. -- Thomas Goirand Tue, 14 May 2013 08:26:21 +0000 pyparsing (1.5.6+dfsg1-2) unstable; urgency=low * Team upload * Use python3 depends/provides instead of python for python3-pyparsing to correct dependencies (Closes: 681537) - Thanks to Michael Terry/Ubuntu for the patch -- Scott Kitterman Sat, 21 Jul 2012 00:17:19 -0400 pyparsing (1.5.6+dfsg1-1) unstable; urgency=low * Team upload. * New upstream release (Closes: #667798) - drop patch debian/patches/01_leaveWhitespace.dpatch (upstream documentation matches API) - repack upstream tarball to remove sourceless docs/*.pdf * add debian/new-upstream and change debian/watch to automate upstream repacking * add debian/README.source to document the repacking * add get-orig-source to debian/rules * switch to source format 3.0 (quilt) (Closes: #670191) * drop dpatch dependency * switch to dh * add documentation and Python3 package (Closes: #667797) * switch from python-support to dh_python2 and dh_python3 (Closes: #631404) * remove build in debian/rules clean to fix FTBFS twice in a row -- Jan Dittberner Sat, 19 May 2012 22:10:35 +0200 pyparsing (1.5.2-2) unstable; urgency=low * debian/rules - use globbing to remove pyparsing_py3.py (working around cdbs that installs libs into /usr/lib/python2.6/site-packages/); thanks to Jakub Wilk for the report; Closes: #571505 * debian/README.source - added (as required by Policy >= 3.8.0) - bump Standards-Version to 3.8.4 (no changes needed) - b-d only on python (not on python-dev) since building only arch:all pkgs -- Debian Python Modules Team Mon, 01 Mar 2010 19:18:10 +0100 pyparsing (1.5.2-1) unstable; urgency=low * New upstream release * debian/control * updated standards version to 3.8.1, no changes necessary * bumped build dependency on python-dev to 2.5.4-1~ * debian/rules * call setup.py with --install-layout=deb -- Torsten Marek Thu, 21 May 2009 21:56:37 +0200 pyparsing (1.5.1-2) unstable; urgency=low * Upload to unstable * debian/compat - bump debhelper compatibility to 7 * debian/control - remove old replaces/conflicts entries - bump debhelper dependency to 7 - depend on python-dev, not python-all-dev * debian/pycompat - removed, not needed anymore -- Torsten Marek Mon, 09 Mar 2009 18:21:38 +0100 pyparsing (1.5.1-1) experimental; urgency=low [ Torsten Marek ] * New upstream release. [Sandro Tosi] * debian/control - switch Vcs-Browser field to viewsvn -- Torsten Marek Sat, 22 Nov 2008 18:33:20 +0100 pyparsing (1.5.0-1) unstable; urgency=low * New upstream release * debian/control - updated standards version to 3.8.0, no changes necessary - fix small bug in description (Closes: #481883) -- Torsten Marek Tue, 01 Jul 2008 17:04:58 +0200 pyparsing (1.4.11-2) unstable; urgency=low * Reinstate release 1.4.10-2 changes, which I inadvertently omitted. -- Kevin Coyner Sun, 24 Feb 2008 18:14:15 -0500 pyparsing (1.4.11-1) unstable; urgency=low * New upstream release * Add Build-Depends on dpatch and add small patch to fix documentation of leaveWhitespace() in HowToUsePyparsing.html. Closes: #381627. -- Kevin Coyner Sun, 24 Feb 2008 13:22:57 -0500 pyparsing (1.4.10-2) unstable; urgency=low * debian/control - uniforming both Vcs-Svn and Vcs-Browser fields -- Sandro Tosi Thu, 03 Jan 2008 11:56:47 +0100 pyparsing (1.4.10-1) unstable; urgency=low * New upstream release * Added Vcs-Svn and Vcs-Browser fields in debian/control. * Added myself to the Uploaders field. * Drop X{S,B}-Python-Version control fields, deprecated in new python-support versions. -- Torsten Marek Mon, 10 Dec 2007 23:22:08 +0100 pyparsing (1.4.7-1) unstable; urgency=low * New upstream version. Closes: #437400. * New maintainer. Closes: #440781. * Acknowledge NMU. Closes: #373503. * debian/control: + Changed Build-Depends-Indep from sysutils to tofrodos. Closes: #382170. + Bumped python-support version to >= 0.5.3 in Build-Depends-Indep. + Added XS-Python-Version: all. + Added Uploaders: Debian Python Modules Team * setWhitespaceChars in pyparsing.py was missing a return statement. Fixed in version 1.4.5. Closes: #418711. * Removed unneeded debian/python-pyparsing.README.Debian. -- Kevin Coyner Sat, 15 Sep 2007 14:53:52 -0400 pyparsing (1.4.2-1.1) unstable; urgency=low * Non-maintainer upload. * Update package to new python policy (Closes: #373503). -- Pierre Habouzit Thu, 29 Jun 2006 23:20:52 +0200 pyparsing (1.4.2-1) unstable; urgency=low * New upstream release (closes: #351648). * Install the new documents from docs/*. -- Tommi Virtanen Fri, 5 May 2006 23:06:20 +0300 pyparsing (1.3.3-2) unstable; urgency=low * It seems the PNG corruption from #310533 was caused by a packaging bug. Embarassing. Should not happen any more (closes: #346268). -- Tommi Virtanen Sun, 8 Jan 2006 20:33:45 +0200 pyparsing (1.3.3-1) unstable; urgency=low * New upstream release (closes: #305639). * pyparsingClassDiagram.PNG seems to be uncorrupted now (closes: #310533). * Added watch file as requested (closes: #330725) -- Tommi Virtanen Mon, 3 Oct 2005 19:05:47 +0300 pyparsing (1.2.2-1) unstable; urgency=low * New upstream release (closes: #289652). * Apparently python2.2 is no longer supported by upstream, remove python2.2-pyparsing. * Add python2.4-pyparsing to maintain cosmic balance. Build-depend on cdbs 0.4.26-1 or newer. * Fix examples/configParse.py, which assumed case-insensitive filesystem (closes: #273561). * Convert CRLF to LF in the installed files, build-dep on sysutils (closes: #290201). * Shorten the description. * Put all documents to python-pyparsing, only ship them once, and add a README.Debian pointing this out. They are small enough that I do not feel providing a separate package for them is necessary. * Bump standards version to 3.6.1. -- Tommi Virtanen Wed, 9 Mar 2005 20:36:09 +0200 pyparsing (1.2-1) unstable; urgency=low * Initial Release. -- Tommi Virtanen Sat, 26 Jun 2004 00:30:32 +0300 debian/compat0000644000000000000000000000000212145065647010376 0ustar 9 debian/control0000644000000000000000000000506512214043452010574 0ustar Source: pyparsing Section: python Priority: optional Maintainer: Kevin Coyner Uploaders: Debian Python Modules Team , Torsten Marek Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9), python-all (>= 2.6.5~), python3-all (>= 3.1.3-2~) Build-Depends-Indep: tofrodos Homepage: http://pyparsing.wikispaces.com/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pyparsing/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pyparsing/trunk/ XS-Testsuite: autopkgtest Package: python-pyparsing Architecture: all Depends: ${python:Depends}, ${misc:Depends} Provides: ${python:Provides} Description: Python parsing module The parsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. The parsing module provides a library of classes that client code uses to construct the grammar directly in Python code. . Here's an example: . from pyparsing import Word, alphas greet = Word(alphas) + "," + Word(alphas) + "!" hello = "Hello, World!" print hello, "->", greet.parseString(hello) Package: python3-pyparsing Architecture: all Depends: ${python3:Depends}, ${misc:Depends} Provides: ${python3:Provides} Description: Python parsing module, Python3 package The parsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. The parsing module provides a library of classes that client code uses to construct the grammar directly in Python code. . Here's an example: . from pyparsing import Word, alphas greet = Word(alphas) + "," + Word(alphas) + "!" hello = "Hello, World!" print hello, "->", greet.parseString(hello) . This package contains the Python3 version of python-pyparsing. Package: python-pyparsing-doc Architecture: all Section: doc Depends: ${misc:Depends} Description: Python parsing module, documentation package The parsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. The parsing module provides a library of classes that client code uses to construct the grammar directly in Python code. . Here's an example: . from pyparsing import Word, alphas greet = Word(alphas) + "," + Word(alphas) + "!" hello = "Hello, World!" print hello, "->", greet.parseString(hello) . This package contains documentation for python-pyparsing. debian/tests/0000755000000000000000000000000012214043452010325 5ustar debian/tests/import-py30000755000000000000000000000042712214043452012301 0ustar #!/bin/bash set -efu PYS=${PYS:-"$(py3versions -r 2>/dev/null)"} cd $ADTTMP for py in $PYS; do echo "=== $py ===" fn=$($py -c "import pyparsing; print(pyparsing.__file__)") # runs some basic functions, output looks like errors but its intentional $py $fn done debian/tests/control0000644000000000000000000000016312214043452011730 0ustar Tests: import-py2 Depends: python-pyparsing, python-all Tests: import-py3 Depends: python3-pyparsing, python3-all debian/tests/import-py20000755000000000000000000000042612214043452012277 0ustar #!/bin/bash set -efu PYS=${PYS:-"$(pyversions -r 2>/dev/null)"} cd $ADTTMP for py in $PYS; do echo "=== $py ===" fn=$($py -c "import pyparsing; print(pyparsing.__file__)") # runs some basic functions, output looks like errors but its intentional $py $fn done debian/rules0000755000000000000000000000302612214043452010244 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2002,2003 Colin Walters # Copyright © 2012 Jan Dittberner override_dh_auto_clean: find -name '*.py[co]' -print0 | xargs -0 --no-run-if-empty rm -f -- rm -rf build override_dh_auto_install: find $(CURDIR)/debian/python{,3}-pyparsing \ \( -name '*.html' -o -name '*.css' -o -name '*.py' \ -o -name 'README' \) \ -type f -print0 \ | xargs -0 --no-run-if-empty fromdos -p -- set -e ; for i in `pyversions -s` ; do \ $$i setup.py install --install-layout=deb \ --root=$(CURDIR)/debian/python-pyparsing ; \ done set -e ; for i in `py3versions -s` ; do \ $$i setup.py install --install-layout=deb \ --root=$(CURDIR)/debian/python3-pyparsing ; \ done override_dh_installexamples: dh_installexamples -i -ppython-pyparsing-doc override_dh_python2: dh_python2 -ppython-pyparsing override_dh_python3: dh_python3 -ppython3-pyparsing override_dh_compress: dh_compress -i -X.py %: dh $@ --with=python2,python3 --buildsystem=python_distutils # the following rule gets the original source and creates a dfsg free # tarball get-orig-source: DFSGVER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p'); \ VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p'); \ TMPDIR=`mktemp --directory`; \ uscan --force-download --download-version=$$VER --destdir="$$TMPDIR"; \ cd "$(CURDIR)"; mv "$$TMPDIR/pyparsing_$$DFSGVER.orig.tar.gz" .; \ rm -rf "$$TMPDIR" .PHONY: get-orig-source debian/python-pyparsing-doc.docs0000644000000000000000000000007712145065647014154 0ustar README HowToUsePyparsing.html pyparsingClassDiagram.PNG docs/* debian/source/0000755000000000000000000000000012144221561010464 5ustar debian/source/format0000644000000000000000000000001412144221561011672 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000103212145065647011353 0ustar Debian did remove these PDF files from the official upstream released tarball since they are sourceless: docs/pycon06-AdventureEngineUsingPyparsing-notes.pdf docs/pycon06-IntroToPyparsing-notes.pdf a request to add sources for theses files was filed in upstream's issue tracker at https://sourceforge.net/tracker/?func=detail&aid=3528274&group_id=97203&atid=617311 To get an upstream tarball with these files removed you can execute debian/rules get-orig-source -- Jan Dittberner , Sat, 19 May 2012 21:59:46 +0200 debian/watch0000644000000000000000000000044012145065647010227 0ustar version=3 # If your package is located on sourceforge, use the following format # to automatically use the qa.debian.org redirector, avoiding SF's # difficult mirror system. opts=dversionmangle=s/\+dfsg\d+$// \ http://sf.net/pyparsing/pyparsing-(.*)\.tar\.gz debian debian/new-upstream