Skip Menu |

This queue is for tickets about the TermReadKey CPAN distribution.

Report information
The Basics
Id: 99233
Status: rejected
Priority: 0/
Queue: TermReadKey

People
Owner: Nobody in particular
Requestors: robert.vincent [...] homes.com
Cc: gregoa [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Wrong packagename
Date: Tue, 30 Sep 2014 15:29:58 -0400
To: bug-TermReadKey [...] rt.cpan.org
From: Bob Vincent <robert.vincent [...] homes.com>
The package name for Term::ReadKey should be "Term-ReadKey", not "TermReadKey". This also affects the Debian package name as generated by the "dh-make-perl" program. What I did: wget http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/TermReadKey-2.32.tar.gz ; tar -zxf TermReadKey-2.32.tar.gz ; dh-make-perl TermReadKey-2.32 ; cd TermReadKey-2.32 ; debuild binary ; cd .. ; ls What I saw: libtermreadkey-perl_2.32-1_amd64.deb TermReadKey-2.32 TermReadKey-2.32.tar.gz What I expected to see: libterm-readkey-perl_2.32-1_amd64.deb Term-ReadKey-2.32 Term-ReadKey-2.32.tar.gz Robert August Vincent II *(Bob-Vee)* Linux Systems Administrator, Portal (80X) Office: (757) 351-8182 Cell: (757) 672-1935
Subject: [rt.cpan.org #99233]
Date: Tue, 30 Sep 2014 17:36:23 -0400
To: bug-TermReadKey [...] rt.cpan.org
From: Bob Vincent <robert.vincent [...] homes.com>
Show quoted text
---------- Forwarded message ---------- From: gregor herrmann <gregor+debian@comodo.priv.at> Date: Tue, Sep 30, 2014 at 5:25 PM Subject: [Bug 1375972] Re: Produces wrong packagename in some cases. To: robert.vincent@homes.com Additional output: Using META.json Found: TermReadKey 2.32 (libtermreadkey-perl arch=any) So as expected, dh-make-perl uses META.json (that's its preferred source of information), and indeed: % grep TermReadKey META.json "name" : "TermReadKey", So this very much looks like upstream getting the name wrong. I don't think dh-make-perl can do a lot here ... This looks better: % grep Term::ReadKey * Makefile.PL: NAME => 'Term::ReadKey', [..] Cheers, gregor -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1375972 Title: Produces wrong packagename in some cases. Status in “dh-make-perl” package in Ubuntu: New Bug description: What I did: cpan2deb Term::ReadKey ; ls What I saw: (...) libtermreadkey-perl libtermreadkey-perl_2.32-1_amd64.deb libtermreadkey-perl_2.32.orig.tar.gz What I expected to see: (...) libterm-readkey-perl libterm-readkey-perl_2.32-1_amd64.deb libterm-readkey-perl_2.32.orig.tar.gz ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: dh-make-perl 0.80-1 ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9 Uname: Linux 3.13.0-24-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.4 Architecture: amd64 CurrentDesktop: KDE Date: Tue Sep 30 15:39:47 2014 InstallationDate: Installed on 2014-05-12 (141 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1) PackageArchitecture: all SourcePackage: dh-make-perl UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dh-make-perl/+bug/1375972/+subscriptions
Hi, The DISTNAME has been TermReadKey for more than twenty years, I don't think there is any value in changing it at this point. The META.(yml|json) is generated from the Makefile.PL BTW, so if there is a bug it is in the part of ExtUtils::MakeMaker that generates the META files in not including the correct module name. Thanks anyway.