Skip Menu |
 

This queue is for tickets about the Mail-SpamCannibal CPAN distribution.

Report information
The Basics
Id: 30963
Status: resolved
Priority: 0/
Queue: Mail-SpamCannibal

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

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

Attachments
mail-spamcannibal-configure-requires.patch



Subject: Use configure_requires for IPTables::IPv4::DBTarpit::Inst dependency
Download (untitled) / with headers
text/plain 211b
See http://module-build.sourceforge.net/META-spec-blead.html#configure_requires for more information about configure_requires. At least CPAN.pm uses the value when installing distributions. Regards, Slaven
EXTRA_META tag added in Makefile.PL v0.84 released.
From: SREZIC [...] cpan.org
Download (untitled) / with headers
text/plain 217b
On Mon Dec 10 16:04:26 2007, MIKER wrote: Show quoted text
> EXTRA_META tag added in Makefile.PL > > v0.84 released.
Unfortunately the indentation in the value part is missing. See the attached patch for a fix. Regards, Slaven
#### Patch data follows #### diff -up '../build/Mail-SpamCannibal-0.84-yhJ7RL/Makefile.PL' 'Mail-SpamCannibal-0.84/Makefile.PL' Index: ./Makefile.PL --- ./Makefile.PL Mon Dec 10 21:59:31 2007 +++ ./Makefile.PL Mon Dec 10 23:17:53 2007 @@ -90,7 +90,7 @@ foreach(keys %xmodules) { my %makeparms = ( 'EXTRA_META' => q|configure_requires: -IPTables::IPv4::DBTarpit::Inst: 0 + IPTables::IPv4::DBTarpit::Inst: 0 |, 'NAME' => 'Mail::SpamCannibal', 'VERSION_FROM' => 'SpamCannibal.pm', # finds $VERSION #### End of Patch data ####
Subject: Re: [rt.cpan.org #30963] Use configure_requires for IPTables::IPv4::DBTarpit::Inst dependency
Date: Mon, 10 Dec 2007 15:58:20 -0800
To: bug-Mail-SpamCannibal [...] rt.cpan.org
From: michael [...] insulin-pumpers.org
Download (untitled) / with headers
text/plain 828b
Show quoted text
> > Queue: Mail-SpamCannibal > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=30963 > > > On Mon Dec 10 16:04:26 2007, MIKER wrote:
> > EXTRA_META tag added in Makefile.PL > > > > v0.84 released.
> > Unfortunately the indentation in the value part is missing. See the > attached patch for a fix. > > Regards, > Slaven > >
Ok, thanks. Perhaps you can help with the other bit about the indexer and the sandbox that perl runs in when looking at new distro's. It seems that this line is not being expanded in the sandbox $VERSION = do 'something.pm'; can I use 'require' and get it to work, or perhaps something like... my $var = require 'something.pm'; $VERSION = $var; ?? I need to extract the version variable from another pm that is used globally and returns the $VERSION number. Michael
CC: SREZIC [...] cpan.org
Subject: Re: [rt.cpan.org #30963] Use configure_requires for IPTables::IPv4::DBTarpit::Inst dependency
Date: 11 Dec 2007 22:52:07 +0100
To: bug-Mail-SpamCannibal [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
Download (untitled) / with headers
text/plain 1.3k
"michael@insulin-pumpers.org via RT" <bug-Mail-SpamCannibal@rt.cpan.org> writes: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=30963 > >
> > > > Queue: Mail-SpamCannibal > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=30963 > > > > > On Mon Dec 10 16:04:26 2007, MIKER wrote:
> > > EXTRA_META tag added in Makefile.PL > > > > > > v0.84 released.
> > > > Unfortunately the indentation in the value part is missing. See the > > attached patch for a fix. > > > > Regards, > > Slaven > > > >
> > Ok, thanks. > > Perhaps you can help with the other bit about the indexer and the > sandbox that perl runs in when looking at new distro's. > > It seems that this line is not being expanded in the sandbox > > $VERSION = do 'something.pm'; > > can I use 'require' and get it to work, or perhaps something like... > > my $var = require 'something.pm'; > > $VERSION = $var; > > ?? > > I need to extract the version variable from another pm that is used > globally and returns the $VERSION number. >
This should usually work: require 'something.pm'; $Something::VERSION; # if something.pm defines the package Something Regards, Slaven -- Slaven Rezic - slaven <at> rezic <dot> de babybike - routeplanner for cyclists in Berlin handheld (e.g. Compaq iPAQ with Linux) version of bbbike http://bbbike.sourceforge.net
I believe this bug was resolved 12-07 so I'm setting to "resolved"


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.