pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-optparse Update ruby-optparse package to 0.12.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bde2cd72991d
branches:  trunk
changeset: 460402:bde2cd72991d
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Aug 30 07:42:58 2003 +0000

description:
Update ruby-optparse package to 0.12.

Fri Jan 31 02:44:08 2003  Nobuyoshi Nakada  <nobu.nokada%softhome.net@localhost>

        * optparse.rb (OptionParser::define): renamed from new.

Fri Jan 31 01:55:02 2003  Nobuyoshi Nakada  <nobu.nokada%softhome.net@localhost>

        * optparse.rb (OptionParser::List::accept): default pattern must
          not be nil.

        * optparse.rb (OptionParser::new_tail): arguments forgotten.

        * optparse.rb (OptionParser::inc, OptionParser::terminate): use
          Kernel#class instead of deprecated Kernel#type.

        * optparse.rb (OptionParser::ParseError::inspect): ditto.

        * optparse.rb (OptionParser::ParseError::reason): ditto.

Thu Jan 30 16:46:43 2003  Nobuyoshi Nakada  <nobu.nokada%softhome.net@localhost>

        * optparse.rb (OptionParser::Switch::PlacedArgument): added.  if
          the next argument doesn't start with '-', use it as the value.

        * optparse.rb (OptionParser::make_switch): fixed a bug of pattern.

        * optparse.rb (Array): no need to guard.

        * test_optparse.rb: added.

Sun Dec  1 23:04:03 2002  Nobuyoshi Nakada  <nobu.nokada%softhome.net@localhost>

        * optparse.rb (OptionParser::new): same as OptionParser#on but
          returns new OptionParser::switch.

Thu Aug  8 09:40:05 2002  Nobuyoshi Nakada  <nobu.nokada%softhome.net@localhost>

        * optparse.rb (NilClass): must provide conversion block.

        * optparse.rb (String): ditto.

Wed Aug  7 21:22:41 2002  Nobuyoshi Nakada  <nobu.nokada%softhome.net@localhost>

        * optparse.rb (OptionParser::Completion::convert): returned all
          values not first one.

        * optparse.rb (OptionParser::Switch::parse): return values as is.

        * optparse.rb (OptionParser::order): ditto.

        * optparse/time.rb: prior time.rb.

        * optparse/uri.rb: ditto.

Sat Mar 23 16:33:54 2002  Nobuyoshi Nakada  <nobu.nakada%nifty.ne.jp@localhost>

        * optparse.rb (OptionParser::switch): fixed `no' prefixed option.

Sat Mar 23 05:50:28 2002  Nobuyoshi Nakada  <nobu.nakada%nifty.ne.jp@localhost>

        * opttest.rb: use instance variables.

        * opttest.rb: add Time example.

Mon Mar 18 03:24:02 2002  Nobuyoshi Nakada  <nobu.nakada%nifty.ne.jp@localhost>

        * install.rb: changed manual suffix to 3r.

        * install.rb: default docdir with Revision.

Sun Mar 17 19:29:41 2002  Nobuyoshi Nakada  <nobu.nakada%nifty.ne.jp@localhost>

        * install.rb: added options, --man-install, --doc-install,
          --compression, --prefix, --list-only.

        * optparse.rb (OptionParser::Switch::-@): removed.

        * optparse.rb (OptionParser::List::update): added negated switch
          argument.

        * optparse.rb (OptionParser::banner): no newline at end of default
          banner, for easy concatination.

        * optparse.rb (OptionParser::to_str): append a newline unless
          teminated by it.

        * optparse.rb (OptionParser::switch): make negated switch here as
          NoArgument.

        * optparse.rb (OptionParser::order): not use $1, $2 and so on,
          thread unsafe special variables as possible.

        * optparse.rb (Acceptable argument class): no argument for
          (({Object})) came true, previous behavior is for (({NilClass}))
          now.

        * optparse.spec: many changes.

diffstat:

 devel/ruby-optparse/Makefile |  4 ++--
 devel/ruby-optparse/distinfo |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 83ad90fd3ef7 -r bde2cd72991d devel/ruby-optparse/Makefile
--- a/devel/ruby-optparse/Makefile      Sat Aug 30 07:29:53 2003 +0000
+++ b/devel/ruby-optparse/Makefile      Sat Aug 30 07:42:58 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2003/07/17 21:33:42 grant Exp $
+# $NetBSD: Makefile,v 1.5 2003/08/30 07:42:58 taca Exp $
 # FreeBSD: ports/devel/ruby-optparse/Makefile,v 1.10 2001/01/26 03:42:37 knu Exp
 
-DISTNAME=      optparse-0.8.6
+DISTNAME=      optparse-0.12
 PKGNAME=       ${RUBY_PKGNAMEPREFIX}${DISTNAME}
 CATEGORIES=    devel
 MASTER_SITES=  http://member.nifty.ne.jp/nokada/archive/
diff -r 83ad90fd3ef7 -r bde2cd72991d devel/ruby-optparse/distinfo
--- a/devel/ruby-optparse/distinfo      Sat Aug 30 07:29:53 2003 +0000
+++ b/devel/ruby-optparse/distinfo      Sat Aug 30 07:42:58 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2001/12/30 17:09:14 taca Exp $
+$NetBSD: distinfo,v 1.4 2003/08/30 07:42:59 taca Exp $
 
-SHA1 (ruby/optparse-0.8.6.tar.gz) = 9784e7f37e64bad37601e7c790a1787a1b70f22f
-Size (ruby/optparse-0.8.6.tar.gz) = 76353 bytes
+SHA1 (ruby/optparse-0.12.tar.gz) = 843444e1653582a4bc5a1e66760a64417f2650c8
+Size (ruby/optparse-0.12.tar.gz) = 77027 bytes



Home | Main Index | Thread Index | Old Index