summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2017-03-17 00:26:52 +0000
committertaca <taca@pkgsrc.org>2017-03-17 00:26:52 +0000
commit1427e39a174af359a7e50a1a26d2776dda564fd3 (patch)
tree405ac54e01dedc4f20f518b04fb95ff0d42b8e35 /misc
parentd599fd2cf9f2b0687e21c1e572a13b8ab679db46 (diff)
downloadpkgsrc-1427e39a174af359a7e50a1a26d2776dda564fd3.tar.gz
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 (limited to 'misc')
-rw-r--r--misc/ruby-powerbar/ALTERNATIVES1
-rw-r--r--misc/ruby-powerbar/DESCR22
-rw-r--r--misc/ruby-powerbar/Makefile16
-rw-r--r--misc/ruby-powerbar/PLIST13
-rw-r--r--misc/ruby-powerbar/distinfo6
5 files changed, 58 insertions, 0 deletions
diff --git a/misc/ruby-powerbar/ALTERNATIVES b/misc/ruby-powerbar/ALTERNATIVES
new file mode 100644
index 00000000000..bbfd44b0ac3
--- /dev/null
+++ b/misc/ruby-powerbar/ALTERNATIVES
@@ -0,0 +1 @@
+bin/powerbar-demo @PREFIX@/bin/powerbar-demo@RUBY_VER@
diff --git a/misc/ruby-powerbar/DESCR b/misc/ruby-powerbar/DESCR
new file mode 100644
index 00000000000..2ed0340c7c2
--- /dev/null
+++ b/misc/ruby-powerbar/DESCR
@@ -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 --git a/misc/ruby-powerbar/Makefile b/misc/ruby-powerbar/Makefile
new file mode 100644
index 00000000000..21f4e1725a0
--- /dev/null
+++ b/misc/ruby-powerbar/Makefile
@@ -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
+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 --git a/misc/ruby-powerbar/PLIST b/misc/ruby-powerbar/PLIST
new file mode 100644
index 00000000000..ffd10429b03
--- /dev/null
+++ b/misc/ruby-powerbar/PLIST
@@ -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 --git a/misc/ruby-powerbar/distinfo b/misc/ruby-powerbar/distinfo
new file mode 100644
index 00000000000..0519d598f3e
--- /dev/null
+++ b/misc/ruby-powerbar/distinfo
@@ -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