Bug 128664 - [NEW PORT]devel/rubygem-main:A Class Factory and Dsl for Generating Command Line Programs
Summary: [NEW PORT]devel/rubygem-main:A Class Factory and Dsl for Generating Command L...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 06:30 UTC by wenheping
Modified: 2008-11-09 23:10 UTC (History)
0 users

See Also:


Attachments
file.shar (3.49 KB, text/plain)
2008-11-07 06:30 UTC, wenheping
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description wenheping 2008-11-07 06:30:02 UTC
main.rb features the following:
    - unification of option, argument, keyword, and environment
parameter parsing
    - auto generation of usage and help messages
    - support for mode/sub-commands
    - io redirection support
    - logging hooks using ruby's built-in logging mechanism
    - intelligent error handling and exit codes
    - use as dsl or library for building Main objects
    - parsing user defined ARGV and ENV
    - zero requirements for understanding the obtuse apis of any
command line option parsers
    - leather pants

  In short main.rb aims to drastically lower the barrier to writing
uniform command line applications.

WWW:    http://codeforpeople.com/lib/ruby/main/


(It require rubygem-arrayfields and rubygem-fattr:
http://www.freebsd.org/cgi/query-pr.cgi?pr=128662
http://www.freebsd.org/cgi/query-pr.cgi?pr=128663)

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2008-11-07 06:30:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2008-11-09 23:05:12 UTC
miwi        2008-11-09 23:05:04 UTC

  FreeBSD ports repository

  Modified files:
    devel                Makefile 
  Added files:
    devel/rubygem-main   Makefile distinfo pkg-descr 
  Log:
  main.rb features the following:
      - unification of option, argument, keyword, and environment
        parameter parsing
      - auto generation of usage and help messages
      - support for mode/sub-commands
      - io redirection support
      - logging hooks using ruby's built-in logging mechanism
      - intelligent error handling and exit codes
      - use as dsl or library for building Main objects
      - parsing user defined ARGV and ENV
      - zero requirements for understanding the obtuse apis of any
        command line option parsers
      - leather pants
  
    In short main.rb aims to drastically lower the barrier to writing
    uniform command line applications.
  
  WWW:    http://codeforpeople.com/lib/ruby/main/
  
  PR:             ports/128664
  Submitted by:   Wen Heping <wenheping at gmail.com>
  
  Revision  Changes    Path
  1.3241    +1 -0      ports/devel/Makefile
  1.1       +32 -0     ports/devel/rubygem-main/Makefile (new)
  1.1       +3 -0      ports/devel/rubygem-main/distinfo (new)
  1.1       +18 -0     ports/devel/rubygem-main/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer 2008-11-09 23:06:30 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!