pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/py-whisper databases/py-whisper: Update to 1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9f0b0fdbaff
branches:  trunk
changeset: 310172:b9f0b0fdbaff
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Jul 07 04:56:45 2018 +0000

description:
databases/py-whisper: Update to 1.1.3

Notable changes since 0.9.15:
    - Python 3 support
    - fallocate and sparse support in whisper-create
    - Support FADVISE_RANDOM for create/update/update_many
    - Add update-storage-times.py - a tool to change storage schemas for
      whisper files and update the data. Threaded to vastly improve speed
      over whisper-auto-resize.py
    - Add optional destinationPath for rrd2whisper
    - Add json output to whisper-diff.py script
    - Add whisper-set-xfilesfactor.py utility
    - whisper-fetch: add ?time-format option
    - Numerous bug fixes

diffstat:

 databases/py-whisper/Makefile                         |  13 +++++++------
 databases/py-whisper/PLIST                            |   7 ++++++-
 databases/py-whisper/distinfo                         |  11 ++++++-----
 databases/py-whisper/patches/patch-bin_rrd2whisper.py |  16 ++++++++++++++++
 4 files changed, 35 insertions(+), 12 deletions(-)

diffs (87 lines):

diff -r 7abcd6ddf432 -r b9f0b0fdbaff databases/py-whisper/Makefile
--- a/databases/py-whisper/Makefile     Sat Jul 07 04:45:10 2018 +0000
+++ b/databases/py-whisper/Makefile     Sat Jul 07 04:56:45 2018 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2018/07/03 05:03:07 adam Exp $
+# $NetBSD: Makefile,v 1.6 2018/07/07 04:56:45 minskim Exp $
 
-DISTNAME=      whisper-0.9.15
+DISTNAME=      whisper-1.1.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases
-GITHUB_PROJECT= whisper
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=graphite-project/}
+MASTER_SITES=  ${MASTER_SITE_PYPI:=w/whisper/}
 
 MAINTAINER=    riz%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/graphite-project/whisper
@@ -13,7 +12,9 @@
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 37
+.include "../../lang/python/distutils.mk"
 
-.include "../../lang/python/distutils.mk"
+post-install:
+       ${RM} -f ${DESTDIR}${PREFIX}/bin/*.orig
+
 .include "../../mk/bsd.pkg.mk"
diff -r 7abcd6ddf432 -r b9f0b0fdbaff databases/py-whisper/PLIST
--- a/databases/py-whisper/PLIST        Sat Jul 07 04:45:10 2018 +0000
+++ b/databases/py-whisper/PLIST        Sat Jul 07 04:56:45 2018 +0000
@@ -1,5 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2015/12/11 21:34:15 riz Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/07/07 04:56:45 minskim Exp $
+bin/find-corrupt-whisper-files.py
 bin/rrd2whisper.py
+bin/update-storage-times.py
+bin/whisper-auto-resize.py
+bin/whisper-auto-update.py
 bin/whisper-create.py
 bin/whisper-diff.py
 bin/whisper-dump.py
@@ -9,6 +13,7 @@
 bin/whisper-merge.py
 bin/whisper-resize.py
 bin/whisper-set-aggregation-method.py
+bin/whisper-set-xfilesfactor.py
 bin/whisper-update.py
 ${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/whisper.py
diff -r 7abcd6ddf432 -r b9f0b0fdbaff databases/py-whisper/distinfo
--- a/databases/py-whisper/distinfo     Sat Jul 07 04:45:10 2018 +0000
+++ b/databases/py-whisper/distinfo     Sat Jul 07 04:56:45 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2015/12/11 21:34:15 riz Exp $
+$NetBSD: distinfo,v 1.2 2018/07/07 04:56:45 minskim Exp $
 
-SHA1 (whisper-0.9.15.tar.gz) = 7adfeb16a952dcf3f3aacb1d030f5e1865472ce3
-RMD160 (whisper-0.9.15.tar.gz) = 308426c54834272e0a829bd6c4be60c115f2983a
-SHA512 (whisper-0.9.15.tar.gz) = 2fe7613ad15a994a63cb8dc0c4e91984c97d33e85f2b0016f329bbaccbd95f8641d8b30ed041b069ff1d639eec6fceef330aaa86313576daece9234121ca0eba
-Size (whisper-0.9.15.tar.gz) = 21083 bytes
+SHA1 (whisper-1.1.3.tar.gz) = 3a4a959c5859f5d7260dd251c0c5a4000a77255f
+RMD160 (whisper-1.1.3.tar.gz) = e3e774b9ceec193c04d1e953b76c5633bddeb38c
+SHA512 (whisper-1.1.3.tar.gz) = abad7c8abbf6ea4dd07a644ec6347be24ebac2a669fc584e5be8a41aa6476544ccbbb16b96a867496e701d04a0fe6bf91c1d70af2e360bfdc0dd6034eb9a7003
+Size (whisper-1.1.3.tar.gz) = 24490 bytes
+SHA1 (patch-bin_rrd2whisper.py) = 332b5ceec5d7ebec9f7428b94875bacece5a5f43
diff -r 7abcd6ddf432 -r b9f0b0fdbaff databases/py-whisper/patches/patch-bin_rrd2whisper.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-whisper/patches/patch-bin_rrd2whisper.py     Sat Jul 07 04:56:45 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-bin_rrd2whisper.py,v 1.1 2018/07/07 04:56:45 minskim Exp $
+
+Make the command work with Python 3.
+https://github.com/graphite-project/whisper/pull/254
+
+--- bin/rrd2whisper.py.orig    2018-04-04 08:34:11.000000000 +0000
++++ bin/rrd2whisper.py
+@@ -20,7 +20,7 @@ except ImportError:
+ # Ignore SIGPIPE
+ signal.signal(signal.SIGPIPE, signal.SIG_DFL)
+ 
+-aggregationMethods = whisper.aggregationMethods
++aggregationMethods = list(whisper.aggregationMethods)
+ 
+ # RRD doesn't have a 'sum' or 'total' type
+ aggregationMethods.remove('sum')



Home | Main Index | Thread Index | Old Index