r38555 - in /trunk/libparse-recdescent-perl/debian: ./ NEWS README.Debian README.source changelog clean compat control copyright orig-tar.sh patches/ patches/drop-tutorial-from-MANIFEST.diff patches/series rules test-arg-alternation.pl watch

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Jun 23 23:39:06 UTC 2009


Author: jawnsy-guest
Date: Tue Jun 23 23:39:01 2009
New Revision: 38555

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=38555
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libparse-recdescent-perl/debian/
    trunk/libparse-recdescent-perl/debian/NEWS
    trunk/libparse-recdescent-perl/debian/README.Debian
    trunk/libparse-recdescent-perl/debian/README.source
    trunk/libparse-recdescent-perl/debian/changelog
    trunk/libparse-recdescent-perl/debian/clean
    trunk/libparse-recdescent-perl/debian/compat
    trunk/libparse-recdescent-perl/debian/control
    trunk/libparse-recdescent-perl/debian/copyright
    trunk/libparse-recdescent-perl/debian/orig-tar.sh
    trunk/libparse-recdescent-perl/debian/patches/
    trunk/libparse-recdescent-perl/debian/patches/drop-tutorial-from-MANIFEST.diff
    trunk/libparse-recdescent-perl/debian/patches/series
    trunk/libparse-recdescent-perl/debian/rules   (with props)
    trunk/libparse-recdescent-perl/debian/test-arg-alternation.pl
    trunk/libparse-recdescent-perl/debian/watch

Added: trunk/libparse-recdescent-perl/debian/NEWS
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-recdescent-perl/debian/NEWS?rev=38555&op=file
==============================================================================
--- trunk/libparse-recdescent-perl/debian/NEWS (added)
+++ trunk/libparse-recdescent-perl/debian/NEWS Tue Jun 23 23:39:01 2009
@@ -1,0 +1,21 @@
+libparse-recdescent-perl (1.94.free-3) unstable; urgency=low
+
+    Realistically, the tutorial from the Perl Journal is not going to be
+    in Debian, even in the non-free section.  This tutorial (which was
+    included in the Debian package for versions << 1.94.free-1) can be
+    read at:
+
+    http://search.cpan.org/src/DCONWAY/Parse-RecDescent-1.94/tutorial/tutorial.html
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri,  9 Mar 2007 14:31:40 +0100
+
+libparse-recdescent-perl (1.94.free-2) unstable; urgency=low
+
+    The tutorial from The Perl Journal, which is shipped with the upstream
+    sources, is removed from the package (both source and binary) because
+    its licensing terms are not compatible with the DFSG.  A new package
+    called libparse-recdescent-perl-tutorial-nonfree containing this
+    tutorial has been created.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 15 Sep 2005 15:11:57 +0200
+

Added: trunk/libparse-recdescent-perl/debian/README.Debian
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-recdescent-perl/debian/README.Debian?rev=38555&op=file
==============================================================================
--- trunk/libparse-recdescent-perl/debian/README.Debian (added)
+++ trunk/libparse-recdescent-perl/debian/README.Debian Tue Jun 23 23:39:01 2009
@@ -1,0 +1,9 @@
+libparse-recdescent-perl for Debian
+-----------------------------------
+
+/usr/share/doc/libparse-recdescent-perl/examples/demo_{pre,build}calc.pl
+depend on the Coy module.  In order to run it, you have to install the
+Debian package libcoy-perl.
+
+ -- Rafael Laboissiere <rafael at debian.org>, Tue Mar  1 21:58:45 CET 2005
+

Added: trunk/libparse-recdescent-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-recdescent-perl/debian/README.source?rev=38555&op=file
==============================================================================
--- trunk/libparse-recdescent-perl/debian/README.source (added)
+++ trunk/libparse-recdescent-perl/debian/README.source Tue Jun 23 23:39:01 2009
@@ -1,0 +1,9 @@
+README.source for libparse-recdescent-perl
+==========================================
+
+This package uses quilt to manage all modifications to the upstream sources.
+See `/usr/share/doc/quilt/README.source' to get more information on how to
+use it.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 24 Apr 2009 15:56:10 +0200
+

Added: trunk/libparse-recdescent-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-recdescent-perl/debian/changelog?rev=38555&op=file
==============================================================================
--- trunk/libparse-recdescent-perl/debian/changelog (added)
+++ trunk/libparse-recdescent-perl/debian/changelog Tue Jun 23 23:39:01 2009
@@ -1,0 +1,314 @@
+libparse-recdescent-perl (1.96.0+dfsg-3) unstable; urgency=low
+
+  * debian/control:
+    + Bump Standards-Version to 3.8.1 (Add file debian/README.source for
+      reporting the use of quilt and the stripping of the tutorial in the
+      upstream tarball)
+    + The package is now maintained with Git at alioth.debian.org.  Add
+      Vcs-Git field and change Vcs-Browser accordingly.
+  * debian/orig-tar.sh: Add script for building the DFSG-free upstream
+    tarball
+  * debian/watch: Call debian/orig-tar.sh
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Apr 2009 14:50:43 +0200
+
+libparse-recdescent-perl (1.96.0+dfsg-2) unstable; urgency=low
+
+  * Upload to unstable
+  * debian/control: Fix Lintian warning debhelper-but-no-misc-depends
+  * debian/rules: Use dh_prep instead of dh_clean -k (fix Lintian warning)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sun, 15 Feb 2009 17:30:17 +0100
+
+libparse-recdescent-perl (1.96.0+dfsg-1) experimental; urgency=low
+
+  * New upstream release.  Uploaded to experimental until lenny is
+    released.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 01 Nov 2008 09:56:45 +0100
+
+libparse-recdescent-perl (1.95.1+dfsg-3) unstable; urgency=low
+
+  The "tenth anniversary" release, just in time for lenny
+
+  * Switch from dpatch to quilt for patch management
+  * debian/control:
+    + Append trunk/ to the path in Vcs-Svn:, such that debcheckout works
+    + Bump Standards-Version to 3.8.0 (no changes needed)
+    + Make Homepage URL more general, independent of the upstream version
+  * debian/copyright:
+    + Update upstream URL and copyright years
+    + Add copyright information for the Debian packaging
+  * debian/watch: Mangle the Debian version instead of mangling the
+    upstream version in order to cope with the "+dfsg" suffix
+  * debian/rules, debian/control, debian/compat: Use debian/clean for
+    removing files and bump the build-depends to debhelper >= 7
+  * debian/clean: New file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 Jul 2008 19:39:37 +0200
+
+libparse-recdescent-perl (1.95.1+dfsg-2) unstable; urgency=low
+
+  * debian/watch: Appended "+dfsg" to the upstream version to make it
+    correspond to the Debian version
+  * debian/control:
+    + Use the now official Vcs-* fields instead of the obsolete XS-Vcs-*
+    + Dropped the Homepage pseudo-header from the extended description
+    + Bumped Standards-Version to 3.7.3
+  * debian/rules:
+    + Removed empty directory /usr/lib
+    + Dropped call to dh_installdirs
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 15 Dec 2007 23:45:03 +0100
+
+libparse-recdescent-perl (1.95.1+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+  * Changed the version numbering scheme for the upstream release naming
+    (use "+dfsg" instead of ".free")
+  * debian/patches/50_drop-tutorial-from-MANIFEST.dpatch: Adjusted for the
+    new upstream release
+  * debian/rules: Change mode of all examples to non-executable, avoiding
+    problems with scripts lacking the shebang line
+  * debian/watch: Updated regular expression for the HREF
+  * debian/control:
+    + Added libtest-pod-perl to Build-Depends-Indep, such that t/pod.t can
+      be tested
+    + Depends and build-depends-indep on libversion-perl
+    + Update URL of upstream homepage
+    + Added XS-Vcs-Svn, XS-Vcs-Browser, and Homepage fields
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 21 Sep 2007 17:57:06 +0200
+
+libparse-recdescent-perl (1.94.free-4) unstable; urgency=low
+
+  * debian/NEWS: Added note saying that I give up about having the
+    tutorial from The Perl Journal one day in Debian (closes: #369553)
+  * debian/control: Reintroduced Homepage pseudo-header
+  * debian/rules: Run tests after building the package
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri,  9 Mar 2007 14:41:53 +0100
+
+libparse-recdescent-perl (1.94.free-3) unstable; urgency=low
+
+  * debian/control: Dropped superfluous Build-Depends-Indep (which is
+    identical to Build-Depends), complying with section 7.6 of the Debian
+    Policy.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 16 Jun 2006 12:15:04 +0200
+
+libparse-recdescent-perl (1.94.free-2) unstable; urgency=low
+
+  * debian/control:
+    - Upgraded Standards-Version to 3.7.2 (no changes needed)
+    - Build-depends on dpatch
+  * debian/rules: Adjusted for using dpatch
+  * debian/patches/50_drop-tutorial-from-MANIFEST.dpatch: New patch
+  * debian/NEWS: Announce the new package containing the tutorial from the
+    Perl Journal (libparse-recdescent-perl-tutorial-nonfree)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 30 May 2006 18:57:48 +0200
+
+libparse-recdescent-perl (1.94.free-1) unstable; urgency=low
+
+  * "New" upstream release.  Okay, that is not really true.  I got it
+    wrong in my last upload because I tried to add the modified 1.94
+    upstream tarball but it existed already in the archive.  Hence the
+    funny upstream version number.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 15 Sep 2005 20:11:40 +0200
+
+libparse-recdescent-perl (1.94-5) unstable; urgency=low
+
+  * Removed the TPJ tutorial from both the source and the binary packages,
+    since its licensing terms are not DFSG-compliant.  A new package,
+    called parse-recdescent-doc-nonfree containing the tutorial has been
+    created.
+  * debian/rules: Removed installation of the tutorial
+  * debian/docs, debian/doc-base: Removed files
+  * debian/copyright: Removed mention to the tutorial
+  * debian/NEWS: Added file announcing the removal of the tutorial
+  * debian/control: Removed build-dependency on imagemagick, which was
+    used to convert the *.gif files in the tutorial into *.png
+
+  * debian/watch: Added file
+
+  * debian/control: Upgraded Standards-Version to 3.6.2 (no changes
+    needed)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 15 Sep 2005 15:02:58 +0200
+
+libparse-recdescent-perl (1.94-4) unstable; urgency=low
+
+  * debian/control: Hardcode the dependency on perl to >= 5.8, because
+    dh_perl was giving the minimal version 5.6.0-16.  The Text::Balanced
+    module, which is included in perl-modules version 5.8 and later, is
+    not included in libparse-recdescent-perl anymore, hence the necessity
+    of hard-coding the perl dependency (closes: #298298)
+  * debian/rules: Do not call dh_perl
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sun,  6 Mar 2005 15:55:12 +0100
+
+libparse-recdescent-perl (1.94-3) unstable; urgency=low
+
+  * debian/README: Removed mention to the Debian data-dumper package,
+    becasue the Data::Dumper module is now in perl-base (closes: #297610)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue,  1 Mar 2005 21:57:56 +0100
+
+libparse-recdescent-perl (1.94-2) unstable; urgency=low
+
+  * debian/copyright: Updated e-mail address of upstream author.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Feb 2004 12:49:45 +0100
+
+libparse-recdescent-perl (1.94-1) unstable; urgency=low
+
+  * New upstream release (closes: #218474).  The Text::Balanced module is
+    not installed by this package anymore.
+  * debian/control:
+    - Bumped Standards-Version to 3.6.1 (no changes needed).
+    - Removed mention to Text::Balanced module.
+  * debian/copyright: Updated upstream author e-mail address and tarball
+    location.
+  * debian/rules:  Got right this time the replacements "*.gif"-> "*.png" in
+    tutorial.html.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 31 Oct 2003 20:14:43 +0100
+
+libparse-recdescent-perl (1.90-2) unstable; urgency=low
+
+  * Changed my e-mail addresses to the debian.org one.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue,  8 Apr 2003 18:42:56 +0200
+
+libparse-recdescent-perl (1.90-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: Bumped Standards-Version to 3.5.9.  Changed Section to
+    perl, in order to conform to the newly reorganized sections in Debian.
+  * In the previous release of this package, Adam Heath
+    <doogie at debian.org> has detected a bug in which arguments being passed to
+    either implicit or alternations are lost when using the shorthand
+    leftop operator syntax('(s /foo/)').  This bug is apparently fixed in
+    the present version (closes: #166903).  I am using the test case
+    debian/test-arg-alternation.pl and I hope that it is sufficient.  If
+    not, this bug report should be reopened.
+  * This package includes a newer version of Text::Balanced than that
+    provided by perl-modules (closes: #177602).  I agreed with the bug
+    reporter that we will leave the situation as it is for now, since this
+    package install the module in /usr/share/perl5/, which tooks priority
+    in @INC to the place where perl-modules install its version of
+    Text::Balanced (/usr/share/perl/5.8.0/).  Thanks to "J.H.M. Dassen
+    (Ray)" <fsmla at xinara.org> for the discussions.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  2 Apr 2003 16:07:08 +0200
+
+libparse-recdescent-perl (1.80-2) unstable; urgency=low
+
+  * debian/control: Fixed spelling errors in package description (thanks
+    to Matt Zimmerman <mdz at debian.org>, closes: #125014).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 21 Dec 2001 16:57:10 +0100
+
+libparse-recdescent-perl (1.80-1) unstable; urgency=low
+
+  * debian/control:
+    - Changed Build-Depends to Build-Depends-Indep.  Lintian was
+      complaining about that.
+    - Changed dependencies (Build-Depends-Indep and Depends) from
+      versioned perl to plain perl (closes: #113206).
+    - Upgraded Standards-Version to 3.5.6.
+  * debian/rules:
+    - Removed bashisms like {Parse,Text}/*.pm.  A more robust way of
+      finding files under debian/tmp/usr is now used.
+    - Removed deprecated call to dh_testversion.  Moved the dependency
+      declaration to debian/control.
+    - The modules go now to /usr/share/perl5/, intead of /usr/lib/perl5/.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 30 Oct 2001 23:38:29 +0100
+
+libparse-recdescent-perl (1.80-0.potato.3) unstable; urgency=low
+
+  * debian/control: Removed shellutils from Build-Depends, since it is an
+    essential package.
+
+ -- Rafael Laboissiere <rafael at icp.inpg.fr>  Mon,  7 May 2001 18:09:24 +0200
+
+libparse-recdescent-perl (1.80-0.potato.2) unstable; urgency=low
+
+  * debian/control: Changed section from devel to interpreters.  This
+    agrees with the override file used by dinstall.
+
+ -- Rafael Laboissiere <rafael at icp.inpg.fr>  Thu, 29 Mar 2001 09:12:48 +0200
+
+libparse-recdescent-perl (1.80-0.potato.1) unstable; urgency=low
+
+  * New upstream release (closes: #74475).  This Debian release works for
+    potato (2.2).
+  * debian/control:
+    - Added Build-Depends field.
+    - Since the *.pm in this package call "use 5.005", a dependency on
+      perl-5.005 | perl-5.6 is needed, otherwise lintian will complain.
+  * debian/rules: Corrected place for demo_*.pl files in the upstream
+    tarball.
+  * debian/fix-perl-path.pl: Removed file.  The fix for the Perl path in
+    the demos is simply done in debian/rules by calling perl with the -p
+    and -i options.  Also, put Perl path into demo_Cgrammar.pl.
+  * Added tutorial in HTML format and put permission note in
+    debian/copyright.  This document is registered through doc-base.  All
+    the GIF figures have been converted to the PNG format.  This is why
+    the package now Build-Depends on imagemagick.
+
+ -- Rafael Laboissiere <rafael at icp.inpg.fr>  Wed, 28 Mar 2001 11:39:44 +0200
+
+libparse-recdescent-perl (1.77-1) unstable; urgency=low
+
+  * New upstream release.
+  * Upgraded Standards-Version to 3.1.1.
+
+ -- Rafael Laboissiere <rafael at icp.inpg.fr>  Sun, 19 Mar 2000 19:41:48 +0100
+
+libparse-recdescent-perl (1.70-1) unstable; urgency=low
+
+  * New upstream version.
+  * Upgraded Standards-Version to 3.0.1.
+  * FHS compliant.
+  * Changed pointer of Artistic license in copyright file.
+  * Added mention in the README.Debian file that the example demo_lexer.pl
+    needs the Data::Dumper module to run (this is reported as a warning by
+    lintian).
+  * Installed examples are detected by name demo_*.pl.
+
+ -- Rafael Laboissiere <rafael at icp.inpg.fr>  Mon, 11 Oct 1999 00:30:21 +0200
+
+libparse-recdescent-perl (1.66-1) unstable; urgency=low
+
+  * New upstream release.
+  * Upgraded to the new Perl Policy.  Particularly, {perl:Depends} is used
+    in the debian/control file.  Also, the debian/rules file was revamped
+    according to the suggestins in the Perl Policy.
+  * Upgraded to Standards-Version 2.5.1
+
+ -- Rafael Laboissiere <rafael at icp.inpg.fr>  Tue, 13 Jul 1999 02:07:45 +0200
+
+libparse-recdescent-perl (1.51-2) unstable; urgency=low
+
+  * It is Lintian-clean now.
+
+ -- Rafael Laboissiere <rafael at icp.inpg.fr>  Fri,  9 Oct 1998 16:04:47 +0200
+
+libparse-recdescent-perl (1.51-1) unstable; urgency=low
+
+  * New upstream release.
+  * Corrected description in debian/control file.
+  * Added test file test.pl.
+  * Fixed a typos in files debian/copyright and debian/README.debian.
+
+ -- Rafael Laboissiere <rafael at icp.inpg.fr>  Fri,  9 Oct 1998 15:22:26 +0200
+
+libparse-recdescent-perl (1.33-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Rafael Laboissiere <rafael at icp.inpg.fr>  Fri,  5 Jun 1998 17:25:40 +0200

Added: trunk/libparse-recdescent-perl/debian/clean
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-recdescent-perl/debian/clean?rev=38555&op=file
==============================================================================
--- trunk/libparse-recdescent-perl/debian/clean (added)
+++ trunk/libparse-recdescent-perl/debian/clean Tue Jun 23 23:39:01 2009
@@ -1,0 +1,1 @@
+build-stamp install-stamp Makefile.old

Added: trunk/libparse-recdescent-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-recdescent-perl/debian/compat?rev=38555&op=file
==============================================================================
--- trunk/libparse-recdescent-perl/debian/compat (added)
+++ trunk/libparse-recdescent-perl/debian/compat Tue Jun 23 23:39:01 2009
@@ -1,0 +1,1 @@
+7

Added: trunk/libparse-recdescent-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-recdescent-perl/debian/control?rev=38555&op=file
==============================================================================
--- trunk/libparse-recdescent-perl/debian/control (added)
+++ trunk/libparse-recdescent-perl/debian/control Tue Jun 23 23:39:01 2009
@@ -1,0 +1,29 @@
+Source: libparse-recdescent-perl
+Section: perl
+Priority: optional
+Maintainer: Rafael Laboissiere <rafael at debian.org>
+Standards-Version: 3.8.1
+Build-Depends: debhelper (>= 7.0.0), quilt
+Build-Depends-Indep: libtest-pod-perl, libversion-perl
+Homepage: http://search.cpan.org/dist/Parse-RecDescent/
+Vcs-Git: git://alioth.debian.org/~rafael/public_git/deb-pkg/libparse-recdescent-perl.git
+Vcs-Browser: http://git.debian.org/?p=users/rafael/deb-pkg/libparse-recdescent-perl.git
+
+Package: libparse-recdescent-perl
+Architecture: all
+Depends: perl (>= 5.8), libversion-perl, ${misc:Depends}
+Description: generates recursive-descent parsers in Perl
+ The Perl module Parse::RecDescent, incrementally generates top-down
+ recursive-descent text parsers from simple yacc-like grammar
+ specifications.  It provides:
+ .
+   * Regular expressions or literal strings as terminals (tokens),
+   * Multiple (non-contiguous) productions for any rule,
+   * Repeated, optional and alternate sub-rules within productions,
+   * Late-bound (run-time dispatched) sub-rules
+   * Full access to Perl within actions specified as part of the grammar,
+   * Simple automated error reporting during parser generation and parsing,
+   * The ability to commit to, uncommit to, or reject particular productions
+     during a parse,
+   * Incremental extension of the parsing grammar (even during a parse),
+   * The ability to retrieve the generated parsing code.

Added: trunk/libparse-recdescent-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-recdescent-perl/debian/copyright?rev=38555&op=file
==============================================================================
--- trunk/libparse-recdescent-perl/debian/copyright (added)
+++ trunk/libparse-recdescent-perl/debian/copyright Tue Jun 23 23:39:01 2009
@@ -1,0 +1,23 @@
+This package was debianized by Rafael Laboissiere <rafael at debian.org> on
+Sat Nov  1 09:03:16 CET 2003
+
+It was downloaded from:
+    http://search.cpan.org/dist/Parse-RecDescent/
+
+Upstream Author: Damian Conway <debian.to.damian at recursor.net>
+
+Copyright:
+
+       Copyright (c) 1997-2007, Damian Conway. All Rights Reserved.
+       This module is free software. It may be used, redistributed
+       and/or modified under the terms of the Perl Artistic License
+            (see http://www.perl.com/perl/misc/Artistic.html)
+
+The Debian packaging information is Copyright (C) 1998-2008 Rafael
+Laboissiere and is released under the terms of the GNU General Public
+License, version 3 or later.
+
+On Debian GNU/Linux systems, the Artistic Licence is available as
+`/usr/share/common-licenses/Artistic' and the GPL-v3 is avaialble as
+`/usr/share/common-licenses/GPL-3'.
+

Added: trunk/libparse-recdescent-perl/debian/orig-tar.sh
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-recdescent-perl/debian/orig-tar.sh?rev=38555&op=file
==============================================================================
--- trunk/libparse-recdescent-perl/debian/orig-tar.sh (added)
+++ trunk/libparse-recdescent-perl/debian/orig-tar.sh Tue Jun 23 23:39:01 2009
@@ -1,0 +1,11 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DIR=Parse-RecDescent-$2
+TAR=../libparse-recdescent_$2+dfsg.orig.tar.gz
+
+# clean up the upstream tarball
+tar xfz $3
+rm -rf $DIR/tutorial
+tar cfz $TAR $DIR
+rm -rf $DIR

Added: trunk/libparse-recdescent-perl/debian/patches/drop-tutorial-from-MANIFEST.diff
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-recdescent-perl/debian/patches/drop-tutorial-from-MANIFEST.diff?rev=38555&op=file
==============================================================================
--- trunk/libparse-recdescent-perl/debian/patches/drop-tutorial-from-MANIFEST.diff (added)
+++ trunk/libparse-recdescent-perl/debian/patches/drop-tutorial-from-MANIFEST.diff Tue Jun 23 23:39:01 2009
@@ -1,0 +1,19 @@
+Drop tutorial files from the MANIFEST.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 30 May 2006 18:57:48 +0200
+
+--- libparse-recdescent-perl-1.94.free.orig/MANIFEST
++++ libparse-recdescent-perl-1.94.free/MANIFEST
+@@ -7,11 +7,6 @@
+ lib/Parse/RecDescent.pm
+ t/00.load.t
+ t/pod.t
+-tutorial/tutorial.html
+-tutorial/TPJ-PRD-proc.gif
+-tutorial/TPJ-yacc-proc.gif
+-tutorial/TPJ_maze.gif
+-tutorial/TPJ_tree.gif
+ demo/demo.c
+ demo/demo.pl
+ demo/demo_Cgrammar.pl
+

Added: trunk/libparse-recdescent-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-recdescent-perl/debian/patches/series?rev=38555&op=file
==============================================================================
--- trunk/libparse-recdescent-perl/debian/patches/series (added)
+++ trunk/libparse-recdescent-perl/debian/patches/series Tue Jun 23 23:39:01 2009
@@ -1,0 +1,1 @@
+drop-tutorial-from-MANIFEST.diff

Added: trunk/libparse-recdescent-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-recdescent-perl/debian/rules?rev=38555&op=file
==============================================================================
--- trunk/libparse-recdescent-perl/debian/rules (added)
+++ trunk/libparse-recdescent-perl/debian/rules Tue Jun 23 23:39:01 2009
@@ -1,0 +1,83 @@
+#!/usr/bin/make -f
+#-*- Makefile -*-
+# File: rules
+# Description: debian/yrules file for Debian package libparse-recdescent-perl
+# Author: Rafael Laboissière <rafael at debian.org>
+# Created on: Mon Jul 12 23:01:43 CEST 1999
+# Last modified on: Sun Feb 15 17:47:41 CET 2009
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+package = libparse-recdescent-perl
+debtmp  = $(shell pwd)/debian/$(package)
+debusr  = $(debtmp)/usr
+deblib  = $(debusr)/lib
+debdoc  = $(debusr)/share/doc/$(package)
+debexa  = $(debdoc)/examples
+demofiles = demo/demo_*.pl
+archlib = `$(PERL) -MConfig -e 'print $$Config{installarchlib}'`
+config  = INSTALLDIRS=perl INSTALLMAN1DIR=$(debtmp)/usr/man/man1 \
+          INSTALLMAN3DIR=$(debtmp)/usr/share/man/man3 \
+          INSTALLPRIVLIB=$(debtmp)/usr/share/perl5 \
+          INSTALLARCHLIB=$(debtmp)$(archlib)
+
+Makefile: Makefile.PL
+	$(PERL) Makefile.PL $(config)
+
+build: patch build-stamp
+build-stamp: Makefile
+	dh_testdir
+
+	$(MAKE)
+	$(MAKE) test
+
+	touch build-stamp
+
+clean: Makefile unpatch
+	dh_testdir
+	dh_testroot
+	$(MAKE) clean
+	dh_clean
+
+install: install-stamp
+install-stamp: build-stamp Makefile
+	dh_testdir
+	dh_testroot
+	dh_prep
+
+	$(MAKE) pure_install
+
+	rm -rf $(deblib)
+	find $(debusr) -name \*.pod -o -name \*.pl | xargs rm -f
+	find $(debusr) -name \*.pm | xargs chmod -x
+
+	touch install-stamp
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples $(demofiles)
+	$(PERL) -pi -e 's:^#!\s*/usr/local/bin/perl:#! $(PERL):' $(debexa)/*
+	chmod -x $(debexa)/*
+	dh_installchangelogs Changes
+	dh_compress --exclude=.pl
+	dh_fixperms
+#	dh_perl
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep
+.PHONY: build clean binary-indep binary

Propchange: trunk/libparse-recdescent-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libparse-recdescent-perl/debian/test-arg-alternation.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-recdescent-perl/debian/test-arg-alternation.pl?rev=38555&op=file
==============================================================================
--- trunk/libparse-recdescent-perl/debian/test-arg-alternation.pl (added)
+++ trunk/libparse-recdescent-perl/debian/test-arg-alternation.pl Tue Jun 23 23:39:01 2009
@@ -1,0 +1,16 @@
+#! /usr/bin/perl -sw
+
+use Parse::RecDescent;
+
+$grammar =
+q{
+        main   : foo[ "ok" ]
+        foo    : (token1[ $arg[0] ])(s /\|/)
+        token1 : 'a'
+                 {print "$arg[0]\n"}
+};
+
+$parse = new Parse::RecDescent ($grammar);
+
+defined $parse->main('a | a') 
+  or die "Arguments being passed to either implicit or alternations are lost";

Added: trunk/libparse-recdescent-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-recdescent-perl/debian/watch?rev=38555&op=file
==============================================================================
--- trunk/libparse-recdescent-perl/debian/watch (added)
+++ trunk/libparse-recdescent-perl/debian/watch Tue Jun 23 23:39:01 2009
@@ -1,0 +1,5 @@
+version=3
+opts="dversionmangle=s/\+dfsg//"			\
+http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/	\
+        Parse-RecDescent-v?(.*)\.tar\.gz		\
+	debian /bin/sh debian/orig-tar.sh




More information about the Pkg-perl-cvs-commits mailing list