AAAA-Crypt-DH

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

---
abstract: 'making Crypt::DH installable'
author:
  - 'Chris Williams'
build_requires:
  ExtUtils::MakeMaker: 6.59
  Test::More: 0.47
configure_requires:
  ExtUtils::MakeMaker: 6.59
distribution_type: module
dynamic_config: 1
generated_by: 'Module::Install version 1.17'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: 1.4
name: AAAA-Crypt-DH

Makefile.PL  view on Meta::CPAN

use if ! ( grep { $_ eq '.' } @INC ), qw[lib .];
use strict;
use inc::Module::Install;
name 'AAAA-Crypt-DH';
author 'Chris Williams';
version_from 'lib/AAAA/Crypt/DH.pm';
abstract_from 'lib/AAAA/Crypt/DH.pm';
readme_from 'lib/AAAA/Crypt/DH.pm';
license 'perl';
perl_version '5.006';
build_requires 'Test::More' => 0.47;
eval { assertlibs lib => 'gmp', header => 'gmp.h'; };
unless ($@) {
  requires 'Math::BigInt::GMP' => 1.24;
}
else {
  requires 'Math::BigInt::Pari' => 1.13;
}
auto_license;
githubmeta;
auto_provides;

inc/Devel/CheckLib.pm  view on Meta::CPAN

=head1 FUNCTIONS

All of these take the same named parameters and are exported by default.
To avoid exporting them, C<use Devel::CheckLib ()>.

=head2 assert_lib

This takes several named parameters, all of which are optional, and dies
with an error message if any of the libraries listed can
not be found.  B<Note>: dying in a Makefile.PL or Build.PL may provoke
a 'FAIL' report from CPAN Testers' automated smoke testers.  Use 
C<check_lib_or_exit> instead.

The named parameters are:

=over

=item lib

Must be either a string with the name of a single 
library or a reference to an array of strings of library names.  Depending

inc/Devel/CheckLib.pm  view on Meta::CPAN


=head2 check_lib_or_exit

This behaves exactly the same as C<assert_lib()> except that instead of
dieing, it warns (with exactly the same error message) and exits.
This is intended for use in Makefile.PL / Build.PL
when you might want to prompt the user for various paths and
things before checking that what they've told you is sane.

If any library or header is missing, it exits with an exit value of 0 to avoid
causing a CPAN Testers 'FAIL' report.  CPAN Testers should ignore this
result -- which is what you want if an external library dependency is not
available.

=head2 check_lib

This behaves exactly the same as C<assert_lib()> except that it is silent,
returning false instead of dieing, or true otherwise.

=cut

inc/Module/Install/Makefile.pm  view on Meta::CPAN

in a module, and provide its file path via 'version_from' (or
'all_from' if you prefer) in Makefile.PL.
EOT

	if ( $self->tests ) {
		my @tests = split ' ', $self->tests;
		my %seen;
		$args->{test} = {
			TESTS => (join ' ', grep {!$seen{$_}++} @tests),
		};
    } elsif ( $Module::Install::ExtraTests::use_extratests ) {
        # Module::Install::ExtraTests doesn't set $self->tests and does its own tests via harness.
        # So, just ignore our xt tests here.
	} elsif ( -d 'xt' and ($Module::Install::AUTHOR or $ENV{RELEASE_TESTING}) ) {
		$args->{test} = {
			TESTS => join( ' ', map { "$_/*.t" } grep { -d $_ } qw{ t xt } ),
		};
	}
	if ( $] >= 5.005 ) {
		$args->{ABSTRACT} = $self->abstract;
		$args->{AUTHOR}   = join ', ', @{$self->author || []};
	}

t/00_compile.t  view on Meta::CPAN

use Test::More 'no_plan';
use_ok('AAAA::Crypt::DH');

t/99_pod.t  view on Meta::CPAN

use Test::More;
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
all_pod_files_ok();

t/99_pod_coverage.t  view on Meta::CPAN

use Test::More;
eval "use Test::Pod::Coverage 1.00";
plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" if $@;
all_pod_coverage_ok();



( run in 0.360 second using v1.01-cache-2.11-cpan-4d50c553e7e )