pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/ruby-powerbar



Module Name:    pkgsrc
Committed By:   taca
Date:           Fri Mar 17 00:26:53 UTC 2017

Added Files:
        pkgsrc/misc/ruby-powerbar: ALTERNATIVES DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/ruby-powerbar/ALTERNATIVES \
    pkgsrc/misc/ruby-powerbar/DESCR pkgsrc/misc/ruby-powerbar/Makefile \
    pkgsrc/misc/ruby-powerbar/PLIST pkgsrc/misc/ruby-powerbar/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/misc/ruby-powerbar/ALTERNATIVES
diff -u /dev/null pkgsrc/misc/ruby-powerbar/ALTERNATIVES:1.1
--- /dev/null   Fri Mar 17 00:26:53 2017
+++ pkgsrc/misc/ruby-powerbar/ALTERNATIVES      Fri Mar 17 00:26:52 2017
@@ -0,0 +1 @@
+bin/powerbar-demo @PREFIX@/bin/powerbar-demo@RUBY_VER@
Index: pkgsrc/misc/ruby-powerbar/DESCR
diff -u /dev/null pkgsrc/misc/ruby-powerbar/DESCR:1.1
--- /dev/null   Fri Mar 17 00:26:53 2017
+++ pkgsrc/misc/ruby-powerbar/DESCR     Fri Mar 17 00:26:52 2017
@@ -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.
Index: pkgsrc/misc/ruby-powerbar/Makefile
diff -u /dev/null pkgsrc/misc/ruby-powerbar/Makefile:1.1
--- /dev/null   Fri Mar 17 00:26:53 2017
+++ pkgsrc/misc/ruby-powerbar/Makefile  Fri Mar 17 00:26:52 2017
@@ -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"
Index: pkgsrc/misc/ruby-powerbar/PLIST
diff -u /dev/null pkgsrc/misc/ruby-powerbar/PLIST:1.1
--- /dev/null   Fri Mar 17 00:26:53 2017
+++ pkgsrc/misc/ruby-powerbar/PLIST     Fri Mar 17 00:26:52 2017
@@ -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
Index: pkgsrc/misc/ruby-powerbar/distinfo
diff -u /dev/null pkgsrc/misc/ruby-powerbar/distinfo:1.1
--- /dev/null   Fri Mar 17 00:26:53 2017
+++ pkgsrc/misc/ruby-powerbar/distinfo  Fri Mar 17 00:26:52 2017
@@ -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