Hello community,

here is the log from the commit of package perl-MooseX-Getopt for 
openSUSE:Factory
checked in at Thu Jul 21 10:03:30 CEST 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/perl-MooseX-Getopt/perl-MooseX-Getopt.changes  
2011-06-04 23:07:13.000000000 +0200
@@ -0,0 +1,81 @@
+-------------------------------------------------------------------
+Sat Jun  4 21:06:15 UTC 2011 - [email protected]
+
+- fix build for distributions with old Test::More module
+  ( perl-MooseX-Getopt-use_lib.patch )
+
+-------------------------------------------------------------------
+Fri Apr 15 09:19:42 UTC 2011 - [email protected]
+
+- updated to 0.37
+    * Fix missing dependency. (RT#67077)
+    * Fix dist.ini 'Prereq' into 'Prereqs' (Damien Krotkine)
+    * MooseX::Getopt::GLD
+      - change it to a MooseX::Role::Parameterized, so that it accepts
+        'getopt_conf' parameter (Damien Krotkine)
+    * Fix missed change from Test::Exception to Test::Fatal
+    * The test suite now uses Test::Fatal instead of Test::Exception. (Karen
+      Etheridge)
+    * Move most of new_with_options logic into separate publically
+      accessible process_argv method, so that arg processing can be
+      done without actually creating object (Jonathan Swartz)
+
+-------------------------------------------------------------------
+Wed Dec  1 13:33:49 UTC 2010 - [email protected]
+
+- switch to perl_requires macro
+
+-------------------------------------------------------------------
+Mon Nov 29 18:30:37 UTC 2010 - [email protected]
+
+- remove /var/adm/perl-modules
+
+-------------------------------------------------------------------
+Thu Aug 26 18:56:03 UTC 2010 - [email protected]
+
+- update to 0.33:
+  * remove Test::Most from newly added test (RT#60766)
+
+-------------------------------------------------------------------
+Thu Aug 26 12:18:43 UTC 2010 - [email protected]
+
+- update to 0.32:
+  * fix handling of Union types (RT#58417)
+
+- changes from 0.31:
+  * fix issue causing tests to fail if MooseX::SimpleConfig isn't installed
+
+- changes from 0.30:
+  * MooseX::Getopt::Basic
+    - uses attribute insertion order when determining the order in which 
options are documented in the usage (e.g. in $obj->usage->text)
+  * MooseX::Getopt::Basic
+    - store the usage object to the usage attr (RT#58715)
+    - properly checks whether the *option* --help, --usage, or --? were used, 
rather than the attribute 'help', 'usage' or '?' were set
+  * MooseX::Getopt::GLD
+    - add the usage attribute for storing the Getopt::Long::Descriptive::Usage 
object, and the help attribute for storing --help, --usage and --? state 
(RT#47865, RT#56783, RT#52474)
+  * MooseX::Getopt::Basic
+    - disable auto_help config in Getopt::Long, to avoid calling into 
pod2usage when the --help option is used while MooseX::ConfigFromFile is in use 
(the intent is just to fetch the value of the configfile option) (RT#57683)
+
+- changes from 0.29:
+  * fix repository metadata
+
+- changes from 0.28:
+  * MooseX::Getopt::Strict
+    - make it work with Getopt attribute traits in addition to attribute 
metaclasses
+
+- changes from 0.27:
+  * bump dependency to Getopt::Long::Descriptive to 0.081 in an attempt to 
avoid test failures
+  * MooseX::Getopt::Dashes
+    - document that using a cmd_flag argument to attributes can be used to 
override the tr/_/-/ replacement ::Dashes does on attribute names
+
+-------------------------------------------------------------------
+Tue Feb  9 00:00:00 UTC 2010 - [email protected]
+
+- Re-added tests since there's now an updated Test::More available
+
+
+-------------------------------------------------------------------
+Tue Jan 12 00:00:00 UTC 2010 - [email protected]
+
+- Specfile autogenerated by cpanspec 1.78.
+

calling whatdependson for head-i586


New:
----
  MooseX-Getopt-0.37.tar.gz
  perl-MooseX-Getopt-use_lib.patch
  perl-MooseX-Getopt.changes
  perl-MooseX-Getopt.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-MooseX-Getopt.spec ++++++
#
# spec file for package perl-MooseX-Getopt
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           perl-MooseX-Getopt
Version:        0.37
Release:        1
License:        GPL+ or Artistic
%define cpan_name MooseX-Getopt
Summary:        A Moose role for processing command line options
Url:            http://search.cpan.org/dist/MooseX-Getopt/
Group:          Development/Libraries/Perl
Source:         
http://www.cpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz
Patch1:         perl-MooseX-Getopt-use_lib.patch 
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Getopt::Long) >= 2.37
BuildRequires:  perl(Getopt::Long::Descriptive) >= 0.081
BuildRequires:  perl(Moose) >= 0.56
BuildRequires:  perl(MooseX::Role::Parameterized)
BuildRequires:  perl(Test::Fatal) >= 0.003
BuildRequires:  perl(Test::More) >= 0.88
BuildRequires:  perl(Test::Requires) >= 0.05
BuildRequires:  perl(Test::Warn) >= 0.21
Requires:       perl(Getopt::Long) >= 2.37
Requires:       perl(Getopt::Long::Descriptive) >= 0.081
Requires:       perl(Moose) >= 0.56
Requires:       perl(MooseX::Role::Parameterized)
%{perl_requires}

%description
This is a role which provides an alternate constructor for creating objects
using parameters passed in from the command line.

This module attempts to DWIM as much as possible with the command line
params by introspecting your class's attributes. It will use the name of
your attribute as the command line option, and if there is a type
constraint defined, it will configure Getopt::Long to handle the option
accordingly.

You can use the trait the MooseX::Getopt::Meta::Attribute::Trait manpage or
the attribute metaclass the MooseX::Getopt::Meta::Attribute manpage to get
non-default commandline option names and aliases.

You can use the trait the MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
manpage or the attribute metaclass the
MooseX::Getopt::Meta::Attribute::NoGetopt manpage to have 'MooseX::Getopt'
ignore your attribute in the commandline options.

By default, attributes which start with an underscore are not given
commandline argument support, unless the attribute's metaclass is set to
the MooseX::Getopt::Meta::Attribute manpage. If you don't want your
accessors to have the leading underscore in their name, you can do this:

  # for read/write attributes
  has '_foo' => (accessor => 'foo', ...);

  # or for read-only attributes
  has '_bar' => (reader => 'bar', ...);

This will mean that Getopt will not handle a --foo param, but your code can
still call the 'foo' method.

If your class also uses a configfile-loading role based on the
MooseX::ConfigFromFile manpage, such as the MooseX::SimpleConfig manpage,
the MooseX::Getopt manpage's 'new_with_options' will load the configfile
specified by the '--configfile' option (or the default you've given for the
configfile attribute) for you.

Options specified in multiple places follow the following precendence
order: commandline overrides configfile, which overrides explicit
new_with_options parameters.

%prep
%setup -q -n %{cpan_name}-%{version}
%if 0%{?suse_version} <= 1110
%patch1 -p1
sed -i "s|__vendorperl__|%{perl_vendorlib}|g" Makefile.PL t/*.t
%endif

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%check
%{__make} test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%clean
%{__rm} -rf %{buildroot}

%files -f %{name}.files
%defattr(-,root,root,755)
%doc ChangeLog LICENSE README

%changelog
++++++ perl-MooseX-Getopt-use_lib.patch ++++++
Index: MooseX-Getopt-0.37/Makefile.PL
===================================================================
--- MooseX-Getopt-0.37.orig/Makefile.PL
+++ MooseX-Getopt-0.37/Makefile.PL
@@ -1,7 +1,7 @@
 
 use strict;
 use warnings;
-
+use lib '__vendorperl__';
 
 
 use ExtUtils::MakeMaker 6.31;
Index: MooseX-Getopt-0.37/t/000_load.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/000_load.t
+++ MooseX-Getopt-0.37/t/000_load.t
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-
+use lib '__vendorperl__';
 use Test::More tests => 1;
 
 BEGIN {
Index: MooseX-Getopt-0.37/t/001_basic.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/001_basic.t
+++ MooseX-Getopt-0.37/t/001_basic.t
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-
+use lib '__vendorperl__';
 use Test::More tests => 69;
 
 BEGIN {
Index: MooseX-Getopt-0.37/t/006_metaclass_traits.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/006_metaclass_traits.t
+++ MooseX-Getopt-0.37/t/006_metaclass_traits.t
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-
+use lib '__vendorperl__';
 use Test::More tests => 69;
 use Test::Moose;
 
Index: MooseX-Getopt-0.37/t/008_configfromfile.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/008_configfromfile.t
+++ MooseX-Getopt-0.37/t/008_configfromfile.t
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-
+use lib '__vendorperl__';
 use Test::More tests => 37;
 use Test::Fatal;
 use File::Spec;
Index: MooseX-Getopt-0.37/t/011_process_argv.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/011_process_argv.t
+++ MooseX-Getopt-0.37/t/011_process_argv.t
@@ -3,6 +3,7 @@
 use strict;
 use warnings;
 
+use lib '__vendorperl__';
 use Test::More;
 use Test::Fatal 0.003;
 
Index: MooseX-Getopt-0.37/t/102_basic_basic.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/102_basic_basic.t
+++ MooseX-Getopt-0.37/t/102_basic_basic.t
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-
+use lib '__vendorperl__';
 use Test::More tests => 69;
 
 BEGIN {
Index: MooseX-Getopt-0.37/t/104_override_usage.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/104_override_usage.t
+++ MooseX-Getopt-0.37/t/104_override_usage.t
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+use lib '__vendorperl__';
 use Test::More 0.88;
 use Test::Fatal;
 
Index: MooseX-Getopt-0.37/t/105_uc_bug_more.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/105_uc_bug_more.t
+++ MooseX-Getopt-0.37/t/105_uc_bug_more.t
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+use lib '__vendorperl__';
 use Test::More;
 use Moose ();
 use Moose::Meta::Class;
Index: MooseX-Getopt-0.37/t/106_no_ignore_case.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/106_no_ignore_case.t
+++ MooseX-Getopt-0.37/t/106_no_ignore_case.t
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+use lib '__vendorperl__';
 use Test::More;
 use Moose ();
 use Moose::Meta::Class;
Index: MooseX-Getopt-0.37/t/107_no_auto_help.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/107_no_auto_help.t
+++ MooseX-Getopt-0.37/t/107_no_auto_help.t
@@ -10,6 +10,7 @@
 use strict;
 use warnings;
 
+use lib '__vendorperl__';
 use Test::More;
 
 use Test::Requires {
Index: MooseX-Getopt-0.37/t/107_union_bug.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/107_union_bug.t
+++ MooseX-Getopt-0.37/t/107_union_bug.t
@@ -3,6 +3,7 @@
 use strict;
 use warnings;
 
+use lib '__vendorperl__';
 use Test::More;
 
 {
Index: MooseX-Getopt-0.37/t/release-eol.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/release-eol.t
+++ MooseX-Getopt-0.37/t/release-eol.t
@@ -8,6 +8,7 @@ BEGIN {
 
 use strict;
 use warnings;
+use lib '__vendorperl__';
 use Test::More;
 
 eval 'use Test::EOL';
Index: MooseX-Getopt-0.37/t/release-no-tabs.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/release-no-tabs.t
+++ MooseX-Getopt-0.37/t/release-no-tabs.t
@@ -8,6 +8,7 @@ BEGIN {
 
 use strict;
 use warnings;
+use lib '__vendorperl__';
 use Test::More;
 
 eval 'use Test::NoTabs';
Index: MooseX-Getopt-0.37/t/release-pod-coverage.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/release-pod-coverage.t
+++ MooseX-Getopt-0.37/t/release-pod-coverage.t
@@ -8,6 +8,7 @@ BEGIN {
 }
 
 
+use lib '__vendorperl__';
 use Test::More;
 
 eval "use Test::Pod::Coverage 1.08";
Index: MooseX-Getopt-0.37/t/release-pod-syntax.t
===================================================================
--- MooseX-Getopt-0.37.orig/t/release-pod-syntax.t
+++ MooseX-Getopt-0.37/t/release-pod-syntax.t
@@ -7,6 +7,7 @@ BEGIN {
   }
 }
 
+use lib '__vendorperl__';
 use Test::More;
 
 eval "use Test::Pod 1.41";

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to