~ubuntu-branches/ubuntu/saucy/libtask-weaken-perl/saucy-proposed

« back to all changes in this revision

Viewing changes to t/97_meta.t

  • Committer: Package Import Robot
  • Author(s): gregor herrmann
  • Date: 2013-03-30 14:24:40 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130330142440-m5i0qqsvzubmrdgv
Tags: 1.04-1
* Take over for the Debian Perl Group with maintainer's permission
  (https://lists.debian.org/debian-perl/2013/03/msg00034.html)
* debian/control: Added: Vcs-Git field (source stanza); Vcs-Browser
  field (source stanza). Changed: Homepage field changed to
  metacpan.org URL; Maintainer set to Debian Perl Group <pkg-perl-
  maintainers@lists.alioth.debian.org> (was: Christian Sánchez
  <csanchez@unplug.org.ve>); Christian Sánchez
  <csanchez@unplug.org.ve> moved to Uploaders.
* debian/watch: use metacpan-based URL.

* New upstream release.
* Don't install README anymore.
* debian/copyright: switch formatting to Copyright-Format 1.0. Add years
  of upstream copyright, add info about third-party files, update
  license paragraphs.
* debian/control: remove version from perl (build) dependency, remove
  perl-modules.
* Bump debhelper compatibility level to 8.
* Add /me to Uploaders.
* Set Standards-Version to 3.9.4 (no changes).
* Update short and long description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/perl
2
 
 
3
 
# Test that our META.yml file matches the current specification.
4
 
 
5
 
use strict;
6
 
BEGIN {
7
 
        $|  = 1;
8
 
        $^W = 1;
9
 
}
10
 
 
11
 
my $MODULE = 'Test::CPAN::Meta 0.12';
12
 
 
13
 
# Don't run tests for installs
14
 
use Test::More;
15
 
unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
16
 
        plan( skip_all => "Author tests not required for installation" );
17
 
}
18
 
 
19
 
# Load the testing module
20
 
eval "use $MODULE";
21
 
if ( $@ ) {
22
 
        $ENV{RELEASE_TESTING}
23
 
        ? die( "Failed to load required release-testing module $MODULE" )
24
 
        : plan( skip_all => "$MODULE not available for testing" );
25
 
}
26
 
 
27
 
meta_yaml_ok();