aboutsummaryrefslogtreecommitdiff
path: root/python/python2-whisper
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 17:11:28 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:52 +0700
commit496b88fbfae28b0d7981fafe08a15500d5931414 (patch)
treeaf8281648d5cfbcb7cd6f50eaf949f30a595af4a /python/python2-whisper
parent32b3cf7206b6d22489352c5fb375195569217acb (diff)
python/python-whisper: Renamed python2-whisper.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python2-whisper')
-rw-r--r--python/python2-whisper/README5
-rw-r--r--python/python2-whisper/man1/rrd2whisper.127
-rw-r--r--python/python2-whisper/man1/whisper-create.131
-rw-r--r--python/python2-whisper/man1/whisper-dump.123
-rw-r--r--python/python2-whisper/man1/whisper-fetch.139
-rw-r--r--python/python2-whisper/man1/whisper-info.123
-rw-r--r--python/python2-whisper/man1/whisper-merge.123
-rw-r--r--python/python2-whisper/man1/whisper-resize.135
-rw-r--r--python/python2-whisper/man1/whisper-set-aggregation-method.123
-rw-r--r--python/python2-whisper/man1/whisper-update.123
-rw-r--r--python/python2-whisper/python2-whisper.SlackBuild91
-rw-r--r--python/python2-whisper/python2-whisper.info10
-rw-r--r--python/python2-whisper/slack-desc19
13 files changed, 372 insertions, 0 deletions
diff --git a/python/python2-whisper/README b/python/python2-whisper/README
new file mode 100644
index 000000000000..f62d32403570
--- /dev/null
+++ b/python/python2-whisper/README
@@ -0,0 +1,5 @@
+python-whisper (Engine for fast, reliable fixed-sized databases)
+
+Whisper is a fixed size database, similar in design to the Round Robin
+database tool (RRDtool). Whisper is used by the Graphite scalable real
+time graphing system to store time-series data for later display.
diff --git a/python/python2-whisper/man1/rrd2whisper.1 b/python/python2-whisper/man1/rrd2whisper.1
new file mode 100644
index 000000000000..96474879dfdf
--- /dev/null
+++ b/python/python2-whisper/man1/rrd2whisper.1
@@ -0,0 +1,27 @@
+.TH RRD2WHISPER 1
+.SH NAME
+rrd2whisper \- convert an RRD database to a whisper database
+.SH SYNOPSYS
+.nf
+.fam C
+\fbwrrd2whisper\fP rrd_path
+.fam T
+.fi
+.SH DESCRIPTION
+This command converts an RRD database to a whisper fixed-size database.
+.PP
+The options are described below.
+.SH OPTIONS
+.TP
+.B
+\-\-xFilesFactor
+The fraction of data points in a propagation interval that must have known values for a propagation to occur.
+.TP
+.B
+\-h, \-\-help
+Show the embedded help.
+.SH AUTHOR
+\fBwhisper\fP is a fixed size database, created by Chris Davis.
+.PP
+This manual page was written by Elliot Murphy <elliot@ubuntu.com>, for the Debian
+project (but may be used by others).
diff --git a/python/python2-whisper/man1/whisper-create.1 b/python/python2-whisper/man1/whisper-create.1
new file mode 100644
index 000000000000..3380ebfec6d6
--- /dev/null
+++ b/python/python2-whisper/man1/whisper-create.1
@@ -0,0 +1,31 @@
+.TH WHISPER-CREATE 1
+.SH NAME
+whisper-create \- create a whisper database
+.SH SYNOPSYS
+.nf
+.fam C
+\fbwhisper-create\fP path secondsPerPoint:pointsToStore [secondsPerPoint:pointsToStore]*
+.fam T
+.fi
+.SH DESCRIPTION
+This command creates a new whisper fixed-size database. For each database you specify one or more pairs of numbers describing how data points should be archived in this database. The first part of the pair is the precision, the second part of the pair is how many data points should be stored. You cannot configure two archives with the same precision inside a single database. Higher precision archives must evenly divide all lower precision archives' precision.
+.PP
+The options are described below.
+.SH OPTIONS
+.TP
+.B
+\-\-overwrite
+Overwrite an existing database.
+.TP
+.B
+\-\-xFilesFactor
+The fraction of data points in a propagation interval that must have known values for a propagation to occur.
+.TP
+.B
+\-h, \-\-help
+Show the embedded help.
+.SH AUTHOR
+\fBwhisper\fP is a fixed size database, created by Chris Davis.
+.PP
+This manual page was written by Elliot Murphy <elliot@ubuntu.com>, for the Debian
+project (but may be used by others).
diff --git a/python/python2-whisper/man1/whisper-dump.1 b/python/python2-whisper/man1/whisper-dump.1
new file mode 100644
index 000000000000..2b42b2ec8147
--- /dev/null
+++ b/python/python2-whisper/man1/whisper-dump.1
@@ -0,0 +1,23 @@
+.TH WHISPER-DUMP 1
+.SH NAME
+whisper-dump \- dump whisper database files
+.SH SYNOPSYS
+.nf
+.fam C
+\fbwhisper-dump\fP path
+.fam T
+.fi
+.SH DESCRIPTION
+This command dumps an whisper database file.
+.PP
+The options are described below.
+.SH OPTIONS
+.TP
+.B
+\-h, \-\-help
+Show the embedded help.
+.SH AUTHOR
+\fBwhisper\fP is a fixed size database, created by Chris Davis.
+.PP
+This manual page was written by Jonas Genannt <jonas.genannt@capi2name.de>, for
+the Debian project (but may be used by others).
diff --git a/python/python2-whisper/man1/whisper-fetch.1 b/python/python2-whisper/man1/whisper-fetch.1
new file mode 100644
index 000000000000..bb2c4e8c7d5c
--- /dev/null
+++ b/python/python2-whisper/man1/whisper-fetch.1
@@ -0,0 +1,39 @@
+.TH WHISPER-FETCH 1
+.SH NAME
+whisper-fetch \- extract records from a whisper database
+.SH SYNOPSYS
+.nf
+.fam C
+\fbwhisper-fetch\fP [options] path
+.fam T
+.fi
+.SH DESCRIPTION
+This command retrieves records from a whisper fixed-size database.
+.PP
+The options are described below.
+.SH OPTIONS
+.TP
+.B
+\-\-from
+Unix epoch time of the beginning of your requested interval (default: 24 hours ago).
+.TP
+.B
+\-\-until
+Unix epoch time of the end of your requested interval (default: now).
+.TP
+.B
+\-\-json
+Output results in JSON form.
+.TP
+.B
+\-\-pretty
+Show human-readable timestamps instead of unix times.
+.TP
+.B
+\-h, \-\-help
+Show the embedded help.
+.SH AUTHOR
+\fBwhisper\fP is a fixed size database, created by Chris Davis.
+.PP
+This manual page was written by Elliot Murphy <elliot@ubuntu.com>, for the Debian
+project (but may be used by others).
diff --git a/python/python2-whisper/man1/whisper-info.1 b/python/python2-whisper/man1/whisper-info.1
new file mode 100644
index 000000000000..67920f9a7690
--- /dev/null
+++ b/python/python2-whisper/man1/whisper-info.1
@@ -0,0 +1,23 @@
+.TH WHISPER-INFO 1
+.SH NAME
+whisper-info \- show information about a whisper database
+.SH SYNOPSYS
+.nf
+.fam C
+\fbwhisper-info\fP path [field]
+.fam T
+.fi
+.SH DESCRIPTION
+This command displays information about a whisper fixed-size database.
+.PP
+The options are described below.
+.SH OPTIONS
+.TP
+.B
+\-h, \-\-help
+Show the embedded help.
+.SH AUTHOR
+\fBwhisper\fP is a fixed size database, created by Chris Davis.
+.PP
+This manual page was written by Elliot Murphy <elliot@ubuntu.com>, for the Debian
+project (but may be used by others).
diff --git a/python/python2-whisper/man1/whisper-merge.1 b/python/python2-whisper/man1/whisper-merge.1
new file mode 100644
index 000000000000..14d4ee958cee
--- /dev/null
+++ b/python/python2-whisper/man1/whisper-merge.1
@@ -0,0 +1,23 @@
+.TH WHISPER-MERGE 1
+.SH NAME
+whisper-merge \- merge two whisper database files
+.SH SYNOPSYS
+.nf
+.fam C
+\fbwhisper-merge\fP from_path to_path
+.fam T
+.fi
+.SH DESCRIPTION
+This command merges two whisper database files.
+.PP
+The options are described below.
+.SH OPTIONS
+.TP
+.B
+\-h, \-\-help
+Show the embedded help.
+.SH AUTHOR
+\fBwhisper\fP is a fixed size database, created by Chris Davis.
+.PP
+This manual page was written by Jonas Genannt <jonas.genannt@capi2name.de>, for
+the Debian project (but may be used by others).
diff --git a/python/python2-whisper/man1/whisper-resize.1 b/python/python2-whisper/man1/whisper-resize.1
new file mode 100644
index 000000000000..4f3cb622c8a9
--- /dev/null
+++ b/python/python2-whisper/man1/whisper-resize.1
@@ -0,0 +1,35 @@
+.TH WHISPER-RESIZE 1
+.SH NAME
+whisper-resize \- resize a whisper database
+.SH SYNOPSYS
+.nf
+.fam C
+\fbwhisper-resize\fP path secondsPerPoint:pointsToStore [secondsPerPoint:pointsToStore]*
+.fam T
+.fi
+.SH DESCRIPTION
+This command resizes a whisper fixed-size database.
+.PP
+The options are described below.
+.SH OPTIONS
+.TP
+.B
+\-\-force
+Force a destructive change to an existing database.
+.TP
+.B
+\-\-newfile
+Create a new database file without removing the existing one.
+.TP
+.B
+\-\-xFilesFactor
+The fraction of data points in a propagation interval that must have known values for a propagation to occur.
+.TP
+.B
+\-h, \-\-help
+Show the embedded help.
+.SH AUTHOR
+\fBwhisper\fP is a fixed size database, created by Chris Davis.
+.PP
+This manual page was written by Elliot Murphy <elliot@ubuntu.com>, for the Debian
+project (but may be used by others).
diff --git a/python/python2-whisper/man1/whisper-set-aggregation-method.1 b/python/python2-whisper/man1/whisper-set-aggregation-method.1
new file mode 100644
index 000000000000..414d1169e6fa
--- /dev/null
+++ b/python/python2-whisper/man1/whisper-set-aggregation-method.1
@@ -0,0 +1,23 @@
+.TH WHISPER-SET-AGGREGATION-METHOD 1
+.SH NAME
+whisper-set-aggregation-method \- set aggregationType field
+.SH SYNOPSYS
+.nf
+.fam C
+\fbwhisper-set-aggregation-method\fP path <average|sum|last|max|min>
+.fam T
+.fi
+.SH DESCRIPTION
+This command sets the aggregationType field in an whisper database.
+.PP
+The options are described below.
+.SH OPTIONS
+.TP
+.B
+\-h, \-\-help
+Show the embedded help.
+.SH AUTHOR
+\fBwhisper\fP is a fixed size database, created by Chris Davis.
+.PP
+This manual page was written by Jonas Genannt <jonas.genannt@capi2name.de>, for the Debian
+project (but may be used by others).
diff --git a/python/python2-whisper/man1/whisper-update.1 b/python/python2-whisper/man1/whisper-update.1
new file mode 100644
index 000000000000..5edf004a3d82
--- /dev/null
+++ b/python/python2-whisper/man1/whisper-update.1
@@ -0,0 +1,23 @@
+.TH WHISPER-UPDATE 1
+.SH NAME
+whisper-update \- update a whisper database
+.SH SYNOPSYS
+.nf
+.fam C
+\fbwhisper-update\fP [options] path timestamp:value [timestamp:value]*
+.fam T
+.fi
+.SH DESCRIPTION
+This command adds an entry to a whisper fixed-size database.
+.PP
+The options are described below.
+.SH OPTIONS
+.TP
+.B
+\-h, \-\-help
+Show the embedded help.
+.SH AUTHOR
+\fBwhisper\fP is a fixed size database, created by Chris Davis.
+.PP
+This manual page was written by Elliot Murphy <elliot@ubuntu.com>, for the Debian
+project (but may be used by others).
diff --git a/python/python2-whisper/python2-whisper.SlackBuild b/python/python2-whisper/python2-whisper.SlackBuild
new file mode 100644
index 000000000000..e9729d1ece61
--- /dev/null
+++ b/python/python2-whisper/python2-whisper.SlackBuild
@@ -0,0 +1,91 @@
+#!/bin/sh
+
+# Slackware build script for python-whisper
+
+# Copyright 2015 Mario Preksavec, Zagreb, Croatia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PRGNAM=python2-whisper
+VERSION=${VERSION:-0.9.15}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+SRCNAM=whisper
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+python2 setup.py install --root=$PKG
+
+# Strip .py suffix on files in bin dir
+for i in $PKG/usr/bin/*.py ; do mv $i ${i/.py/} ; done
+
+# Manpages thanks to Debian folks!
+mkdir -p $PKG/usr/man
+cp -r $CWD/man1 $PKG/usr/man
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/python/python2-whisper/python2-whisper.info b/python/python2-whisper/python2-whisper.info
new file mode 100644
index 000000000000..a9db6cba4794
--- /dev/null
+++ b/python/python2-whisper/python2-whisper.info
@@ -0,0 +1,10 @@
+PRGNAM="python2-whisper"
+VERSION="0.9.15"
+HOMEPAGE="https://github.com/graphite-project/"
+DOWNLOAD="https://github.com/graphite-project/whisper/archive/0.9.15/whisper-0.9.15.tar.gz"
+MD5SUM="73608453c46cfeb80edf30fae78f1851"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Mario Preksavec"
+EMAIL="mario at slackware dot hr"
diff --git a/python/python2-whisper/slack-desc b/python/python2-whisper/slack-desc
new file mode 100644
index 000000000000..0492f06fa7cc
--- /dev/null
+++ b/python/python2-whisper/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+python2-whisper: python2-whisper (Engine for fast, reliable fixed-sized databases)
+python2-whisper:
+python2-whisper: Whisper is a fixed size database, similar in design to the Round
+python2-whisper: Robin database tool (RRDtool). Whisper is used by the Graphite
+python2-whisper: scalable real time graphing system to store time-series data for
+python2-whisper: later display.
+python2-whisper:
+python2-whisper: Homepage: https://github.com/graphite-project/
+python2-whisper:
+python2-whisper:
+python2-whisper: