Hello community,
here is the log from the commit of package perl-Getopt-Mixed for openSUSE:Factory checked in at 2013-06-06 13:22:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Getopt-Mixed (Old)
and /work/SRC/openSUSE:Factory/.perl-Getopt-Mixed.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Getopt-Mixed"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Getopt-Mixed/perl-Getopt-Mixed.changes 2011-11-21 12:40:38.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Getopt-Mixed.new/perl-Getopt-Mixed.changes 2013-06-06 13:22:03.000000000 +0200
@@ -1,0 +2,9 @@
+Wed Jun 5 05:47:49 UTC 2013 - coolo@suse.com
+
+- updated to 1.11
+ - No functional changes
+ - Minor documentation improvements
+ - Now built with Dist::Zilla (includes v2 META.json)
+ - Repository now publicly available on GitHub
+
+-------------------------------------------------------------------
Old:
----
Getopt-Mixed-1.10.tar.gz
New:
----
Getopt-Mixed-1.11.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Getopt-Mixed.spec ++++++
--- /var/tmp/diff_new_pack.w8Sh8L/_old 2013-06-06 13:22:03.000000000 +0200
+++ /var/tmp/diff_new_pack.w8Sh8L/_new 2013-06-06 13:22:03.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Getopt-Mixed
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -15,56 +15,71 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
-%define module Getopt-Mixed
Name: perl-Getopt-Mixed
-BuildRequires: perl-Test-Pod-Coverage
-BuildRequires: perl-macros
-Version: 1.10
-Release: 9
-Provides: Getopt-Mixed
-AutoReqProv: on
+Version: 1.11
+Release: 0
+%define cpan_name Getopt-Mixed
+Summary: getopt processing with both long and short options
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
-License: Artistic-1.0
-Summary: GNU-style option processing (long and short) for Perl
-Source: %{module}-%{version}.tar.gz
+Url: http://search.cpan.org/dist/Getopt-Mixed/
+Source: http://www.cpan.org/authors/id/C/CJ/CJM/%{cpan_name}-%{version}.tar.gz
+BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: perl
+BuildRequires: perl-macros
+#BuildRequires: perl(Getopt::Mixed)
%{perl_requires}
%description
-This module provides GNU-style option processing for Perl 5 scripts,
-with both long and short options.
+This module is obsolete.
+This package was my response to the standard modules Getopt::Std and
+Getopt::Long. 'Std' doesn't support long options, and 'Long' didn't support
+short options. I wanted both, since long options are easier to remember and
+short options are faster to type.
+
+However, some time ago Getopt::Long was changed to support short options as
+well, and it has the huge advantage of being part of the standard Perl
+distribution. So, Getopt::Mixed is now effectively obsolete. I don't intend
+to make any more changes, but I'm leaving it available for people who have
+code that already uses it. For new modules, I recommend using Getopt::Long
+like this:
+
+ use Getopt::Long;
+ Getopt::Long::Configure(qw(bundling no_getopt_compat));
+ GetOptions(...option-descriptions...);
+
+This package was intended to be the "Getopt-to-end-all-Getop's". It
+combines (I hope) flexibility and simplicity. It supports both short
+options (introduced by '-') and long options (introduced by '--'). Short
+options which do not take an argument can be grouped together. Short
+options which do take an argument must be the last option in their group,
+because everything following the option will be considered to be its
+argument.
-
-Authors:
---------
- Christopher J. Madsen
+There are two methods for using Getopt::Mixed: the simple method and the
+flexible method. Both methods use the same format for option descriptions.
%prep
-%setup -q -n %{module}-%{version}
+%setup -q -n %{cpan_name}-%{version}
+find . -type f -print0 | xargs -0 chmod 644
%build
-perl Makefile.PL
-make %{?_smp_mflags}
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
%check
-make test
+%{__make} test
%install
-make DESTDIR=%buildroot install_vendor
+%perl_make_install
%perl_process_packlist
+%perl_gen_filelist
-%clean
-rm -rf %buildroot
-
-%files
-%defattr(-, root, root)
-%doc README
-%doc %{_mandir}/man?/*
-%{perl_vendorlib}/Getopt
-%{perl_vendorarch}/auto/Getopt
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc Changes examples LICENSE README
%changelog
++++++ Getopt-Mixed-1.10.tar.gz -> Getopt-Mixed-1.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/Changes new/Getopt-Mixed-1.11/Changes
--- old/Getopt-Mixed-1.10/Changes 2007-03-22 00:49:39.000000000 +0100
+++ new/Getopt-Mixed-1.11/Changes 2012-08-25 17:34:33.000000000 +0200
@@ -1,21 +1,27 @@
Revision history for Perl extension Getopt::Mixed.
-1.10 Mar 21 2007
- - use strict
- - added pod.t & pod-coverage.t
- - moved example scripts to examples/ and make them use strict
-
-1.09 Mar 10 2007
- - Fix for running with taint checks turned on
- - Getopt::Mixed is now obsolete
- - updated my email address
- - now released under Perl's license terms
+1.11 August 25, 2012
+ - No functional changes
+ - Minor documentation improvements
+ - Now built with Dist::Zilla (includes v2 META.json)
+ - Repository now publicly available on GitHub
-1.008 Feb 08 1996
- - Performance enhancements and assorted fixes
+1.10 March 21, 2007
+ - Use strict
+ - Added pod.t & pod-coverage.t
+ - Moved example scripts to examples/ and make them use strict
-1.006 Jan 27 1996
- - Allows long options to be abbreviated
+1.09 March 10, 2007
+ - Fix for running with taint checks turned on
+ - Getopt::Mixed is now obsolete
+ - Updated my email address
+ - Now released under Perl's license terms
-1.005 Jan 18 1996
+1.008 February 8, 1996
+ - Performance enhancements and assorted fixes
+
+1.006 January 27, 1996
+ - Allows long options to be abbreviated
+
+1.005 January 18, 1996
- First public release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/LICENSE new/Getopt-Mixed-1.11/LICENSE
--- old/Getopt-Mixed-1.10/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/Getopt-Mixed-1.11/LICENSE 2012-08-25 17:34:33.000000000 +0200
@@ -0,0 +1,379 @@
+This software is copyright (c) 1995 by Christopher J. Madsen.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+Terms of the Perl programming language system itself
+
+a) the GNU General Public License as published by the Free
+ Software Foundation; either version 1, or (at your option) any
+ later version, or
+b) the "Artistic License"
+
+--- The GNU General Public License, Version 1, February 1989 ---
+
+This software is Copyright (c) 1995 by Christopher J. Madsen.
+
+This is free software, licensed under:
+
+ The GNU General Public License, Version 1, February 1989
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
+
+ Copyright (C) 1989 Free Software Foundation, Inc.
+ 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The license agreements of most software companies try to keep users
+at the mercy of those companies. By contrast, our General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. The
+General Public License applies to the Free Software Foundation's
+software and to any other program whose authors commit to using it.
+You can use it for your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Specifically, the General Public License is designed to make
+sure that you have the freedom to give away or sell copies of free
+software, that you receive source code or can get it if you want it,
+that you can change the software or use pieces of it in new free
+programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of a such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must tell them their rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any program or other work which
+contains a notice placed by the copyright holder saying it may be
+distributed under the terms of this General Public License. The
+"Program", below, refers to any such program or work, and a "work based
+on the Program" means either the Program or any work containing the
+Program or a portion of it, either verbatim or with modifications. Each
+licensee is addressed as "you".
+
+ 1. You may copy and distribute verbatim copies of the Program's source
+code as you receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice and
+disclaimer of warranty; keep intact all the notices that refer to this
+General Public License and to the absence of any warranty; and give any
+other recipients of the Program a copy of this General Public License
+along with the Program. You may charge a fee for the physical act of
+transferring a copy.
+
+ 2. You may modify your copy or copies of the Program or any portion of
+it, and copy and distribute such modifications under the terms of Paragraph
+1 above, provided that you also do the following:
+
+ a) cause the modified files to carry prominent notices stating that
+ you changed the files and the date of any change; and
+
+ b) cause the whole of any work that you distribute or publish, that
+ in whole or in part contains the Program or any part thereof, either
+ with or without modifications, to be licensed at no charge to all
+ third parties under the terms of this General Public License (except
+ that you may choose to grant warranty protection to some or all
+ third parties, at your option).
+
+ c) If the modified program normally reads commands interactively when
+ run, you must cause it, when started running for such interactive use
+ in the simplest and most usual way, to print or display an
+ announcement including an appropriate copyright notice and a notice
+ that there is no warranty (or else, saying that you provide a
+ warranty) and that users may redistribute the program under these
+ conditions, and telling the user how to view a copy of this General
+ Public License.
+
+ d) You may charge a fee for the physical act of transferring a
+ copy, and you may at your option offer warranty protection in
+ exchange for a fee.
+
+Mere aggregation of another independent work with the Program (or its
+derivative) on a volume of a storage or distribution medium does not bring
+the other work under the scope of these terms.
+
+ 3. You may copy and distribute the Program (or a portion or derivative of
+it, under Paragraph 2) in object code or executable form under the terms of
+Paragraphs 1 and 2 above provided that you also do one of the following:
+
+ a) accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ b) accompany it with a written offer, valid for at least three
+ years, to give any third party free (except for a nominal charge
+ for the cost of distribution) a complete machine-readable copy of the
+ corresponding source code, to be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ c) accompany it with the information you received as to where the
+ corresponding source code may be obtained. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form alone.)
+
+Source code for a work means the preferred form of the work for making
+modifications to it. For an executable file, complete source code means
+all the source code for all modules it contains; but, as a special
+exception, it need not include source code for modules which are standard
+libraries that accompany the operating system on which the executable
+file runs, or for standard header files or definitions files that
+accompany that operating system.
+
+ 4. You may not copy, modify, sublicense, distribute or transfer the
+Program except as expressly provided under this General Public License.
+Any attempt otherwise to copy, modify, sublicense, distribute or transfer
+the Program is void, and will automatically terminate your rights to use
+the Program under this License. However, parties who have received
+copies, or rights to use copies, from you under this General Public
+License will not have their licenses terminated so long as such parties
+remain in full compliance.
+
+ 5. By copying, distributing or modifying the Program (or any work based
+on the Program) you indicate your acceptance of this license to do so,
+and all its terms and conditions.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the original
+licensor to copy, distribute or modify the Program subject to these
+terms and conditions. You may not impose any further restrictions on the
+recipients' exercise of the rights granted herein.
+
+ 7. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of the license which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+the license, you may choose any version ever published by the Free Software
+Foundation.
+
+ 8. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to humanity, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these
+terms.
+
+ To do so, attach the following notices to the program. It is safest to
+attach them to the start of each source file to most effectively convey
+the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19xx name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the
+appropriate parts of the General Public License. Of course, the
+commands you use may be called something other than `show w' and `show
+c'; they could even be mouse-clicks or menu items--whatever suits your
+program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ program `Gnomovision' (a program to direct compilers to make passes
+ at assemblers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
+
+--- The Artistic License 1.0 ---
+
+This software is Copyright (c) 1995 by Christopher J. Madsen.
+
+This is free software, licensed under:
+
+ The Artistic License 1.0
+
+The Artistic License
+
+Preamble
+
+The intent of this document is to state the conditions under which a Package
+may be copied, such that the Copyright Holder maintains some semblance of
+artistic control over the development of the package, while giving the users of
+the package the right to use and distribute the Package in a more-or-less
+customary fashion, plus the right to make reasonable modifications.
+
+Definitions:
+
+ - "Package" refers to the collection of files distributed by the Copyright
+ Holder, and derivatives of that collection of files created through
+ textual modification.
+ - "Standard Version" refers to such a Package if it has not been modified,
+ or has been modified in accordance with the wishes of the Copyright
+ Holder.
+ - "Copyright Holder" is whoever is named in the copyright or copyrights for
+ the package.
+ - "You" is you, if you're thinking about copying or distributing this Package.
+ - "Reasonable copying fee" is whatever you can justify on the basis of media
+ cost, duplication charges, time of people involved, and so on. (You will
+ not be required to justify it to the Copyright Holder, but only to the
+ computing community at large as a market that must bear the fee.)
+ - "Freely Available" means that no fee is charged for the item itself, though
+ there may be fees involved in handling the item. It also means that
+ recipients of the item may redistribute it under the same conditions they
+ received it.
+
+1. You may make and give away verbatim copies of the source form of the
+Standard Version of this Package without restriction, provided that you
+duplicate all of the original copyright notices and associated disclaimers.
+
+2. You may apply bug fixes, portability fixes and other modifications derived
+from the Public Domain or from the Copyright Holder. A Package modified in such
+a way shall still be considered the Standard Version.
+
+3. You may otherwise modify your copy of this Package in any way, provided that
+you insert a prominent notice in each changed file stating how and when you
+changed that file, and provided that you do at least ONE of the following:
+
+ a) place your modifications in the Public Domain or otherwise make them
+ Freely Available, such as by posting said modifications to Usenet or an
+ equivalent medium, or placing the modifications on a major archive site
+ such as ftp.uu.net, or by allowing the Copyright Holder to include your
+ modifications in the Standard Version of the Package.
+
+ b) use the modified Package only within your corporation or organization.
+
+ c) rename any non-standard executables so the names do not conflict with
+ standard executables, which must also be provided, and provide a separate
+ manual page for each non-standard executable that clearly documents how it
+ differs from the Standard Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+4. You may distribute the programs of this Package in object code or executable
+form, provided that you do at least ONE of the following:
+
+ a) distribute a Standard Version of the executables and library files,
+ together with instructions (in the manual page or equivalent) on where to
+ get the Standard Version.
+
+ b) accompany the distribution with the machine-readable source of the Package
+ with your modifications.
+
+ c) accompany any non-standard executables with their corresponding Standard
+ Version executables, giving the non-standard executables non-standard
+ names, and clearly documenting the differences in manual pages (or
+ equivalent), together with instructions on where to get the Standard
+ Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+5. You may charge a reasonable copying fee for any distribution of this
+Package. You may charge any fee you choose for support of this Package. You
+may not charge a fee for this Package itself. However, you may distribute this
+Package in aggregate with other (possibly commercial) programs as part of a
+larger (possibly commercial) software distribution provided that you do not
+advertise this Package as a product of your own.
+
+6. The scripts and library files supplied as input to or produced as output
+from the programs of this Package do not automatically fall under the copyright
+of this Package, but belong to whomever generated them, and may be sold
+commercially, and may be aggregated with this Package.
+
+7. C or perl subroutines supplied by you and linked into this Package shall not
+be considered part of this Package.
+
+8. The name of the Copyright Holder may not be used to endorse or promote
+products derived from this software without specific prior written permission.
+
+9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+The End
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/MANIFEST new/Getopt-Mixed-1.11/MANIFEST
--- old/Getopt-Mixed-1.10/MANIFEST 2007-03-22 01:14:11.000000000 +0100
+++ new/Getopt-Mixed-1.11/MANIFEST 2012-08-25 17:34:33.000000000 +0200
@@ -1,12 +1,15 @@
-Changes History of changes
-examples/flexible Sample script demonstrating the flexible method
-examples/simple Sample script demonstrating the simple method
-lib/Getopt/Mixed.pm This file is the only one you really need
-Makefile.PL MakeMaker Makefile
-MANIFEST Please see MANIFEST
-README Overview of Getopt::Mixed & the sample scripts
-t/00.load.t Testing 1 ... 2 ... 3 ...
-t/10.getopt.t Testing 1 ... 2 ... 3 ...
-t/pod-coverage.t Check documentation for full coverage
-t/pod.t Check documentation for errors
-META.yml Module meta-data (added by MakeMaker)
+Changes
+LICENSE
+MANIFEST
+META.json
+META.yml
+Makefile.PL
+README
+examples/flexible
+examples/simple
+lib/Getopt/Mixed.pm
+t/00-all_prereqs.t
+t/00-load.t
+t/10-getopt.t
+t/release-pod-coverage.t
+t/release-pod-syntax.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/META.json new/Getopt-Mixed-1.11/META.json
--- old/Getopt-Mixed-1.10/META.json 1970-01-01 01:00:00.000000000 +0100
+++ new/Getopt-Mixed-1.11/META.json 2012-08-25 17:34:33.000000000 +0200
@@ -0,0 +1,224 @@
+{
+ "abstract" : "getopt processing with both long and short options",
+ "author" : [
+ "Christopher J. Madsen "
+ ],
+ "dynamic_config" : 0,
+ "generated_by" : "Dist::Zilla version 4.300021, CPAN::Meta::Converter version 2.120921",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "Getopt-Mixed",
+ "prereqs" : {
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "6.30"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "Carp" : "0",
+ "Exporter" : "0",
+ "perl" : "5.000"
+ }
+ },
+ "test" : {
+ "requires" : {
+ "Test::More" : "0"
+ }
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "repository" : {
+ "type" : "git",
+ "url" : "git://github.com/madsen/getopt-mixed.git",
+ "web" : "http://github.com/madsen/getopt-mixed"
+ }
+ },
+ "version" : "1.11",
+ "x_Dist_Zilla" : {
+ "plugins" : [
+ {
+ "class" : "Dist::Zilla::Plugin::VersionFromModule",
+ "name" : "CJM/VersionFromModule",
+ "version" : "0.08"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::GatherDir",
+ "name" : "CJM/GatherDir",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PruneCruft",
+ "name" : "CJM/PruneCruft",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ManifestSkip",
+ "name" : "CJM/ManifestSkip",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MetaJSON",
+ "name" : "CJM/MetaJSON",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MetaYAML",
+ "name" : "CJM/MetaYAML",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::License",
+ "name" : "CJM/License",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Test::PrereqsFromMeta",
+ "name" : "CJM/Test::PrereqsFromMeta",
+ "version" : "4.04"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PodSyntaxTests",
+ "name" : "CJM/PodSyntaxTests",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ExtraTests",
+ "name" : "CJM/ExtraTests",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PodLoom",
+ "config" : {
+ "Pod::Loom version" : "0.05"
+ },
+ "name" : "CJM/PodLoom",
+ "version" : "4.10"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MakeMaker",
+ "name" : "CJM/MakeMaker",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MetaConfig",
+ "name" : "CJM/MetaConfig",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MatchManifest",
+ "name" : "CJM/MatchManifest",
+ "version" : "4.00"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::RecommendedPrereqs",
+ "name" : "CJM/RecommendedPrereqs",
+ "version" : "4.06"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
+ "name" : "CJM/CheckPrereqsIndexed",
+ "version" : "0.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::GitVersionCheckCJM",
+ "name" : "CJM/GitVersionCheckCJM",
+ "version" : "4.03"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::TemplateCJM",
+ "name" : "CJM/TemplateCJM",
+ "version" : "4.10"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Repository",
+ "name" : "CJM/Repository",
+ "version" : "0.18"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Check",
+ "name" : "CJM/@Git/Check",
+ "version" : "1.121010"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Commit",
+ "name" : "CJM/@Git/Commit",
+ "version" : "1.121010"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Tag",
+ "name" : "CJM/@Git/Tag",
+ "version" : "1.121010"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Push",
+ "name" : "CJM/@Git/Push",
+ "version" : "1.121010"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::TestRelease",
+ "name" : "CJM/TestRelease",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::UploadToCPAN",
+ "name" : "CJM/UploadToCPAN",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ArchiveRelease",
+ "name" : "CJM/ArchiveRelease",
+ "version" : "4.00"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::AutoPrereqs",
+ "name" : "AutoPrereqs",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":InstallModules",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":IncModules",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":TestFiles",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":ExecFiles",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":ShareFiles",
+ "version" : "4.300021"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":MainModule",
+ "version" : "4.300021"
+ }
+ ],
+ "zilla" : {
+ "class" : "Dist::Zilla::Dist::Builder",
+ "config" : {
+ "is_trial" : "0"
+ },
+ "version" : "4.300021"
+ }
+ }
+}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/META.yml new/Getopt-Mixed-1.11/META.yml
--- old/Getopt-Mixed-1.10/META.yml 2007-03-22 01:14:11.000000000 +0100
+++ new/Getopt-Mixed-1.11/META.yml 2012-08-25 17:34:33.000000000 +0200
@@ -1,14 +1,163 @@
---- #YAML:1.0
-name: Getopt-Mixed
-version: 1.10
-abstract: getopt processing with both long and short options
-license: perl
-generated_by: ExtUtils::MakeMaker version 6.32
-distribution_type: module
-requires:
- Test::More: 0
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
+---
+abstract: 'getopt processing with both long and short options'
author:
- - Christopher J. Madsen
+ - 'Christopher J. Madsen '
+build_requires:
+ Test::More: 0
+configure_requires:
+ ExtUtils::MakeMaker: 6.30
+dynamic_config: 0
+generated_by: 'Dist::Zilla version 4.300021, 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: Getopt-Mixed
+requires:
+ Carp: 0
+ Exporter: 0
+ perl: 5.000
+resources:
+ repository: git://github.com/madsen/getopt-mixed.git
+version: 1.11
+x_Dist_Zilla:
+ plugins:
+ -
+ class: Dist::Zilla::Plugin::VersionFromModule
+ name: CJM/VersionFromModule
+ version: 0.08
+ -
+ class: Dist::Zilla::Plugin::GatherDir
+ name: CJM/GatherDir
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::PruneCruft
+ name: CJM/PruneCruft
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::ManifestSkip
+ name: CJM/ManifestSkip
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::MetaJSON
+ name: CJM/MetaJSON
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::MetaYAML
+ name: CJM/MetaYAML
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::License
+ name: CJM/License
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::Test::PrereqsFromMeta
+ name: CJM/Test::PrereqsFromMeta
+ version: 4.04
+ -
+ class: Dist::Zilla::Plugin::PodSyntaxTests
+ name: CJM/PodSyntaxTests
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::ExtraTests
+ name: CJM/ExtraTests
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::PodLoom
+ config:
+ Pod::Loom version: 0.05
+ name: CJM/PodLoom
+ version: 4.10
+ -
+ class: Dist::Zilla::Plugin::MakeMaker
+ name: CJM/MakeMaker
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::MetaConfig
+ name: CJM/MetaConfig
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::MatchManifest
+ name: CJM/MatchManifest
+ version: 4.00
+ -
+ class: Dist::Zilla::Plugin::RecommendedPrereqs
+ name: CJM/RecommendedPrereqs
+ version: 4.06
+ -
+ class: Dist::Zilla::Plugin::CheckPrereqsIndexed
+ name: CJM/CheckPrereqsIndexed
+ version: 0.006
+ -
+ class: Dist::Zilla::Plugin::GitVersionCheckCJM
+ name: CJM/GitVersionCheckCJM
+ version: 4.03
+ -
+ class: Dist::Zilla::Plugin::TemplateCJM
+ name: CJM/TemplateCJM
+ version: 4.10
+ -
+ class: Dist::Zilla::Plugin::Repository
+ name: CJM/Repository
+ version: 0.18
+ -
+ class: Dist::Zilla::Plugin::Git::Check
+ name: CJM/@Git/Check
+ version: 1.121010
+ -
+ class: Dist::Zilla::Plugin::Git::Commit
+ name: CJM/@Git/Commit
+ version: 1.121010
+ -
+ class: Dist::Zilla::Plugin::Git::Tag
+ name: CJM/@Git/Tag
+ version: 1.121010
+ -
+ class: Dist::Zilla::Plugin::Git::Push
+ name: CJM/@Git/Push
+ version: 1.121010
+ -
+ class: Dist::Zilla::Plugin::TestRelease
+ name: CJM/TestRelease
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::UploadToCPAN
+ name: CJM/UploadToCPAN
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::ArchiveRelease
+ name: CJM/ArchiveRelease
+ version: 4.00
+ -
+ class: Dist::Zilla::Plugin::AutoPrereqs
+ name: AutoPrereqs
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':InstallModules'
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':IncModules'
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':TestFiles'
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':ExecFiles'
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':ShareFiles'
+ version: 4.300021
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':MainModule'
+ version: 4.300021
+ zilla:
+ class: Dist::Zilla::Dist::Builder
+ config:
+ is_trial: 0
+ version: 4.300021
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/Makefile.PL new/Getopt-Mixed-1.11/Makefile.PL
--- old/Getopt-Mixed-1.10/Makefile.PL 2007-03-22 01:13:27.000000000 +0100
+++ new/Getopt-Mixed-1.11/Makefile.PL 2012-08-25 17:34:33.000000000 +0200
@@ -1,31 +1,54 @@
-#! /usr/bin/perl
-#---------------------------------------------------------------------
-# $Id: Makefile.PL 1712 2007-03-22 00:13:26Z cjm $
-# Copyright 2007 Christopher J. Madsen
-#
-# Makefile.PL for Getopt::Mixed
-#---------------------------------------------------------------------
-use ExtUtils::MakeMaker;
+use strict;
+use warnings;
-my @PREOP;
+use 5.000;
+
+use ExtUtils::MakeMaker 6.30;
-my $fixup = ($^O =~ /Win32/ ? 'cjm_fixup.bat' : './cjm_fixup.sh');
-if (-e $fixup) {
- @PREOP = (PREOP => "$fixup \$(DISTVNAME)");
-}
-WriteMakefile(
- NAME => 'Getopt::Mixed',
- AUTHOR => 'Christopher J. Madsen ',
- VERSION_FROM => 'lib/Getopt/Mixed.pm',
- ABSTRACT_FROM => 'lib/Getopt/Mixed.pm',
- LICENSE => 'perl',
- PL_FILES => {},
- PREREQ_PM => {
- 'Test::More' => 0,
- },
- dist => {COMPRESS => 'gzip -9f', SUFFIX => 'gz',
- @PREOP },
+my %WriteMakefileArgs = (
+ "ABSTRACT" => "getopt processing with both long and short options",
+ "AUTHOR" => "Christopher J. Madsen ",
+ "BUILD_REQUIRES" => {
+ "Test::More" => 0
+ },
+ "CONFIGURE_REQUIRES" => {
+ "ExtUtils::MakeMaker" => "6.30"
+ },
+ "DISTNAME" => "Getopt-Mixed",
+ "EXE_FILES" => [],
+ "LICENSE" => "perl",
+ "NAME" => "Getopt::Mixed",
+ "PREREQ_PM" => {
+ "Carp" => 0,
+ "Exporter" => 0
+ },
+ "VERSION" => "1.11",
+ "test" => {
+ "TESTS" => "t/*.t"
+ }
);
+
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
+ my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
+ my $pp = $WriteMakefileArgs{PREREQ_PM};
+ for my $mod ( keys %$br ) {
+ if ( exists $pp->{$mod} ) {
+ $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
+ }
+ else {
+ $pp->{$mod} = $br->{$mod};
+ }
+ }
+}
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+ unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
+WriteMakefile(%WriteMakefileArgs);
+
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/README new/Getopt-Mixed-1.11/README
--- old/Getopt-Mixed-1.10/README 2007-03-22 01:13:27.000000000 +0100
+++ new/Getopt-Mixed-1.11/README 2012-08-25 17:34:33.000000000 +0200
@@ -1,5 +1,5 @@
-Getopt::Mixed 1.10
-Copyright 1995 Christopher J. Madsen
+Getopt::Mixed version 1.11, released August 25, 2012
+
This module is obsolete.
@@ -37,3 +37,44 @@
Since these are just sample scripts, the options don't actually mean
anything. simple demonstrates the simple method of using
Getopt::Mixed, and flexible demonstrates the flexible method.
+
+
+
+INSTALLATION
+
+To install this module, run the following commands:
+
+ perl Makefile.PL
+ make
+ make test
+ make install
+
+
+
+DEPENDENCIES
+
+ Package Minimum Version
+ --------- ---------------
+ perl 5.000
+ Carp
+ Exporter
+
+
+
+CHANGES
+ Here's what's new in version 1.11 of Getopt-Mixed:
+ (See the file "Changes" for the full revision history.)
+
+ - No functional changes
+ - Minor documentation improvements
+ - Now built with Dist::Zilla (includes v2 META.json)
+ - Repository now publicly available on GitHub
+
+
+
+COPYRIGHT AND LICENSE
+
+This software is copyright (c) 1995 by Christopher J. Madsen.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/examples/flexible new/Getopt-Mixed-1.11/examples/flexible
--- old/Getopt-Mixed-1.10/examples/flexible 2007-03-22 01:13:27.000000000 +0100
+++ new/Getopt-Mixed-1.11/examples/flexible 2012-08-25 17:34:33.000000000 +0200
@@ -1,6 +1,6 @@
#! /usr/bin/perl
#---------------------------------------------------------------------
-# $Id: flexible 1712 2007-03-22 00:13:26Z cjm $
+# examples/flexible
#
# Demonstrate the flexible method of using Getopt::Mixed
#---------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/examples/simple new/Getopt-Mixed-1.11/examples/simple
--- old/Getopt-Mixed-1.10/examples/simple 2007-03-22 01:13:27.000000000 +0100
+++ new/Getopt-Mixed-1.11/examples/simple 2012-08-25 17:34:33.000000000 +0200
@@ -1,6 +1,6 @@
#! /usr/bin/perl
#---------------------------------------------------------------------
-# $Id: simple 1712 2007-03-22 00:13:26Z cjm $
+# examples/simple
#
# Demonstrate the flexible method of using Getopt::Mixed
#---------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/lib/Getopt/Mixed.pm new/Getopt-Mixed-1.11/lib/Getopt/Mixed.pm
--- old/Getopt-Mixed-1.10/lib/Getopt/Mixed.pm 2007-03-22 01:13:27.000000000 +0100
+++ new/Getopt-Mixed-1.11/lib/Getopt/Mixed.pm 2012-08-25 17:34:33.000000000 +0200
@@ -5,7 +5,6 @@
#
# Author: Christopher J. Madsen
# Created: 1 Jan 1995
-# $Id: Mixed.pm 1712 2007-03-22 00:13:26Z cjm $
#
# This program is free software; you can redistribute it and/or modify
# it under the same terms as Perl itself.
@@ -15,7 +14,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the
# GNU General Public License or the Artistic License for more details.
#
-# Process both single-character and extended options
+# ABSTRACT: getopt processing with both long and short options
#---------------------------------------------------------------------
require 5.000;
@@ -39,7 +38,7 @@
BEGIN
{
- $VERSION = '1.10';
+ $VERSION = '1.11';
# The permissible settings for $order:
$REQUIRE_ORDER = 0;
@@ -392,6 +391,11 @@
Getopt::Mixed - getopt processing with both long and short options
+=head1 VERSION
+
+This document describes version 1.11 of
+Getopt::Mixed, released August 25, 2012.
+
=head1 SYNOPSIS
use Getopt::Mixed;
@@ -569,7 +573,7 @@
First, you call Getopt::Mixed::init with the option descriptions.
Then, you keep calling nextOption until it returns an empty list.
Finally, you call Getopt::Mixed::cleanup when you're done. The
-remaining (non-option) arguments will be found in @ARGV.
+remaining (non-option) arguments will be found in C<@ARGV>.
Each call to nextOption returns a list of the next option, its value,
and the option as the user typed it. The value will be undefined if
@@ -643,17 +647,17 @@
=item $badOption
A reference to a function that is called when an unrecognized option
-is encountered. The function receives three arguments. $_[0] is the
-position in @ARGV where the option came from. $_[1] is the option as
-the user typed it (including the option start character). $_[2] is
+is encountered. The function receives three arguments. C<$_[0]> is the
+position in C<@ARGV> where the option came from. C<$_[1]> is the option as
+the user typed it (including the option start character). C<$_[2]> is
either undef or a string describing the reason the option was not
recognized (Currently, the only possible value is 'ambiguous', for a
long option with several possible matches). The option has already
-been removed from @ARGV. To put it back, you can say:
+been removed from C<@ARGV>. To put it back, you can say:
splice(@ARGV,$_[0],0,$_[1]);
-The function can do anything you want to @ARGV. It should return
+The function can do anything you want to C<@ARGV>. It should return
whatever you want nextOption to return.
The default is a function that prints an error message and exits the
@@ -662,20 +666,20 @@
=item $checkArg
A reference to a function that is called to make sure the argument
-type is correct. The function receives four arguments. $_[0] is the
-position in @ARGV where the option came from. $_[1] is the text
+type is correct. The function receives four arguments. C<$_[0]> is the
+position in C<@ARGV> where the option came from. C<$_[1]> is the text
following the option, or undefined if there was no text following the
-option. $_[2] is the name of the option as the user typed it
+option. C<$_[2]> is the name of the option as the user typed it
(including the option start character), suitable for error messages.
-$_[3] is the argument type specifier.
+C<$_[3]> is the argument type specifier.
-The function can do anything you want to @ARGV. It should return
+The function can do anything you want to C<@ARGV>. It should return
the value for this option.
The default is a function that prints an error message and exits the
program if the argument is not the right type for the option. You can
also adjust the behavior of the default function by changing
-$intRegexp or $floatRegexp.
+C<$intRegexp> or C<$floatRegexp>.
=item $intRegexp
@@ -707,12 +711,20 @@
=item $checkType
-If you add new types to $typeChars, you should set this to a function
+If you add new types to C<$typeChars>, you should set this to a function
which will check arguments of the new types.
=back
-=head1 BUGS
+=head1 CONFIGURATION AND ENVIRONMENT
+
+Getopt::Mixed requires no configuration files or environment variables.
+
+=head1 INCOMPATIBILITIES
+
+None reported.
+
+=head1 BUGS AND LIMITATIONS
=over 4
@@ -739,25 +751,50 @@
=back
-=head1 LICENSE
-
-Getopt::Mixed is distributed under the same terms as Perl itself.
-
-This means it is distributed in the hope that it will be useful, but
-I<without any warranty>; without even the implied warranty of
-I<merchantability> or I<fitness for a particular purpose>. See the
-GNU General Public License or the Artistic License for more details.
-
=head1 AUTHOR
-Christopher J. Madsen E<lt>F<perl AT cjmweb.net>E<gt>
+Christopher J. Madsen S>>
+
+Please report any bugs or feature requests
+to S>>
+or through the web interface at
+L<< http://rt.cpan.org/Public/Bug/Report.html?Queue=Getopt-Mixed >>.
-Please send bug reports to F<bug-Getopt-Mixed AT rt.cpan.org>, or
-use the web interface at
-Lhttp://rt.cpan.org/Public/Bug/Report.html?Queue=Getopt-Mixed
+You can follow or contribute to Getopt::Mixed's development at
+L<< http://github.com/madsen/getopt-mixed >>.
Thanks are also due to Andreas Koenig for helping Getopt::Mixed
conform to the standards for Perl modules and for answering a bunch of
questions. Any remaining deficiencies are my fault.
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 1995 by Christopher J. Madsen.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=head1 DISCLAIMER OF WARRANTY
+
+BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
+EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
+ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
+YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
+NECESSARY SERVICING, REPAIR, OR CORRECTION.
+
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE
+LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL,
+OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
+THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/t/00-all_prereqs.t new/Getopt-Mixed-1.11/t/00-all_prereqs.t
--- old/Getopt-Mixed-1.10/t/00-all_prereqs.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Getopt-Mixed-1.11/t/00-all_prereqs.t 2012-08-25 17:34:33.000000000 +0200
@@ -0,0 +1,91 @@
+#!perl
+
+use strict;
+use warnings;
+
+# This doesn't use Test::More because I don't want to clutter %INC
+# with modules that aren't prerequisites.
+
+my $test = 0;
+
+sub ok ($$)
+{
+ my ($ok, $name) = @_;
+
+ printf "%sok %d - %s\n", ($ok ? '' : 'not '), ++$test, $name;
+
+ return $ok;
+} # end ok
+
+END {
+ ok(0, 'unknown failure') unless $test;
+ print "1..$test\n";
+}
+
+sub get_version
+{
+ my ($package) = @_;
+
+ local $@;
+ my $version = eval { $package->VERSION };
+
+ defined $version ? $version : 'undef';
+} # end get_version
+
+TEST: {
+ ok(open(META, 'VERSION($version); 1";
+ if ($rel eq 'requires') {
+ ok($loaded, "loaded $prereq $version")
+ or printf STDERR "\n# Got: %s %s\n# Wanted: %s %s\n",
+ $prereq, get_version($prereq), $prereq, $version;
+ } else {
+ ok(1, ($loaded ? 'loaded' : 'failed to load') . " $prereq $version");
+ }
+ } # end while <META> in prerequisites
+ } # end while <META> in relationship
+ } # end while <META> in phase
+
+ close META;
+
+ # Print version of all loaded modules:
+ if ($ENV{AUTOMATED_TESTING}) {
+ print STDERR "# Listing %INC\n";
+
+ my @packages = grep { s/\.pm\Z// and do { s![\\/]!::!g; 1 } } sort keys %INC;
+
+ my $len = 0;
+ for (@packages) { $len = length if length > $len }
+ $len = 68 if $len > 68;
+
+ for my $package (@packages) {
+ printf STDERR "# %${len}s %s\n", $package, get_version($package);
+ }
+ } # end if AUTOMATED_TESTING
+} # end TEST
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/t/00-load.t new/Getopt-Mixed-1.11/t/00-load.t
--- old/Getopt-Mixed-1.10/t/00-load.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Getopt-Mixed-1.11/t/00-load.t 2012-08-25 17:34:33.000000000 +0200
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+#---------------------------------------------------------------------
+# 00-load.t
+#---------------------------------------------------------------------
+
+use Test::More tests => 1;
+
+BEGIN {
+use_ok( 'Getopt::Mixed' );
+}
+
+diag( "Testing Getopt::Mixed $Getopt::Mixed::VERSION" );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/t/00.load.t new/Getopt-Mixed-1.11/t/00.load.t
--- old/Getopt-Mixed-1.10/t/00.load.t 2007-03-11 00:10:52.000000000 +0100
+++ new/Getopt-Mixed-1.11/t/00.load.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-#! /usr/bin/perl
-#---------------------------------------------------------------------
-# $Id: 00.load.t 1673 2007-03-05 05:27:04Z cjm $
-#---------------------------------------------------------------------
-
-use Test::More tests => 1;
-
-BEGIN {
-use_ok( 'Getopt::Mixed' );
-}
-
-diag( "Testing Getopt::Mixed $Getopt::Mixed::VERSION" );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/t/10-getopt.t new/Getopt-Mixed-1.11/t/10-getopt.t
--- old/Getopt-Mixed-1.10/t/10-getopt.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Getopt-Mixed-1.11/t/10-getopt.t 2012-08-25 17:34:33.000000000 +0200
@@ -0,0 +1,49 @@
+#! /usr/bin/perl
+#---------------------------------------------------------------------
+# 10-getopt.t
+# Copyright 2002 Christopher J. Madsen
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the same terms as Perl itself.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the
+# GNU General Public License or the Artistic License for more details.
+#
+# Test the Getopt::Mixed module
+#---------------------------------------------------------------------
+######################### We start with some black magic to print on failure.
+
+BEGIN { $| = 1; print "1..7\n"; }
+END {print "not ok 1\n" unless $loaded;}
+use Getopt::Mixed 'getOptions';
+$loaded = 1;
+print "ok 1\n";
+
+######################### End of black magic.
+
+use vars qw($opt_apples $opt_apricots $opt_c $opt_d $opt_file);
+
+@ARGV = qw(-a4 -dNow --file foo bar);
+
+getOptions("apples=f a>apples apricots=f b:i c d:s file=s f>file pears=f",
+ "help ?>help version V>version");
+
+print 'not ' unless $opt_apples == 4;
+print "ok 2\n";
+
+print 'not ' unless $opt_d eq 'Now';
+print "ok 3\n";
+
+print 'not ' unless $opt_file eq 'foo';
+print "ok 4\n";
+
+print 'not ' if defined $opt_apricots;
+print "ok 5\n";
+
+print 'not ' unless $ARGV[0] eq 'bar';
+print "ok 6\n";
+
+print 'not ' if defined $opt_c;
+print "ok 7\n";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/t/10.getopt.t new/Getopt-Mixed-1.11/t/10.getopt.t
--- old/Getopt-Mixed-1.10/t/10.getopt.t 2007-03-11 00:10:52.000000000 +0100
+++ new/Getopt-Mixed-1.11/t/10.getopt.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,49 +0,0 @@
-#! /usr/bin/perl
-#---------------------------------------------------------------------
-# $Id: 10.getopt.t 1673 2007-03-05 05:27:04Z cjm $
-# Copyright 2002 Christopher J. Madsen
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the same terms as Perl itself.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the
-# GNU General Public License or the Artistic License for more details.
-#
-# Test the Getopt::Mixed module
-#---------------------------------------------------------------------
-######################### We start with some black magic to print on failure.
-
-BEGIN { $| = 1; print "1..7\n"; }
-END {print "not ok 1\n" unless $loaded;}
-use Getopt::Mixed 'getOptions';
-$loaded = 1;
-print "ok 1\n";
-
-######################### End of black magic.
-
-use vars qw($opt_apples $opt_apricots $opt_c $opt_d $opt_file);
-
-@ARGV = qw(-a4 -dNow --file foo bar);
-
-getOptions("apples=f a>apples apricots=f b:i c d:s file=s f>file pears=f",
- "help ?>help version V>version");
-
-print 'not ' unless $opt_apples == 4;
-print "ok 2\n";
-
-print 'not ' unless $opt_d eq 'Now';
-print "ok 3\n";
-
-print 'not ' unless $opt_file eq 'foo';
-print "ok 4\n";
-
-print 'not ' if defined $opt_apricots;
-print "ok 5\n";
-
-print 'not ' unless $ARGV[0] eq 'bar';
-print "ok 6\n";
-
-print 'not ' if defined $opt_c;
-print "ok 7\n";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/t/pod-coverage.t new/Getopt-Mixed-1.11/t/pod-coverage.t
--- old/Getopt-Mixed-1.10/t/pod-coverage.t 2007-03-22 01:13:27.000000000 +0100
+++ new/Getopt-Mixed-1.11/t/pod-coverage.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
-#! /usr/bin/perl -T
-#---------------------------------------------------------------------
-# $Id: pod-coverage.t 1712 2007-03-22 00:13:26Z cjm $
-#---------------------------------------------------------------------
-
-use Test::More;
-eval "use Test::Pod::Coverage 1.04";
-plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
-
-my @private = map { qr/^\Q$_\E$/ } qw(
- findMatch
-);
-
-my @trust = map { qr/^\Q$_\E$/ } qw(
- abortMsg badOption checkArg cleanup getOptions init nextOption
-);
-
-all_pod_coverage_ok({
- also_private => \@private,
- trustme => \@trust,
-});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/t/pod.t new/Getopt-Mixed-1.11/t/pod.t
--- old/Getopt-Mixed-1.10/t/pod.t 2007-03-22 01:13:27.000000000 +0100
+++ new/Getopt-Mixed-1.11/t/pod.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-#! /usr/bin/perl -T
-#---------------------------------------------------------------------
-# $Id: pod.t 1712 2007-03-22 00:13:26Z cjm $
-#---------------------------------------------------------------------
-
-use Test::More;
-eval "use Test::Pod 1.14";
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
-all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/t/release-pod-coverage.t new/Getopt-Mixed-1.11/t/release-pod-coverage.t
--- old/Getopt-Mixed-1.10/t/release-pod-coverage.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Getopt-Mixed-1.11/t/release-pod-coverage.t 2012-08-25 17:34:33.000000000 +0200
@@ -0,0 +1,29 @@
+#! /usr/bin/perl -T
+
+BEGIN {
+ unless ($ENV{RELEASE_TESTING}) {
+ require Test::More;
+ Test::More::plan(skip_all => 'these tests are for release candidate testing');
+ }
+}
+
+#---------------------------------------------------------------------
+# release-pod-coverage.t
+#---------------------------------------------------------------------
+
+use Test::More;
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
+
+my @private = map { qr/^\Q$_\E$/ } qw(
+ findMatch
+);
+
+my @trust = map { qr/^\Q$_\E$/ } qw(
+ abortMsg badOption checkArg cleanup getOptions init nextOption
+);
+
+all_pod_coverage_ok({
+ also_private => \@private,
+ trustme => \@trust,
+});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Getopt-Mixed-1.10/t/release-pod-syntax.t new/Getopt-Mixed-1.11/t/release-pod-syntax.t
--- old/Getopt-Mixed-1.10/t/release-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Getopt-Mixed-1.11/t/release-pod-syntax.t 2012-08-25 17:34:33.000000000 +0200
@@ -0,0 +1,15 @@
+#!perl
+
+BEGIN {
+ unless ($ENV{RELEASE_TESTING}) {
+ require Test::More;
+ Test::More::plan(skip_all => 'these tests are for release candidate testing');
+ }
+}
+
+use Test::More;
+
+eval "use Test::Pod 1.41";
+plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+
+all_pod_files_ok();
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org