r50563 - in /trunk/libmodule-install-xsutil-perl: Changes META.yml Makefile.PL debian/changelog example/src/Foo.xs lib/Module/Install/XSUtil.pm
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sat Jan 9 17:50:25 UTC 2010
Author: jawnsy-guest
Date: Sat Jan 9 17:50:18 2010
New Revision: 50563
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=50563
Log:
New upstream release
Modified:
trunk/libmodule-install-xsutil-perl/Changes
trunk/libmodule-install-xsutil-perl/META.yml
trunk/libmodule-install-xsutil-perl/Makefile.PL
trunk/libmodule-install-xsutil-perl/debian/changelog
trunk/libmodule-install-xsutil-perl/example/src/Foo.xs
trunk/libmodule-install-xsutil-perl/lib/Module/Install/XSUtil.pm
Modified: trunk/libmodule-install-xsutil-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-install-xsutil-perl/Changes?rev=50563&op=diff
==============================================================================
--- trunk/libmodule-install-xsutil-perl/Changes (original)
+++ trunk/libmodule-install-xsutil-perl/Changes Sat Jan 9 17:50:18 2010
@@ -1,4 +1,10 @@
Revision history for Perl extension Module::Install::XSUtil
+
+0.20 Sat Jan 9 16:31:53 2010
+ - Change cc_warnings()
+ - Add -Wc++-compat on gcc 4
+ - Add -Wno-comment on gcc 3
+ - Remove ExtUtils::CBuilder dependency, use can_cc() instead
0.19 Tue Dec 8 10:35:19 2009
- Make cc_available recognize the '--pp' and '--xs' options
Modified: trunk/libmodule-install-xsutil-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-install-xsutil-perl/META.yml?rev=50563&op=diff
==============================================================================
--- trunk/libmodule-install-xsutil-perl/META.yml (original)
+++ trunk/libmodule-install-xsutil-perl/META.yml Sat Jan 9 17:50:18 2010
@@ -5,7 +5,6 @@
build_requires:
B::Hooks::OP::Annotation: 0.43
Devel::PPPort: 3.19
- ExtUtils::CBuilder: 0.21
ExtUtils::MakeMaker: 6.42
ExtUtils::ParseXS: 2.21
Test::More: 0.88
@@ -32,4 +31,4 @@
resources:
license: http://dev.perl.org/licenses/
repository: git://github.com/gfx/Perl-Module-Install-XSUtil.git
-version: 0.19
+version: 0.20
Modified: trunk/libmodule-install-xsutil-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-install-xsutil-perl/Makefile.PL?rev=50563&op=diff
==============================================================================
--- trunk/libmodule-install-xsutil-perl/Makefile.PL (original)
+++ trunk/libmodule-install-xsutil-perl/Makefile.PL Sat Jan 9 17:50:18 2010
@@ -10,7 +10,6 @@
# these modules are required for t/01_example.t
test_requires 'Devel::PPPort' => 3.19;
-test_requires 'ExtUtils::CBuilder'=> 0.21;
test_requires 'ExtUtils::ParseXS' => 2.21;
test_requires 'XSLoader' => 0.10;
test_requires 'B::Hooks::OP::Annotation'
Modified: trunk/libmodule-install-xsutil-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-install-xsutil-perl/debian/changelog?rev=50563&op=diff
==============================================================================
--- trunk/libmodule-install-xsutil-perl/debian/changelog (original)
+++ trunk/libmodule-install-xsutil-perl/debian/changelog Sat Jan 9 17:50:18 2010
@@ -1,3 +1,9 @@
+libmodule-install-xsutil-perl (0.20-1) UNRELEASED; urgency=low
+
+ * New upstream release
+
+ -- Jonathan Yu <jawnsy at cpan.org> Sat, 09 Jan 2010 12:52:59 -0500
+
libmodule-install-xsutil-perl (0.19-1) unstable; urgency=low
* Initial Release (Closes: #559987)
Modified: trunk/libmodule-install-xsutil-perl/example/src/Foo.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-install-xsutil-perl/example/src/Foo.xs?rev=50563&op=diff
==============================================================================
--- trunk/libmodule-install-xsutil-perl/example/src/Foo.xs (original)
+++ trunk/libmodule-install-xsutil-perl/example/src/Foo.xs Sat Jan 9 17:50:18 2010
@@ -20,12 +20,19 @@
#endif
}
+STATIC OPAnnotationGroup MYMODULE_ANNOTATIONS;
+
MODULE = Foo PACKAGE = Foo
PROTOTYPES: DISABLE
BOOT:
- op_annotation_group_free(aTHX_ op_annotation_group_new());
+ MYMODULE_ANNOTATIONS = op_annotation_group_new();
+
+void
+END()
+CODE:
+ op_annotation_group_free(aTHX_ MYMODULE_ANNOTATIONS);
bool
foo_is_ok()
Modified: trunk/libmodule-install-xsutil-perl/lib/Module/Install/XSUtil.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-install-xsutil-perl/lib/Module/Install/XSUtil.pm?rev=50563&op=diff
==============================================================================
--- trunk/libmodule-install-xsutil-perl/lib/Module/Install/XSUtil.pm (original)
+++ trunk/libmodule-install-xsutil-perl/lib/Module/Install/XSUtil.pm Sat Jan 9 17:50:18 2010
@@ -2,7 +2,7 @@
use 5.005_03;
-$VERSION = '0.19';
+$VERSION = '0.20';
use Module::Install::Base;
@ISA = qw(Module::Install::Base);
@@ -17,7 +17,7 @@
use constant _VERBOSE => $ENV{MI_VERBOSE} ? 1 : 0;
my %ConfigureRequires = (
- 'ExtUtils::CBuilder' => 0.21, # for have_compiler()
+ # currently nothing
);
my %BuildRequires = (
@@ -95,11 +95,7 @@
}
}
- local $@;
- return $cc_available = eval{
- require ExtUtils::CBuilder;
- ExtUtils::CBuilder->new(quiet => 1)->have_compiler();
- } ? 1 : 0;
+ return $cc_available = shift->can_cc();
}
}
@@ -146,10 +142,10 @@
no warnings 'numeric';
if($Config{gccversion} >= 4.00){
- $self->cc_append_to_ccflags('-Wextra -Wdeclaration-after-statement');
+ $self->cc_append_to_ccflags('-Wextra -Wdeclaration-after-statement -Wc++-compat');
}
else{
- $self->cc_append_to_ccflags('-W');
+ $self->cc_append_to_ccflags('-W -Wno-comment');
}
}
elsif(_is_msvc()){
@@ -537,7 +533,7 @@
=head1 VERSION
-This document describes Module::Install::XSUtil version 0.19.
+This document describes Module::Install::XSUtil version 0.20.
=head1 SYNOPSIS
More information about the Pkg-perl-cvs-commits
mailing list