Skip Menu |

This queue is for tickets about the CPANPLUS-Dist-Deb CPAN distribution.

Report information
The Basics
Id: 46901
Status: open
Priority: 0/
Queue: CPANPLUS-Dist-Deb

People
Owner: Nobody in particular
Requestors: CRAKRJACK [...] cpan.org
Cc:
AdminCc:

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



Hi, C::D::D always assumes that I want to generate packages for the 'main' section of debian. In fact, constants dictate that behaviour :-). I would also like to be able to create package trees for other sections, eg; 'contrib', 'non-free', 'cpan-custom', or anything else I feel like making up. Thanks, Tyler
I plan to eradicate Constants.pm and make stuff like this more configurable. Thanks for the ticket.
Subject: Re: [rt.cpan.org #46901]
Date: Fri, 12 Jun 2009 17:24:42 -0700
To: Hans Dieter Pearcey via RT <bug-CPANPLUS-Dist-Deb [...] rt.cpan.org>
From: Tyler MacDonald <tyler [...] yi.org>
No worries... One other unrelated thing -- I have to do this to hack around Crypt::IDEA, i'm wondering if a simple hook system would be useful to massage packages before we let debian generate it's .diff? my $package = $cpan->module_tree($package_name); # Crypt::IDEA bug - debhelper doesnt like the "._test.pl" file # so we have to manually fetch and extract the package and remove # that file before we allow debianization to take over # { $package->fetch; my $dir = $package->extract; print " Extracted to $dir\n"; unlink("$dir/._test.pl") and warn "Removed naughty ._test.pl file"; } $package->install( format => 'CPANPLUS::Dist::Deb', target => 'create', prereq_target => 'create', verbose => 1, skiptest => 1, distdir => $repo_root, ) or die "Failed to build $package_name!"; Cheers, Tyler Hans Dieter Pearcey via RT <bug-CPANPLUS-Dist-Deb@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=46901 > > > I plan to eradicate Constants.pm and make stuff like this more > configurable. Thanks for the ticket.
--