...
 
Commits (23)
......@@ -2,6 +2,11 @@ See http://github.com/miyagawa/cpanminus/ for the latest development.
{{$NEXT}}
1.7044 2018-04-19 13:54:29 CEST
[Improvements]
- Support zip files with comments (skaji) #560
- Use metacpan download_url API (haarg) #522
1.7043 2017-04-02 20:56:06 PDT
[Improvements]
- Set PERL_USE_UNSAFE_INC for 5.26+ (haarg) #521
......
......@@ -4,7 +4,7 @@
"- Tatsuhiko Miyagawa"
],
"dynamic_config" : 0,
"generated_by" : "Dist::Milla version v1.0.17, Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010",
"generated_by" : "Dist::Milla version v1.0.18, Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
......@@ -50,7 +50,7 @@
"CPAN::Meta::YAML" : "0",
"Capture::Tiny" : "0",
"Digest::SHA" : "0",
"Dist::Milla" : "v1.0.17",
"Dist::Milla" : "v1.0.18",
"Exporter" : "5.63",
"File::Temp" : "0",
"File::pushd" : "0",
......@@ -101,7 +101,7 @@
"web" : "https://github.com/miyagawa/cpanminus"
}
},
"version" : "1.7043",
"version" : "1.7044",
"x_contributors" : [
"Aaron Moses <mosesa02@localhost.localdomain>",
"Alessandro Ghedini <al3xbio@gmail.com>",
......@@ -122,6 +122,7 @@
"David Golden <dagolden@cpan.org>",
"David Steinbrunner <dsteinbrunner@pobox.com>",
"Doug Bell <madcityzen@gmail.com>",
"Eli Flanagan <eflanagan@innovu.com>",
"fREW Schmidt <frioux@gmail.com>",
"Fuji, Goro <g.psy.va@gmail.com>",
"Gareth Kirwan <gbjk@thermeon.com>",
......@@ -150,6 +151,7 @@
"Michael G. Schwern <schwern@pobox.com>",
"motemen <motemen@gmail.com>",
"moznion <moznion@gmail.com>",
"Nicolas R <atoomic@cpan.org>",
"Norman Nunley <nnunley@gmail.com>",
"Olaf Alders <olaf@wundersolutions.com>",
"Olivier Mengue <dolmen@cpan.org>",
......@@ -179,6 +181,6 @@
"yappo <yappo@shibuya.pl>",
"zebardy <zebardy@gmail.com>"
],
"x_serialization_backend" : "Cpanel::JSON::XS version 3.0231"
"x_serialization_backend" : "Cpanel::JSON::XS version 3.0233"
}
......@@ -38,7 +38,7 @@ my %WriteMakefileArgs = (
"TEST_REQUIRES" => {
"Test::More" => 0
},
"VERSION" => "1.7043",
"VERSION" => "1.7044",
"test" => {
"TESTS" => "t/*.t"
}
......
......@@ -169,7 +169,11 @@ The standalone executable contains the following modules embedded.
- [JSON::PP](https://metacpan.org/pod/JSON::PP) Copyright 2007-2011 by Makamaka Hannyaharamitu
- [CPAN::Meta](https://metacpan.org/pod/CPAN::Meta), [CPAN::Meta::Requirements](https://metacpan.org/pod/CPAN::Meta::Requirements) Copyright (c) 2010 by David Golden and Ricardo Signes
- [CPAN::Meta::YAML](https://metacpan.org/pod/CPAN::Meta::YAML) Copyright 2010 Adam Kennedy
- [CPAN::Meta::Check](https://metacpan.org/pod/CPAN::Meta::Check) Copyright (c) 2012 by Leon Timmermans
- [File::pushd](https://metacpan.org/pod/File::pushd) Copyright 2012 David Golden
- [parent](https://metacpan.org/pod/parent) Copyright (c) 2007-10 Max Maischein
- [Parse::PMFile](https://metacpan.org/pod/Parse::PMFile) Copyright 1995 - 2013 by Andreas Koenig, Copyright 2013 by Kenichi Ishigaki
- [String::ShellQuote](https://metacpan.org/pod/String::ShellQuote) by Roderick Schertler
# LICENSE
......
This source diff could not be displayed because it is too large. You can view the blob instead.
cpanminus (1.7043-2) UNRELEASED; urgency=medium
cpanminus (1.7044-1) unstable; urgency=medium
[ Damyan Ivanov ]
* declare conformance with Policy 4.1.3 (no changes needed)
......@@ -6,7 +6,14 @@ cpanminus (1.7043-2) UNRELEASED; urgency=medium
[ Salvatore Bonaccorso ]
* Update Vcs-* headers for switch to salsa.debian.org
-- Damyan Ivanov <dmn@debian.org> Sat, 13 Jan 2018 14:21:33 +0000
[ gregor herrmann ]
* Import upstream version 1.7044.
* debian/upstream/metadata: fix Contact field.
* Update years of packaging copyright.
* Declare compliance with Debian Policy 4.1.4.
* Bump debhelper compatibility level to 10.
-- gregor herrmann <gregoa@debian.org> Sat, 05 May 2018 18:32:25 +0200
cpanminus (1.7043-1) unstable; urgency=medium
......
......@@ -4,7 +4,7 @@ Uploaders: gregor herrmann <gregoa@debian.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 9)
Build-Depends: debhelper (>= 10)
Build-Depends-Indep: libcpan-distnameinfo-perl,
libcpan-meta-check-perl (>= 0.012),
libfile-pushd-perl (>= 1.009),
......@@ -22,7 +22,7 @@ Build-Depends-Indep: libcpan-distnameinfo-perl,
perl (>= 5.23.0) | libhttp-tiny-perl (>= 0.056) | curl | wget,
perl (>= 5.23.0) | libmodule-metadata-perl (>= 1.000027),
perl (>= 5.23.9) | libversion-perl (>= 1:0.9912)
Standards-Version: 4.1.3
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/cpanminus
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/cpanminus.git
Homepage: https://metacpan.org/release/App-cpanminus
......
......@@ -88,7 +88,7 @@ License: Artistic or GPL-1+
Files: debian/*
Copyright: 2011, Alessandro Ghedini <ghedo@debian.org>
2012-2017, gregor herrmann <gregoa@debian.org>
2012-2018, gregor herrmann <gregoa@debian.org>
License: Artistic or GPL-1+
License: Artistic
......
---
Archive: CPAN
Bug-Database: https://github.com/miyagawa/cpanminus/issues
Contact: '- Tatsuhiko Miyagawa'
Contact: Tatsuhiko Miyagawa <miyagawa@bulknews.net>
Name: App-cpanminus
Repository: https://github.com/miyagawa/cpanminus.git
Repository-Browse: https://github.com/miyagawa/cpanminus
package App::cpanminus;
our $VERSION = "1.7043";
our $VERSION = "1.7044";
=encoding utf8
......@@ -229,8 +229,17 @@ The standalone executable contains the following modules embedded.
=item L<CPAN::Meta::YAML> Copyright 2010 Adam Kennedy
=item L<CPAN::Meta::Check> Copyright (c) 2012 by Leon Timmermans
=item L<File::pushd> Copyright 2012 David Golden
=item L<parent> Copyright (c) 2007-10 Max Maischein
=item L<Parse::PMFile> Copyright 1995 - 2013 by Andreas Koenig, Copyright 2013 by Kenichi Ishigaki
=item L<String::ShellQuote> by Roderick Schertler
=back
=head1 LICENSE
......
This diff is collapsed.
......@@ -33,7 +33,7 @@
},
"runtime" : {
"requires" : {
"perl" : ">= 5.008001, < 5.008009"
"perl" : ">= 5.008001, < 5.008005"
}
}
},
......
......@@ -17,9 +17,16 @@ sub run_L {
sub run {
my @args = @_;
# use metacpan's mirror in the tests
my @mirrors;
unless (grep /--mirror($|=)/, @args) {
@mirrors = ('--mirror', 'http://cpan.metacpan.org/');
}
my @notest = $ENV{TEST} ? ("--no-notest") : ("--notest");
my($stdout, $stderr, $exit) = capture {
system($^X, $executable, @notest, "--quiet", "--reinstall", @args);
system($^X, $executable, @notest, "--quiet", "--reinstall", @mirrors, @args);
};
::diag($stderr) if $stderr and !$ENV{NODIAG}; # Some tests actually want stderr
return wantarray ? ($stdout, $stderr, $exit) : $stdout;
......
use strict;
use Test::More;
use lib "fatlib";
use App::cpanminus::script;
use constant NOT_BACKPAN => { not => { term => { status => 'backpan' } } };
use constant RELEASED => { term => { maturity => 'released' } };
sub maturity {
my($module, $version, $dev) = @_;
my $s = App::cpanminus::script->new;
$s->{dev_release} = $dev;
[ $s->maturity_filter($module, $version) ];
}
my @tests = (
[ 'Test::More' ] => [ NOT_BACKPAN, RELEASED ],
[ 'Test::More', '==1.0' ] => [ ],
[ 'Test::More', '1.0' ] => [ NOT_BACKPAN, RELEASED ],
[ 'Test::More', '>= 1.0' ] => [ NOT_BACKPAN, RELEASED ],
[ 'Test::More', '>= 1.0, != 1.1' ] => [ NOT_BACKPAN, RELEASED ],
[ 'Test::More', undef, 1 ] => [ NOT_BACKPAN ],
[ 'Test::More', '< 2.0' ] => [ NOT_BACKPAN, RELEASED ],
[ 'Test::More', '< 2.0', 1 ] => [ NOT_BACKPAN ],
);
while (@tests) {
my($t, $r) = splice @tests, 0, 2;
is_deeply maturity(@$t), $r, $t->[0];
}
done_testing;
......@@ -8,4 +8,7 @@ unlike last_build_log, qr/Bad archive/;
run 'CPAN::Test::Dummy::Perl5::Make::Zip';
like last_build_log, qr/installed/;
run 'JJONES/Finance-OFX-Parse-Simple-0.07.zip';
like last_build_log, qr/installed/;
done_testing;