ExtUtils-XSpp
view release on metacpan or search on metacpan
( module_name => 'ExtUtils::XSpp',
license => 'perl',
requires =>
{ 'perl' => '5.6.1',
'ExtUtils::ParseXS' => '3.07',
'ExtUtils::Typemaps' => '1',
'Digest::MD5' => '2.0',
},
build_requires =>
{ 'Test::Base' => '0',
'Test::Differences' => '0',
},
add_to_cleanup => [ qw(t/files/foo.h) ],
script_files => 'scripts',
);
$build->create_build_script;
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
},
"name" : "ExtUtils-XSpp",
"prereqs" : {
"build" : {
"requires" : {
"Test::Base" : "0",
"Test::Differences" : "0"
}
},
"configure" : {
"requires" : {
"Module::Build" : "0.40"
}
},
"runtime" : {
"requires" : {
"Digest::MD5" : "2.0",
---
abstract: 'XS for C++'
author:
- 'Mattia Barbon <mbarbon@cpan.org>'
build_requires:
Test::Base: 0
Test::Differences: 0
configure_requires:
Module::Build: 0.40
dynamic_config: 1
generated_by: 'Module::Build version 0.4003, CPAN::Meta::Converter version 2.120921'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: ExtUtils-XSpp
provides:
#!/usr/bin/perl -w
use strict;
use warnings;
use lib 't/lib';
use if -d 'blib' => 'blib';
use Test::More tests => 2;
use Test::Differences;
use ExtUtils::XSpp::Driver;
unlink $_ foreach 't/files/foo.h';
my $driver = ExtUtils::XSpp::Driver->new
( typemaps => [ 't/files/typemap.xsp' ],
file => 't/files/test1.xsp',
);
open my $fh, '>', \my $out;
t/013_typemap_output.t view on Meta::CPAN
#!/usr/bin/perl -w
use strict;
use warnings;
use t::lib::XSP::Test tests => 5;
use ExtUtils::XSpp;
use ExtUtils::XSpp::Typemap::simple;
use Test::Differences;
# First, add a manual typemap and see if that ends up in the generated
# typemap block.
is(ExtUtils::XSpp::Typemap::get_xs_typemap_code_for_all_typemaps(), undef);
my $type = ExtUtils::XSpp::Node::Type->new(
base => 'bar',
pointer => 1,
);
my $tm = ExtUtils::XSpp::Typemap::simple->new(
type => $type,
t/lib/XSP/Test.pm view on Meta::CPAN
package t::lib::XSP::Test;
use strict;
use warnings;
use if -d 'blib' => 'blib';
use Test::Base -Base;
use Test::Differences;
use ExtUtils::XSpp::Typemap;
our @EXPORT = qw(run_diff);
# allows running tests both from t and from the top directory
use File::Spec;
BEGIN {
if (-d 't') {
unshift @INC, File::Spec->catdir(qw(t lib));
}
( run in 0.688 second using v1.01-cache-2.11-cpan-131fc08a04b )