pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ruby-optimist
Module Name: pkgsrc
Committed By: taca
Date: Fri Nov 11 13:58:38 UTC 2022
Added Files:
pkgsrc/devel/ruby-optimist: DESCR Makefile PLIST distinfo
Log Message:
devel/ruby-optimist: add package version 3.0.1
Required by ruby-lolcat package.
optimist
Description
Optimist is a commandline option parser for Ruby that just gets out of your
way. One line of code per option is all you need to write. For that, you
get a nice automatically-generated help page, robust option parsing, and
sensible defaults for everything you don't specify.
Features
* Dirt-simple usage.
* Single file. Throw it in lib/ if you don't want to make it a Rubygem
dependency.
* Sensible defaults. No tweaking necessary, much tweaking possible.
* Support for long options, short options, subcommands, and automatic type
validation and conversion.
* Automatic help message generation, wrapped to current screen width.
Requirements
* A burning desire to write less code.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ruby-optimist/DESCR \
pkgsrc/devel/ruby-optimist/Makefile pkgsrc/devel/ruby-optimist/PLIST \
pkgsrc/devel/ruby-optimist/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/ruby-optimist/DESCR
diff -u /dev/null pkgsrc/devel/ruby-optimist/DESCR:1.1
--- /dev/null Fri Nov 11 13:58:38 2022
+++ pkgsrc/devel/ruby-optimist/DESCR Fri Nov 11 13:58:38 2022
@@ -0,0 +1,22 @@
+optimist
+
+Description
+
+Optimist is a commandline option parser for Ruby that just gets out of your
+way. One line of code per option is all you need to write. For that, you
+get a nice automatically-generated help page, robust option parsing, and
+sensible defaults for everything you don't specify.
+
+Features
+
+* Dirt-simple usage.
+* Single file. Throw it in lib/ if you don't want to make it a Rubygem
+ dependency.
+* Sensible defaults. No tweaking necessary, much tweaking possible.
+* Support for long options, short options, subcommands, and automatic type
+ validation and conversion.
+* Automatic help message generation, wrapped to current screen width.
+
+Requirements
+
+* A burning desire to write less code.
Index: pkgsrc/devel/ruby-optimist/Makefile
diff -u /dev/null pkgsrc/devel/ruby-optimist/Makefile:1.1
--- /dev/null Fri Nov 11 13:58:38 2022
+++ pkgsrc/devel/ruby-optimist/Makefile Fri Nov 11 13:58:38 2022
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2022/11/11 13:58:38 taca Exp $
+
+DISTNAME= optimist-3.0.1
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/ManageIQ/optimist
+COMMENT= Commandline option parser for Ruby
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/ruby-optimist/PLIST
diff -u /dev/null pkgsrc/devel/ruby-optimist/PLIST:1.1
--- /dev/null Fri Nov 11 13:58:38 2022
+++ pkgsrc/devel/ruby-optimist/PLIST Fri Nov 11 13:58:38 2022
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1 2022/11/11 13:58:38 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/FAQ.txt
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/History.txt
+${GEM_LIBDIR}/LICENSE.txt
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/lib/optimist.rb
+${GEM_LIBDIR}/optimist.gemspec
+${GEM_LIBDIR}/test/optimist/command_line_error_test.rb
+${GEM_LIBDIR}/test/optimist/help_needed_test.rb
+${GEM_LIBDIR}/test/optimist/parser_educate_test.rb
+${GEM_LIBDIR}/test/optimist/parser_opt_test.rb
+${GEM_LIBDIR}/test/optimist/parser_parse_test.rb
+${GEM_LIBDIR}/test/optimist/parser_test.rb
+${GEM_LIBDIR}/test/optimist/version_needed_test.rb
+${GEM_LIBDIR}/test/optimist_test.rb
+${GEM_LIBDIR}/test/support/assert_helpers.rb
+${GEM_LIBDIR}/test/test_helper.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/devel/ruby-optimist/distinfo
diff -u /dev/null pkgsrc/devel/ruby-optimist/distinfo:1.1
--- /dev/null Fri Nov 11 13:58:38 2022
+++ pkgsrc/devel/ruby-optimist/distinfo Fri Nov 11 13:58:38 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/11/11 13:58:38 taca Exp $
+
+BLAKE2s (optimist-3.0.1.gem) = f13b137117c148bec17b184925458197fe8b68befdeeb3f6bcc0ea5b303eb6ae
+SHA512 (optimist-3.0.1.gem) = 209fbb355a7ba75208cef314ccaa188955463551d1c914f10409cac189375b5be40fbcdf0d88a5ce825c527bca7138528fafd6f37cf73f5e68f3b453f3ef8485
+Size (optimist-3.0.1.gem) = 30208 bytes
Home |
Main Index |
Thread Index |
Old Index