pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-whisper



Module Name:    pkgsrc
Committed By:   minskim
Date:           Sat Jul  7 04:56:45 UTC 2018

Modified Files:
        pkgsrc/databases/py-whisper: Makefile PLIST distinfo
Added Files:
        pkgsrc/databases/py-whisper/patches: patch-bin_rrd2whisper.py

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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/py-whisper/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/py-whisper/PLIST \
    pkgsrc/databases/py-whisper/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/databases/py-whisper/patches/patch-bin_rrd2whisper.py

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

Modified files:

Index: pkgsrc/databases/py-whisper/Makefile
diff -u pkgsrc/databases/py-whisper/Makefile:1.5 pkgsrc/databases/py-whisper/Makefile:1.6
--- pkgsrc/databases/py-whisper/Makefile:1.5    Tue Jul  3 05:03:07 2018
+++ pkgsrc/databases/py-whisper/Makefile        Sat Jul  7 04:56:45 2018
@@ -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 @@ LICENSE=      apache-2.0
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 37
-
 .include "../../lang/python/distutils.mk"
+
+post-install:
+       ${RM} -f ${DESTDIR}${PREFIX}/bin/*.orig
+
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/databases/py-whisper/PLIST
diff -u pkgsrc/databases/py-whisper/PLIST:1.1 pkgsrc/databases/py-whisper/PLIST:1.2
--- pkgsrc/databases/py-whisper/PLIST:1.1       Fri Dec 11 21:34:15 2015
+++ pkgsrc/databases/py-whisper/PLIST   Sat Jul  7 04:56:45 2018
@@ -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-info.py
 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
Index: pkgsrc/databases/py-whisper/distinfo
diff -u pkgsrc/databases/py-whisper/distinfo:1.1 pkgsrc/databases/py-whisper/distinfo:1.2
--- pkgsrc/databases/py-whisper/distinfo:1.1    Fri Dec 11 21:34:15 2015
+++ pkgsrc/databases/py-whisper/distinfo        Sat Jul  7 04:56:45 2018
@@ -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

Added files:

Index: pkgsrc/databases/py-whisper/patches/patch-bin_rrd2whisper.py
diff -u /dev/null pkgsrc/databases/py-whisper/patches/patch-bin_rrd2whisper.py:1.1
--- /dev/null   Sat Jul  7 04:56:45 2018
+++ pkgsrc/databases/py-whisper/patches/patch-bin_rrd2whisper.py        Sat Jul  7 04:56:45 2018
@@ -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