diff -Nru pyppd-1.0.1/CHANGES.txt pyppd-1.0.2/CHANGES.txt --- pyppd-1.0.1/CHANGES.txt 2013-09-05 12:20:17.000000000 +0000 +++ pyppd-1.0.2/CHANGES.txt 2013-09-12 22:04:24.000000000 +0000 @@ -1,4 +1,10 @@ -HEAD (2013-09-05) +v1.0.2 (2013-09-12) + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in: Changing version to + 1.0.2 + + * MANIFEST.in: Without it, the ISSUES aren't packed in the distribution file, + and setup.py breaks as it needs it to generate the long_description. * contrib/git2changes.py: Fix git2changes when commits only modified one file diff -Nru pyppd-1.0.1/ISSUES pyppd-1.0.2/ISSUES --- pyppd-1.0.1/ISSUES 1970-01-01 00:00:00.000000000 +0000 +++ pyppd-1.0.2/ISSUES 2013-09-02 15:00:42.000000000 +0000 @@ -0,0 +1,8 @@ +Issues +------ + +* Add unit tests. +* When testing if the PPD generated from the \*Product line already exists in a + \*1284DeviceID line, we do a case-sensitive test. I think it should be case- + insensitive. +* Generate manpage. diff -Nru pyppd-1.0.1/PKG-INFO pyppd-1.0.2/PKG-INFO --- pyppd-1.0.1/PKG-INFO 2013-09-05 12:20:17.000000000 +0000 +++ pyppd-1.0.2/PKG-INFO 2013-09-12 22:04:24.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pyppd -Version: 1.0.1 +Version: 1.0.2 Summary: A CUPS PostScript Printer Driver's compressor and generator Home-page: http://github.com/vitorbaptista/pyppd/ Author: Vitor Baptista diff -Nru pyppd-1.0.1/debian/changelog pyppd-1.0.2/debian/changelog --- pyppd-1.0.1/debian/changelog 2013-11-01 12:12:25.000000000 +0000 +++ pyppd-1.0.2/debian/changelog 2014-01-15 16:34:15.000000000 +0000 @@ -1,3 +1,13 @@ +pyppd (1.0.2-1) unstable; urgency=low + + * New 1.0.2 upstream release + * Update Vcs-* fields to canonical forms + * Bump Standards-Version to 3.9.5 without changes needed + * Add --archive-filename option to dh_pyppd to allow the specification + of the pyppd archive name + + -- Didier Raboud Wed, 15 Jan 2014 17:34:04 +0100 + pyppd (1.0.1-2) unstable; urgency=low [ Enrico Tassi ] diff -Nru pyppd-1.0.1/debian/control pyppd-1.0.2/debian/control --- pyppd-1.0.1/debian/control 2013-09-08 13:59:01.000000000 +0000 +++ pyppd-1.0.2/debian/control 2014-01-15 15:58:58.000000000 +0000 @@ -5,9 +5,9 @@ Uploaders: Didier Raboud Build-Depends: debhelper (>= 7.0.50~), python3-all Homepage: http://pypi.python.org/pypi/pyppd -Vcs-Git: git://git.debian.org/collab-maint/pyppd.git -Vcs-Browser: http://git.debian.org/?p=collab-maint/pyppd.git -Standards-Version: 3.9.4 +Vcs-Git: git://anonscm.debian.org/collab-maint/pyppd.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/pyppd.git +Standards-Version: 3.9.5 Package: pyppd Architecture: all diff -Nru pyppd-1.0.1/debian/dh_pyppd pyppd-1.0.2/debian/dh_pyppd --- pyppd-1.0.1/debian/dh_pyppd 2013-11-01 12:08:49.000000000 +0000 +++ pyppd-1.0.2/debian/dh_pyppd 2014-01-15 16:32:33.000000000 +0000 @@ -13,7 +13,7 @@ =head1 SYNOPSIS -B [S>] +B [--archive-filename=archvname] [S>] =head1 DESCRIPTION @@ -21,9 +21,23 @@ /usr/share using pyppd, removes them from the binary package and adds the needed Depends to the package's ${misc:Depends}. +=head1 OPTIONS + +=over 4 + +=item B<--archive-filename>=I + +Use the specified pyppd archive filename instead of deriving it from the +binary package name (by dropping printer-driver-). This is usually not +needed. + +=back + =cut -init(); +init(options => { + "archive-filename=s" => \$dh{ARCHIVE_FILENAME}, +}); foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp=tmpdir($package); @@ -31,6 +45,10 @@ my $pyppd_dest="$tmp/usr/lib/cups/driver"; my $package_printer_driver=$package; $package_printer_driver =~ s/^printer-driver-//; + # If archive-filename is specified, use that instead + if($dh{ARCHIVE_FILENAME}) { + $package_printer_driver = $dh{ARCHIVE_FILENAME}; + } if(-d $ppd_src) { my $ppds_presence = 0; diff -Nru pyppd-1.0.1/pyppd/pyppd-ppdfile.in pyppd-1.0.2/pyppd/pyppd-ppdfile.in --- pyppd-1.0.1/pyppd/pyppd-ppdfile.in 2013-09-05 12:04:34.000000000 +0000 +++ pyppd-1.0.2/pyppd/pyppd-ppdfile.in 2013-09-12 21:59:56.000000000 +0000 @@ -57,7 +57,7 @@ def main(): usage = "usage: %prog list\n" \ " %prog cat URI" - version = "%prog 1.0.1\n" \ + version = "%prog 1.0.2\n" \ "Copyright (c) 2013 Vitor Baptista.\n" \ "This is free software; see the source for copying conditions.\n" \ "There is NO warranty; not even for MERCHANTABILITY or\n" \ diff -Nru pyppd-1.0.1/pyppd/runner.py pyppd-1.0.2/pyppd/runner.py --- pyppd-1.0.1/pyppd/runner.py 2013-09-05 12:04:15.000000000 +0000 +++ pyppd-1.0.2/pyppd/runner.py 2013-09-12 21:59:44.000000000 +0000 @@ -8,7 +8,7 @@ def parse_args(): usage = "usage: %prog [options] ppds_directory" - version = "%prog 1.0.1\n" \ + version = "%prog 1.0.2\n" \ "Copyright (c) 2013 Vitor Baptista.\n" \ "This is free software; see the source for copying conditions.\n" \ "There is NO warranty; not even for MERCHANTABILITY or\n" \ diff -Nru pyppd-1.0.1/setup.py pyppd-1.0.2/setup.py --- pyppd-1.0.1/setup.py 2013-09-05 11:57:57.000000000 +0000 +++ pyppd-1.0.2/setup.py 2013-09-12 21:59:37.000000000 +0000 @@ -19,7 +19,7 @@ setup( name='pyppd', - version='1.0.1', + version='1.0.2', author='Vitor Baptista', author_email='vitor@vitorbaptista.com', packages=['pyppd'],