pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-optimist devel/ruby-optimist: add package v...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e44f844ac546
branches:  trunk
changeset: 387983:e44f844ac546
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Nov 11 13:58:38 2022 +0000

description:
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.

diffstat:

 devel/ruby-optimist/DESCR    |  22 ++++++++++++++++++++++
 devel/ruby-optimist/Makefile |  14 ++++++++++++++
 devel/ruby-optimist/PLIST    |  23 +++++++++++++++++++++++
 devel/ruby-optimist/distinfo |   5 +++++
 4 files changed, 64 insertions(+), 0 deletions(-)

diffs (80 lines):

diff -r 86004afc7b9a -r e44f844ac546 devel/ruby-optimist/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-optimist/DESCR Fri Nov 11 13:58:38 2022 +0000
@@ -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.
diff -r 86004afc7b9a -r e44f844ac546 devel/ruby-optimist/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-optimist/Makefile      Fri Nov 11 13:58:38 2022 +0000
@@ -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"
diff -r 86004afc7b9a -r e44f844ac546 devel/ruby-optimist/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-optimist/PLIST Fri Nov 11 13:58:38 2022 +0000
@@ -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
diff -r 86004afc7b9a -r e44f844ac546 devel/ruby-optimist/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-optimist/distinfo      Fri Nov 11 13:58:38 2022 +0000
@@ -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