Your message dated Wed, 20 Dec 2006 22:38:38 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Patch: Handle another case for package name/version
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: dh-make-perl
Version: 0.17
Tags: patch

I install and update the perl module WWW::Search::Ebay with dh-make-perl.

dh-make-perl has never been able to automatically figure out the package's
name and version (always producing a .deb named "lib-perl_0-1_all.deb"), so
I'm submitting my two-line change that aids this.

WWW::Search::Ebay defines its name and version in Makefile.PL in this way:

---snip---
# $rcs = ' $Id: Makefile.PL,v 1.25 2005/05/19 03:05:51 Daddy Exp $ ';

use inc::Module::Install;

name('WWW-Search-Ebay');
author('Martin Thurn <[EMAIL_ADDRESS_OBSCURED]>');
license('perl');
version(2.207);
---snip---

Here is my two-line addition to deal with this.  I hope this is useful
for others.

--- /old/dh-make-perl   2005-05-18 09:45:27.000000000 -0500
+++ /new/dh-make-perl   2005-07-06 20:31:04.000000000 -0500
@@ -375,7 +375,9 @@
         close(MF);
     $name = $4 if $file =~ /(['"]?)DISTNAME\1\s*(=>|,)\s*(['"]?)(\S+)\3/s;
     $name = $4 if ! $name && $file =~
/(['"]?)NAME\1\s*(=>|,)\s*(['"]?)(\S+)\3/s;
+    $name = $2 if ! $name && $file =~ /name\((['"]?)(\S+)\1\);/s;
         $ver = $4 if $file =~ /(['"]?)VERSION\1\s*(=>|,)\s*(['"]?)(\S+)\3/s;
+        $ver = $1 if ! $ver && $file =~ /version\((\S+)\)/s;
         $vfrom = $4 if $file =~
/(['"]?)VERSION_FROM\1\s*(=>|,)\s*(['"]?)(\S+)\3/s;
         $dir = dirname($makefile) || './';
         $name =~ s/,.*$//;

-- 
Troy


--- End Message ---
--- Begin Message ---
tag wontfix
thanks

As noted some time ago, the proplem module has been fixed. This was passed to upstream for them, but since this is no longer an issue for this bug, am closing (as should have happend a while back).

--
 James Bromberger | www.james.rcpt.to | james_AT_rcpt.to
 UK Cell: +44 7952042920 | Perth/Au phone in London/UK: +61 8 6424 8325

begin:vcard
fn:James Bromberger
n:Bromberger;James
adr:;;;London;Greater London;;United Kingdom
email;internet:[EMAIL PROTECTED]
tel;cell:+447952042920
note:GPG: 3F2C F8FD B2D5 AA35 C81A  F914 A5F2 7028 0917 A9E4
x-mozilla-html:FALSE
url:http://www.james.rcpt.to
version:2.1
end:vcard


--- End Message ---

Reply via email to