Commits

Marcin Kasperski committed 01fcd33 Merge

merge

  • Participants
  • Parent commits 63774ab, d6623b2

Comments (0)

Files changed (7)

 7228ecb54cc363bd6f05a5b1b523ad42d3e32479 0.2503
 513a725af8af538dbb2b0bbea0277f015b990978 0.2504
 a7ab36f411ddc18c46e4433af64eb0fc20b32e79 0.30
+ab7feecbdc4391c7f331e9b409bd6c36ec25291e 0.3001
 use Module::Build;
 use ExtUtils::PkgConfig;
 
-my %gnome_keyring_pkg_info = ExtUtils::PkgConfig->find("gnome-keyring-1");
+#eval { require ExtUtils::PkgConfig; } or
+#   die "OS unsupported - no ExtUtils::PkgConfig\n";
+
+my %gnome_keyring_pkg_info;
+eval {
+    %gnome_keyring_pkg_info = ExtUtils::PkgConfig->find("gnome-keyring-1");
+} or die "OS unsupported - need gnome-keyring development libraries\n$@";
 
 my $builder = Module::Build->new(
     module_name         => 'Passwd::Keyring::Gnome',
     },
     configure_requires => {
         'Module::Build' => '0.36',
+        'ExtUtils::PkgConfig' => '1.12',
     },
     requires => {
         'perl' => 5.006,
         dist => [ 'example' ],
     },
 
-    create_makefile_pl => 'traditional',
+    create_makefile_pl => 'small', # not 'traditional', we test for libraries in Build.pl
     add_to_cleanup      => [ 'Passwd-Keyring-Gnome-*' ],
 
     create_readme       => 1,
 Revision history for Keyring-Gnome
 
+0.3001	2012-11-20
+        Fixed some dependencies to make automated tests pass or fail properly
+        (should resolve a couple of cpantesters reports).
+
 0.30	2012-11-14
         Reworked internal implementation. Instead of artificially saving
         passwords as network passwords, module now uses it's own password
     Keyring.
 
 VERSION
-    Version 0.30
+    Version 0.3001
 
 SYNOPSIS
     Gnome Keyring based implementation of Keyring. Provide secure storage

lib/Passwd/Keyring/Gnome.pm

 
 =head1 VERSION
 
-Version 0.30
+Version 0.3001
 
 =cut
 
-our $VERSION = '0.30';
+our $VERSION = '0.3001';
 
 bootstrap Passwd::Keyring::Gnome $VERSION;
 
 }
 
 diag( "Testing Passwd::Keyring::Gnome $Passwd::Keyring::Gnome::VERSION, Perl $], $^X" );
-diag( "Consider spawning  seahorse  and checking whether all passwords are properly wiped after tests" );
+diag( "Consider spawning  seahorse  and observing password changes caused by tests" );
 is already set.
 """
 
-VERSION = "0.30"
+VERSION = "0.3001"
 
 UPDATED_FILES = [
     "lib/Passwd/Keyring/Gnome.pm",