pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/ruby-powerbar Add ruby-powerbar 1.0.18 which is r...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/efa7a7918f64
branches:  trunk
changeset: 359736:efa7a7918f64
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Mar 17 00:26:52 2017 +0000

description:
Add ruby-powerbar 1.0.18 which is required by archivers/ruby-minitar-cli.

# PowerBar

This is PowerBar - The last progressbar-library you'll ever need.

## Features

* Detects when stdout is not a terminal and automatically falls back to logging
  * Does not clutter your log-files with ansi-codes!
  * If your CLI-app can run interactively and non-interactively (e.g. cronjob)
    you will automatically get reasonable progress-output in both modes.
  * By default prints to stderr but can call any output-method
    of your choice (e.g. your favorite Logger).

* Fully customizable; all output is template-driven.

* All output is optional. You may set PowerBar to silently collect progress
  information (percentage-done, throughput, ETA, etc.) and then use the
  computed values elsewhere in your app.

* All state can be updated at any time. For example: If you're monitoring a
  multi-part operation then you can change the status-message of a running
  PowerBar to reflect the current state.

diffstat:

 misc/ruby-powerbar/ALTERNATIVES |   1 +
 misc/ruby-powerbar/DESCR        |  22 ++++++++++++++++++++++
 misc/ruby-powerbar/Makefile     |  16 ++++++++++++++++
 misc/ruby-powerbar/PLIST        |  13 +++++++++++++
 misc/ruby-powerbar/distinfo     |   6 ++++++
 5 files changed, 58 insertions(+), 0 deletions(-)

diffs (78 lines):

diff -r c4418b2128ab -r efa7a7918f64 misc/ruby-powerbar/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ruby-powerbar/ALTERNATIVES   Fri Mar 17 00:26:52 2017 +0000
@@ -0,0 +1,1 @@
+bin/powerbar-demo @PREFIX@/bin/powerbar-demo@RUBY_VER@
diff -r c4418b2128ab -r efa7a7918f64 misc/ruby-powerbar/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ruby-powerbar/DESCR  Fri Mar 17 00:26:52 2017 +0000
@@ -0,0 +1,22 @@
+# PowerBar
+
+This is PowerBar - The last progressbar-library you'll ever need.
+
+## Features
+
+* Detects when stdout is not a terminal and automatically falls back to logging
+  * Does not clutter your log-files with ansi-codes!
+  * If your CLI-app can run interactively and non-interactively (e.g. cronjob)
+    you will automatically get reasonable progress-output in both modes.
+  * By default prints to stderr but can call any output-method
+    of your choice (e.g. your favorite Logger).
+
+* Fully customizable; all output is template-driven.
+
+* All output is optional. You may set PowerBar to silently collect progress
+  information (percentage-done, throughput, ETA, etc.) and then use the
+  computed values elsewhere in your app.
+
+* All state can be updated at any time. For example: If you're monitoring a
+  multi-part operation then you can change the status-message of a running
+  PowerBar to reflect the current state.
diff -r c4418b2128ab -r efa7a7918f64 misc/ruby-powerbar/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ruby-powerbar/Makefile       Fri Mar 17 00:26:52 2017 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/03/17 00:26:52 taca Exp $
+
+DISTNAME=      powerbar-1.0.18
+CATEGORIES=    time
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/busyloop/powerbar
+COMMENT=       The last progressbar-library you'll ever need
+LICENSE=       mit
+
+DEPENDS+=      ${RUBY_PKGPREFIX}-hashie>=1.1.0:../../misc/ruby-hashie
+
+RUBYGEM_OPTIONS+=      --format-executable
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c4418b2128ab -r efa7a7918f64 misc/ruby-powerbar/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ruby-powerbar/PLIST  Fri Mar 17 00:26:52 2017 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2017/03/17 00:26:52 taca Exp $
+bin/powerbar-demo${RUBY_SUFFIX}
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.ruby-version
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/README.MD
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/bin/powerbar-demo
+${GEM_LIBDIR}/lib/powerbar.rb
+${GEM_LIBDIR}/lib/powerbar/version.rb
+${GEM_LIBDIR}/powerbar.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r c4418b2128ab -r efa7a7918f64 misc/ruby-powerbar/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ruby-powerbar/distinfo       Fri Mar 17 00:26:52 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/03/17 00:26:52 taca Exp $
+
+SHA1 (powerbar-1.0.18.gem) = d31b875ad41799b9fe2f2c2c791102012b90f6f3
+RMD160 (powerbar-1.0.18.gem) = 27bd1a1a3d2ba801ad0bacb4d4fc647f7049b99a
+SHA512 (powerbar-1.0.18.gem) = 9208f2e70372c4df59371d5dedf227ef80af2c14ec6deba222873cdcba86452120a7013259105a935aa9834116b22febf88871c0824d12a89e314bc3ed3d2af4
+Size (powerbar-1.0.18.gem) = 12288 bytes



Home | Main Index | Thread Index | Old Index