r43539 - in /trunk/libb-utils-perl: Changes MANIFEST META.yml Makefile.PL README Utils.xs debian/changelog debian/control debian/copyright debian/rules inc/ lib/B/Utils.pm lib/B/Utils/OP.pm ppport.h t/00signature.t t/01pod.t xt/

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Thu Sep 3 00:52:46 UTC 2009


Author: jawnsy-guest
Date: Thu Sep  3 00:52:31 2009
New Revision: 43539

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=43539
Log:
* New upstream release
  + Now uses ppport.h for compatibility
* Standards-Version 3.8.3 (drop perl version dependency)
* Added myself to Uploaders and Copyright
* Added everyone from changelog into copyright file directly
* Use new short rules format
* Rewrote control file description

Added:
    trunk/libb-utils-perl/ppport.h
      - copied unchanged from r43538, branches/upstream/libb-utils-perl/current/ppport.h
    trunk/libb-utils-perl/xt/
      - copied from r43538, branches/upstream/libb-utils-perl/current/xt/
Removed:
    trunk/libb-utils-perl/inc/
    trunk/libb-utils-perl/t/00signature.t
    trunk/libb-utils-perl/t/01pod.t
Modified:
    trunk/libb-utils-perl/Changes
    trunk/libb-utils-perl/MANIFEST
    trunk/libb-utils-perl/META.yml
    trunk/libb-utils-perl/Makefile.PL
    trunk/libb-utils-perl/README
    trunk/libb-utils-perl/Utils.xs
    trunk/libb-utils-perl/debian/changelog
    trunk/libb-utils-perl/debian/control
    trunk/libb-utils-perl/debian/copyright
    trunk/libb-utils-perl/debian/rules
    trunk/libb-utils-perl/lib/B/Utils.pm
    trunk/libb-utils-perl/lib/B/Utils/OP.pm

Modified: trunk/libb-utils-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-utils-perl/Changes?rev=43539&op=diff
==============================================================================
--- trunk/libb-utils-perl/Changes (original)
+++ trunk/libb-utils-perl/Changes Thu Sep  3 00:52:31 2009
@@ -1,8 +1,21 @@
 Revision history for Perl extension B::Utils.
+
+0.08 Tue Sep 01 08:29:00 PDT 2009
+    - Add xt/version.t to keep all our version #s in sync
+    - Regenerate README
+    - Add disabled Test::PPPort
+    - Move author tests to xt/
+    - declare dep on 5.6 for installation
+    - Add .gitignore
+    - compatibility layer in Makefile.PL (Alexandr Ciornii)
+    - use configure_requires, good error messages in case of missing modules (Alexandr Ciornii)
+    - correct prereqs (Alexandr Ciornii)
+    - use ppport.h for compatibility (Alexandr Ciornii)
 
 0.07 Tue Nov 11 23:05:.. PDT 2008
     - Fixed a refactoring error in walkallops_simple. walkallops* was broken.
     - Avoided base.pm because that library is kind of nasty
+    - b94bf3bd96bc73320ebcc2def55bdec0dbd28663
 
 0.06 ???
     - Ask CLKAO
@@ -63,13 +76,16 @@
       all_roots' cache of functions can be cleared.
     - Added functions ->siblings, ->ancestors, ->descendants, and
       _uniq_ops.
+    - 9c7916e3748382aed046612e3100d92d8127b0c2
 
 0.05 Thu Nov 25 22:23:00 CST 2004
     - My birthday
     - Fixed infinite loop in ->parent
+    - ea3df10542f446b1afb9fa98c0a4e49896deb3ca
 
 0.04 Thu May  2 21:56:03 BST 2002
     - Various fixes to walkoptrees stuff.
+    - 9452f39d9b5968dacf85f6be8ba3c30e0d0d19af
 
 0.03  Wed Dec 12 22:20:07 GMT 2001
     - Fix up bad showstopper bug in ->kids()
@@ -78,8 +94,10 @@
 0.02  Wed Aug 15 07:03:21 2001
     - Fix up some horribly glaring bugs
     - Add opgrep, walk*, croak and carp
+    - 3f02e781e732d610bed0f39e4654ce28bd651d02
 
 0.01  Mon Aug  6 22:07:26 2001
-	- original version; created by h2xs 1.21 with options
-		-XA -n B::Utils
+    - original version; created by h2xs 1.21 with options
+        -XA -n B::Utils
+    - b94bf3bd96bc73320ebcc2def55bdec0dbd28663
 

Modified: trunk/libb-utils-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-utils-perl/MANIFEST?rev=43539&op=diff
==============================================================================
--- trunk/libb-utils-perl/MANIFEST (original)
+++ trunk/libb-utils-perl/MANIFEST Thu Sep  3 00:52:31 2009
@@ -2,7 +2,6 @@
 BUtils.h
 BUtils_op.h
 Changes
-inc/ExtUtils/Depends.pm
 lib/B/Utils.pm
 lib/B/Utils/OP.pm
 Makefile.PL
@@ -10,8 +9,6 @@
 META.yml
 OP.xs
 README
-t/00signature.t
-t/01pod.t
 t/10use.t
 t/11export.t
 t/utils/20all_starts.t
@@ -34,3 +31,6 @@
 t/utils/51croak.t
 typemap
 Utils.xs
+xt/signature.t
+xt/pod.t
+ppport.h

Modified: trunk/libb-utils-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-utils-perl/META.yml?rev=43539&op=diff
==============================================================================
--- trunk/libb-utils-perl/META.yml (original)
+++ trunk/libb-utils-perl/META.yml Thu Sep  3 00:52:31 2009
@@ -1,13 +1,31 @@
 --- #YAML:1.0
-name:                B-Utils
-version:             0.07
-abstract:            Helper functions for op tree manipulation
-license:             perl
-author:              
+name:               B-Utils
+version:            0.08
+abstract:           Helper functions for op tree manipulation
+author:
     - Joshua b. Jore <jjore at cpan.org>
-generated_by:        ExtUtils::MakeMaker version 6.42
-distribution_type:   module
-requires:     
+license:            perl
+distribution_type:  module
+configure_requires:
+    ExtUtils::Depends:  0.302
+build_requires:
+    ExtUtils::MakeMaker:  0
+requires:
+    Exporter:      0
+    perl:          5.006
+    Scalar::Util:  0
+    Task::Weaken:  0
+    Test::More:    0
+resources:
+    repository:  http://github.com/jbenjore/B-Utils/tree
+no_index:
+    directory:
+        - t
+        - inc
+generated_by:       ExtUtils::MakeMaker version 6.52
 meta-spec:
-    url:     http://module-build.sourceforge.net/META-spec-v1.3.html
-    version: 1.3
+    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
+    version:  1.4
+keywords:
+    - op tree
+    - perl internals

Modified: trunk/libb-utils-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-utils-perl/Makefile.PL?rev=43539&op=diff
==============================================================================
--- trunk/libb-utils-perl/Makefile.PL (original)
+++ trunk/libb-utils-perl/Makefile.PL Thu Sep  3 00:52:31 2009
@@ -1,5 +1,14 @@
-use lib 'inc';
-require ExtUtils::Depends;
+#!perl
+use 5.006;
+use strict;
+my $ExtUtils_Depends_required = 0.302; #minimum version that works on Win32+gcc
+eval {
+	require ExtUtils::Depends;
+};
+if ( $@ or ExtUtils::Depends->VERSION < $ExtUtils_Depends_required ) {
+	print "ExtUtils::Depends $ExtUtils_Depends_required is required to configure this module, please install it manually or upgrade your CPAN/CPANPLUS shell\n";
+	exit(0);
+}
 
 my $pkg = ExtUtils::Depends->new('B::Utils');
 
@@ -16,13 +25,53 @@
 
 use ExtUtils::MakeMaker;
 
-WriteMakefile(
+WriteMakefile1(
     NAME          => 'B::Utils',
     VERSION_FROM  => 'lib/B/Utils.pm',
-    PREREQ_PM     => {},
+    PREREQ_PM     => {
+        'Scalar::Util' => 0,
+        'Task::Weaken' => 0,
+        'Exporter'     => 0,
+    },
+    BUILD_REQUIRES => {
+        'Test::More' => 0,
+    },
+    CONFIGURE_REQUIRES => {
+        'ExtUtils::Depends' => $ExtUtils_Depends_required,
+    },
     ABSTRACT_FROM => 'lib/B/Utils.pm',
     AUTHOR        => 'Joshua b. Jore <jjore at cpan.org>',
     LICENSE       => 'perl',
+    MIN_PERL_VERSION => 5.006,
+    META_MERGE => {
+      resources => {
+        repository => 'http://github.com/jbenjore/B-Utils/tree',
+      },
+      keywords => ['op tree','perl internals'],
+    },
     test          => { TESTS => 't/*.t t/*/*.t' },
     $pkg->get_makefile_vars,
 );
+
+sub WriteMakefile1 {
+    my %params=@_;
+    my $eumm_version=$ExtUtils::MakeMaker::VERSION;
+    $eumm_version=eval $eumm_version;
+    die "EXTRA_META is deprecated" if exists $params{EXTRA_META};
+    die "License not specified" if not exists $params{LICENSE};
+    if ($params{BUILD_REQUIRES}) { #and $eumm_version < 6.5503
+        #Should be modified in future when EUMM will
+        #correctly support BUILD_REQUIRES.
+        #EUMM 6.5502 has problems with BUILD_REQUIRES
+        $params{PREREQ_PM}={ %{$params{PREREQ_PM} || {}} , %{$params{BUILD_REQUIRES}} };
+        delete $params{BUILD_REQUIRES};
+    }
+    delete $params{CONFIGURE_REQUIRES} if $eumm_version < 6.52;
+    delete $params{MIN_PERL_VERSION} if $eumm_version < 6.48;
+    delete $params{META_MERGE} if $eumm_version < 6.46;
+    delete $params{META_ADD} if $eumm_version < 6.46;
+    delete $params{LICENSE} if $eumm_version < 6.31;
+    delete $params{AUTHOR} if $] < 5.005;
+    delete $params{ABSTRACT_FROM} if $] < 5.005;
+    WriteMakefile(%params);
+}

Modified: trunk/libb-utils-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-utils-perl/README?rev=43539&op=diff
==============================================================================
--- trunk/libb-utils-perl/README (original)
+++ trunk/libb-utils-perl/README Thu Sep  3 00:52:31 2009
@@ -2,8 +2,7 @@
     B::Utils - Helper functions for op tree manipulation
 
 VERSION
-    0.05_07 - This is a dev version and is part of an effort to add tests,
-    functionality, and merge a fork from Module::Info.
+    0.08
 
 SYNOPSIS
       use B::Utils;
@@ -215,6 +214,9 @@
         "walkoptree_filtered" since that function was specifically
         documented to pass the tested op itself to the callback.
 
+        You cannot capture disjunctions, but that doesn't really make sense
+        anyway.
+
     "opgrep( \@conditions, @ops )"
         Same as above, except that you don't have to chain the conditions
         yourself. If you pass an array-ref, opgrep will chain the conditions
@@ -281,11 +283,28 @@
   EXPORT
     None by default.
 
+  XS EXPORT
+    This modules uses ExtUtils::Depends to export some useful functions for
+    XS modules to use. To use those, include in your Makefile.PL:
+
+      my $pkg = ExtUtils::Depends->new("Your::XSModule", "B::Utils");
+      WriteMakefile(
+        ... # your normal makefile flags
+        $pkg->get_makefile_vars,
+      );
+
+    Your XS module can now include BUtils.h and BUtils_op.h. To see document
+    for the functions provided, use:
+
+      perldoc -m B::Utils::Install::BUtils.h
+      perldoc -m B::Utils::Install::BUtils_op.h
+
 AUTHOR
     Originally written by Simon Cozens, "simon at cpan.org" Maintained by
     Joshua ben Jore, "jjore at cpan.org"
 
-    Contributions from Mattia Barbon, Jim Cromie, and Steffen Mueller.
+    Contributions from Mattia Barbon, Jim Cromie, Steffen Mueller, and
+    Chia-liang Kao.
 
 LICENSE
     This module is free software; you can redistribute it and/or modify it

Modified: trunk/libb-utils-perl/Utils.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-utils-perl/Utils.xs?rev=43539&op=diff
==============================================================================
--- trunk/libb-utils-perl/Utils.xs (original)
+++ trunk/libb-utils-perl/Utils.xs Thu Sep  3 00:52:31 2009
@@ -2,6 +2,7 @@
 #include "perl.h"
 #include "XSUB.h"
 #include "BUtils.h"
+#include "ppport.h"
 
 /* After 5.10, the CxLVAL macro was added. */
 #ifndef CxLVAL

Modified: trunk/libb-utils-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-utils-perl/debian/changelog?rev=43539&op=diff
==============================================================================
--- trunk/libb-utils-perl/debian/changelog (original)
+++ trunk/libb-utils-perl/debian/changelog Thu Sep  3 00:52:31 2009
@@ -1,8 +1,15 @@
-libb-utils-perl (0.07-2) UNRELEASED; urgency=low
+libb-utils-perl (0.08-1) UNRELEASED; urgency=low
 
+  * New upstream release
+    + Now uses ppport.h for compatibility
   * Removed Alexis Sukrieh from Uploaders (Closes: #536125)
+  * Standards-Version 3.8.3 (drop perl version dependency)
+  * Added myself to Uploaders and Copyright
+  * Added everyone from changelog into copyright file directly
+  * Use new short rules format
+  * Rewrote control file description
 
- -- Jonathan Yu <frequency at cpan.org>  Tue, 07 Jul 2009 11:14:56 -0400
+ -- Jonathan Yu <jawnsy at cpan.org>  Wed, 02 Sep 2009 16:40:43 -0400
 
 libb-utils-perl (0.07-1) unstable; urgency=low
 

Modified: trunk/libb-utils-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-utils-perl/debian/control?rev=43539&op=diff
==============================================================================
--- trunk/libb-utils-perl/debian/control (original)
+++ trunk/libb-utils-perl/debian/control Thu Sep  3 00:52:31 2009
@@ -1,11 +1,11 @@
 Source: libb-utils-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7), perl (>= 5.8.8-7), libtest-pod-perl
+Build-Depends: debhelper (>= 7), perl, libtest-pod-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Damyan Ivanov <dmn at debian.org>,
+Uploaders: Damyan Ivanov <dmn at debian.org>, Jonathan Yu <jawnsy at cpan.org>,
  gregor herrmann <gregoa at debian.org>
-Standards-Version: 3.8.0
+Standards-Version: 3.8.3
 Homepage: http://search.cpan.org/dist/B-Utils/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libb-utils-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libb-utils-perl/
@@ -13,5 +13,8 @@
 Package: libb-utils-perl
 Architecture: any
 Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
-Description:  Helper functions for op tree manipulation
- These functions make it easier to manipulate the op tree.
+Description: Perl module assisting with op tree manipulation
+ B::Utils contains a variety of functions which make it easier to manipulate
+ perl's op tree. It provides many commonly used features like stringification
+ of operations, determining ancestors and predecessors, etc. It also provides
+ several ways to walk the entire op tree.

Modified: trunk/libb-utils-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-utils-perl/debian/copyright?rev=43539&op=diff
==============================================================================
--- trunk/libb-utils-perl/debian/copyright (original)
+++ trunk/libb-utils-perl/debian/copyright Thu Sep  3 00:52:31 2009
@@ -10,13 +10,22 @@
 License: Artistic | GPL-1+
 
 Files: lib/B/Utils/OP.pm
-Copyright: 2008 by Chia-liang Kao
+Copyright: 2008, Chia-liang Kao <clkao at clkao.org>
 License-Alias: Perl
 License: Artistic | GPL-1+
 
 Files: debian/*
-Copyright: 2007-2008, various members of the Debian Perl Group, cf.
- debian/changelog
+Copyright: 2009, Jonathan Yu <jawnsy at cpan.org>
+ 2008, gregor herrmann <gregoa at debian.org>
+ 2007-2008, Damyan Ivanov <dmn at debian.org>
+ 2007, Alexis Sukrieh <sukria at debian.org>
+License: Artistic | GPL-1+
+
+Files: inc/Module/*
+Copyright: 2002-2009, Adam Kennedy <adamk at cpan.org>
+ 2002-2009, Audrey Tang <autrijus at autrijus.org>
+ 2002-2009, Brian Ingerson <ingy at cpan.org>
+License-Alias: Perl
 License: Artistic | GPL-1+
 
 License: Artistic

Modified: trunk/libb-utils-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-utils-perl/debian/rules?rev=43539&op=diff
==============================================================================
--- trunk/libb-utils-perl/debian/rules (original)
+++ trunk/libb-utils-perl/debian/rules Thu Sep  3 00:52:31 2009
@@ -1,23 +1,4 @@
 #!/usr/bin/make -f
 
-build: build-stamp
-build-stamp:
-	dh build
-	touch $@
-
-clean:
+%:
 	dh $@
-
-install: install-stamp
-install-stamp: build-stamp
-	dh install
-	touch $@
-
-binary-arch: install
-	dh $@
-
-binary-indep:
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build

Modified: trunk/libb-utils-perl/lib/B/Utils.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-utils-perl/lib/B/Utils.pm?rev=43539&op=diff
==============================================================================
--- trunk/libb-utils-perl/lib/B/Utils.pm (original)
+++ trunk/libb-utils-perl/lib/B/Utils.pm Thu Sep  3 00:52:31 2009
@@ -20,13 +20,21 @@
 
 B::Utils - Helper functions for op tree manipulation
 
+=cut
+
+
+# NOTE: The pod/code version here and in README are computer checked
+# by xt/version.t. Keep them in sync.
+
 =head1 VERSION
 
-0.07
-
-=cut
-
-$VERSION = '0.07';
+0.08
+
+=cut
+
+$VERSION = '0.08';
+
+
 
 use base 'DynaLoader';
 bootstrap B::Utils $VERSION;
@@ -1100,7 +1108,7 @@
 Maintained by Joshua ben Jore, C<jjore at cpan.org>
 
 Contributions from Mattia Barbon, Jim Cromie, Steffen Mueller, and
-Chia-liang Kao.
+Chia-liang Kao, Alexandr Ciornii.
 
 =head1 LICENSE
 

Modified: trunk/libb-utils-perl/lib/B/Utils/OP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-utils-perl/lib/B/Utils/OP.pm?rev=43539&op=diff
==============================================================================
--- trunk/libb-utils-perl/lib/B/Utils/OP.pm (original)
+++ trunk/libb-utils-perl/lib/B/Utils/OP.pm Thu Sep  3 00:52:31 2009
@@ -8,7 +8,7 @@
 
 our @ISA = 'Exporter';
 require Exporter;
-our $VERSION = '0.07';
+our $VERSION = '0.08';
 our @EXPORT = qw(parent_op return_op);
 
 




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