r75220 - in /trunk/libextutils-xspp-perl: Changes MANIFEST META.json META.yml debian/changelog debian/control debian/copyright debian/source/local-options lib/ExtUtils/XSpp.pm lib/ExtUtils/XSpp/Node.pm lib/ExtUtils/XSpp/Node/Method.pm t/022_static.t

ansgar at users.alioth.debian.org ansgar at users.alioth.debian.org
Mon Jun 6 20:15:29 UTC 2011


Author: ansgar
Date: Mon Jun  6 20:15:20 2011
New Revision: 75220

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=75220
Log:
* New upstream release.
* debian/copyright: Refer to "Debian systems" instead of "Debian GNU/Linux
  systems".
* Bump Standards-Version to 3.9.2 (no changes).

Added:
    trunk/libextutils-xspp-perl/META.json
      - copied unchanged from r75219, branches/upstream/libextutils-xspp-perl/current/META.json
    trunk/libextutils-xspp-perl/debian/source/local-options
Modified:
    trunk/libextutils-xspp-perl/Changes
    trunk/libextutils-xspp-perl/MANIFEST
    trunk/libextutils-xspp-perl/META.yml
    trunk/libextutils-xspp-perl/debian/changelog
    trunk/libextutils-xspp-perl/debian/control
    trunk/libextutils-xspp-perl/debian/copyright
    trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp.pm
    trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp/Node.pm
    trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp/Node/Method.pm
    trunk/libextutils-xspp-perl/t/022_static.t

Modified: trunk/libextutils-xspp-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-xspp-perl/Changes?rev=75220&op=diff
==============================================================================
--- trunk/libextutils-xspp-perl/Changes (original)
+++ trunk/libextutils-xspp-perl/Changes Mon Jun  6 20:15:20 2011
@@ -1,4 +1,7 @@
 Revision history for Perl extension ExtUtils::XSpp.
+
+0.1602   Fri Jun  3 22:08:53 CEST 2011
+	- Fixed code generation for package_static methods.
 
 0.1601   Sat Mar 12 10:21:15 CET 2011
 	- Do not try to rebuld the grammar during CPAN installation.

Modified: trunk/libextutils-xspp-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-xspp-perl/MANIFEST?rev=75220&op=diff
==============================================================================
--- trunk/libextutils-xspp-perl/MANIFEST (original)
+++ trunk/libextutils-xspp-perl/MANIFEST Mon Jun  6 20:15:20 2011
@@ -66,6 +66,7 @@
 lib/ExtUtils/XSpp/Typemap/reference.pm
 lib/ExtUtils/XSpp/Typemap/simple.pm
 MANIFEST
+META.json
 META.yml
 README
 scripts/xspp

Modified: trunk/libextutils-xspp-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-xspp-perl/META.yml?rev=75220&op=diff
==============================================================================
--- trunk/libextutils-xspp-perl/META.yml (original)
+++ trunk/libextutils-xspp-perl/META.yml Mon Jun  6 20:15:20 2011
@@ -6,8 +6,9 @@
   Test::Base: 0
   Test::Differences: 0
 configure_requires:
-  Module::Build: 0.36
-generated_by: 'Module::Build version 0.3624'
+  Module::Build: 0.38
+dynamic_config: 1
+generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.110930'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -16,82 +17,116 @@
 provides:
   ExtUtils::XSpp:
     file: lib/ExtUtils/XSpp.pm
-    version: 0.1601
+    version: 0.1602
   ExtUtils::XSpp::Cmd:
     file: lib/ExtUtils/XSpp/Cmd.pm
+    version: 0
   ExtUtils::XSpp::Driver:
     file: lib/ExtUtils/XSpp/Driver.pm
+    version: 0
   ExtUtils::XSpp::Exception:
     file: lib/ExtUtils/XSpp/Exception.pm
+    version: 0
   ExtUtils::XSpp::Exception::code:
     file: lib/ExtUtils/XSpp/Exception/code.pm
+    version: 0
   ExtUtils::XSpp::Exception::object:
     file: lib/ExtUtils/XSpp/Exception/object.pm
+    version: 0
   ExtUtils::XSpp::Exception::perlcode:
     file: lib/ExtUtils/XSpp/Exception/perlcode.pm
+    version: 0
   ExtUtils::XSpp::Exception::simple:
     file: lib/ExtUtils/XSpp/Exception/simple.pm
+    version: 0
   ExtUtils::XSpp::Exception::stdmessage:
     file: lib/ExtUtils/XSpp/Exception/stdmessage.pm
+    version: 0
   ExtUtils::XSpp::Exception::unknown:
     file: lib/ExtUtils/XSpp/Exception/unknown.pm
+    version: 0
   ExtUtils::XSpp::Grammar:
     file: lib/ExtUtils/XSpp/Grammar.pm
+    version: 0
   ExtUtils::XSpp::Grammar::YappDriver:
     file: lib/ExtUtils/XSpp/Grammar.pm
     version: 1.05
   ExtUtils::XSpp::Lexer:
     file: lib/ExtUtils/XSpp/Lexer.pm
+    version: 0
   ExtUtils::XSpp::Node:
     file: lib/ExtUtils/XSpp/Node.pm
+    version: 0
   ExtUtils::XSpp::Node::Access:
     file: lib/ExtUtils/XSpp/Node/Access.pm
+    version: 0
   ExtUtils::XSpp::Node::Argument:
     file: lib/ExtUtils/XSpp/Node/Argument.pm
+    version: 0
   ExtUtils::XSpp::Node::Class:
     file: lib/ExtUtils/XSpp/Node/Class.pm
+    version: 0
   ExtUtils::XSpp::Node::Comment:
     file: lib/ExtUtils/XSpp/Node/Comment.pm
+    version: 0
   ExtUtils::XSpp::Node::Constructor:
     file: lib/ExtUtils/XSpp/Node/Constructor.pm
+    version: 0
   ExtUtils::XSpp::Node::Destructor:
     file: lib/ExtUtils/XSpp/Node/Destructor.pm
+    version: 0
   ExtUtils::XSpp::Node::Enum:
     file: lib/ExtUtils/XSpp/Node/Enum.pm
+    version: 0
   ExtUtils::XSpp::Node::EnumValue:
     file: lib/ExtUtils/XSpp/Node/EnumValue.pm
+    version: 0
   ExtUtils::XSpp::Node::File:
     file: lib/ExtUtils/XSpp/Node/File.pm
+    version: 0
   ExtUtils::XSpp::Node::Function:
     file: lib/ExtUtils/XSpp/Node/Function.pm
+    version: 0
   ExtUtils::XSpp::Node::Method:
     file: lib/ExtUtils/XSpp/Node/Method.pm
+    version: 0
   ExtUtils::XSpp::Node::Module:
     file: lib/ExtUtils/XSpp/Node/Module.pm
+    version: 0
   ExtUtils::XSpp::Node::Package:
     file: lib/ExtUtils/XSpp/Node/Package.pm
+    version: 0
   ExtUtils::XSpp::Node::PercAny:
     file: lib/ExtUtils/XSpp/Node/PercAny.pm
+    version: 0
   ExtUtils::XSpp::Node::Preprocessor:
     file: lib/ExtUtils/XSpp/Node/Preprocessor.pm
+    version: 0
   ExtUtils::XSpp::Node::Raw:
     file: lib/ExtUtils/XSpp/Node/Raw.pm
+    version: 0
   ExtUtils::XSpp::Node::Type:
     file: lib/ExtUtils/XSpp/Node/Type.pm
+    version: 0
   ExtUtils::XSpp::Parser:
     file: lib/ExtUtils/XSpp/Parser.pm
+    version: 0
   ExtUtils::XSpp::Typemap:
     file: lib/ExtUtils/XSpp/Typemap.pm
+    version: 0
   ExtUtils::XSpp::Typemap::parsed:
     file: lib/ExtUtils/XSpp/Typemap/parsed.pm
+    version: 0
   ExtUtils::XSpp::Typemap::reference:
     file: lib/ExtUtils/XSpp/Typemap/reference.pm
+    version: 0
   ExtUtils::XSpp::Typemap::simple:
     file: lib/ExtUtils/XSpp/Typemap/simple.pm
+    version: 0
 requires:
   Digest::MD5: 2.0
   ExtUtils::ParseXS: 2.2202
   perl: v5.6.1
 resources:
   license: http://dev.perl.org/licenses/
-version: 0.1601
+version: 0.1602

Modified: trunk/libextutils-xspp-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-xspp-perl/debian/changelog?rev=75220&op=diff
==============================================================================
--- trunk/libextutils-xspp-perl/debian/changelog (original)
+++ trunk/libextutils-xspp-perl/debian/changelog Mon Jun  6 20:15:20 2011
@@ -1,3 +1,12 @@
+libextutils-xspp-perl (0.1602-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/copyright: Refer to "Debian systems" instead of "Debian GNU/Linux
+    systems".
+  * Bump Standards-Version to 3.9.2 (no changes).
+
+ -- Ansgar Burchardt <ansgar at debian.org>  Mon, 06 Jun 2011 22:15:03 +0200
+
 libextutils-xspp-perl (0.1601-1) unstable; urgency=low
 
   [ Jonathan Yu ]

Modified: trunk/libextutils-xspp-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-xspp-perl/debian/control?rev=75220&op=diff
==============================================================================
--- trunk/libextutils-xspp-perl/debian/control (original)
+++ trunk/libextutils-xspp-perl/debian/control Mon Jun  6 20:15:20 2011
@@ -9,7 +9,7 @@
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Ryan Niebur <ryan at debian.org>, Jonathan Yu <jawnsy at cpan.org>,
  gregor herrmann <gregoa at debian.org>, Ansgar Burchardt <ansgar at debian.org>
-Standards-Version: 3.9.1
+Standards-Version: 3.9.2
 Homepage: http://search.cpan.org/dist/ExtUtils-XSpp/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libextutils-xspp-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libextutils-xspp-perl/

Modified: trunk/libextutils-xspp-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-xspp-perl/debian/copyright?rev=75220&op=diff
==============================================================================
--- trunk/libextutils-xspp-perl/debian/copyright (original)
+++ trunk/libextutils-xspp-perl/debian/copyright Mon Jun  6 20:15:20 2011
@@ -36,8 +36,8 @@
  This program is free software; you can redistribute it and/or modify
  it under the terms of the Artistic License, which comes with Perl.
  .
- On Debian GNU/Linux systems, the complete text of the Artistic License
- can be found in `/usr/share/common-licenses/Artistic'.
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'.
 
 License: GPL-1+
  This program is free software; you can redistribute it and/or modify
@@ -45,5 +45,5 @@
  the Free Software Foundation; either version 1, or (at your option)
  any later version.
  .
- On Debian GNU/Linux systems, the complete text of version 1 of the
- General Public License can be found in `/usr/share/common-licenses/GPL-1'.
+ On Debian systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.

Added: trunk/libextutils-xspp-perl/debian/source/local-options
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-xspp-perl/debian/source/local-options?rev=75220&op=file
==============================================================================
--- trunk/libextutils-xspp-perl/debian/source/local-options (added)
+++ trunk/libextutils-xspp-perl/debian/source/local-options Mon Jun  6 20:15:20 2011
@@ -1,0 +1,2 @@
+abort-on-upstream-changes
+unapply-patches

Modified: trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp.pm?rev=75220&op=diff
==============================================================================
--- trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp.pm (original)
+++ trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp.pm Mon Jun  6 20:15:20 2011
@@ -5,6 +5,6 @@
 
 use ExtUtils::XSpp::Driver;
 
-our $VERSION = '0.1601';
+our $VERSION = '0.1602';
 
 1;

Modified: trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp/Node.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp/Node.pm?rev=75220&op=diff
==============================================================================
--- trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp/Node.pm (original)
+++ trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp/Node.pm Mon Jun  6 20:15:20 2011
@@ -62,7 +62,7 @@
 
     return $this->emit_condition if $this->emit_condition;
     return 'defined( ' . $this->condition . ' )' if $this->condition;
-    return undef;
+    return '1';
 }
 
 sub emit_condition { $_[0]->{EMIT_CONDITION} }

Modified: trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp/Node/Method.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp/Node/Method.pm?rev=75220&op=diff
==============================================================================
--- trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp/Node/Method.pm (original)
+++ trunk/libextutils-xspp-perl/lib/ExtUtils/XSpp/Node/Method.pm Mon Jun  6 20:15:20 2011
@@ -52,8 +52,16 @@
 
 =cut
 
-sub perl_function_name { $_[0]->class->cpp_name . '::' .
-                         $_[0]->perl_name }
+sub perl_function_name {
+    my( $self ) = @_;
+
+    if( $self->package_static ) {
+        return $self->perl_name;
+    } else {
+        return $self->class->cpp_name . '::' . $self->perl_name;
+    }
+}
+
 sub _call_code {
     my( $self ) = @_;
 

Modified: trunk/libextutils-xspp-perl/t/022_static.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-xspp-perl/t/022_static.t?rev=75220&op=diff
==============================================================================
--- trunk/libextutils-xspp-perl/t/022_static.t (original)
+++ trunk/libextutils-xspp-perl/t/022_static.t Mon Jun  6 20:15:20 2011
@@ -25,7 +25,7 @@
 MODULE=Foo PACKAGE=Foo
 
 int
-Foo::foo( int a )
+foo( int a )
   CODE:
     try {
       RETVAL = Foo::foo( a );




More information about the Pkg-perl-cvs-commits mailing list