diff options
author | minskim <minskim@pkgsrc.org> | 2018-07-07 04:56:45 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2018-07-07 04:56:45 +0000 |
commit | 1adadaed5613f5b90b013875cddd04a6152cb3e1 (patch) | |
tree | 7711b91c1198f5da8921ad67d9e00f77d621e0fb /databases/py-whisper | |
parent | 9f450c1deeee762e1bd3b24ac7d917ebbd5d7cdf (diff) | |
download | pkgsrc-1adadaed5613f5b90b013875cddd04a6152cb3e1.tar.gz |
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 (limited to 'databases/py-whisper')
-rw-r--r-- | databases/py-whisper/Makefile | 13 | ||||
-rw-r--r-- | databases/py-whisper/PLIST | 7 | ||||
-rw-r--r-- | databases/py-whisper/distinfo | 11 | ||||
-rw-r--r-- | databases/py-whisper/patches/patch-bin_rrd2whisper.py | 16 |
4 files changed, 35 insertions, 12 deletions
diff --git a/databases/py-whisper/Makefile b/databases/py-whisper/Makefile index 5aabd6e3068..16e727f0b99 100644 --- a/databases/py-whisper/Makefile +++ b/databases/py-whisper/Makefile @@ -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 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" diff --git a/databases/py-whisper/PLIST b/databases/py-whisper/PLIST index fed51f4f916..7c3f5ff8a4d 100644 --- a/databases/py-whisper/PLIST +++ b/databases/py-whisper/PLIST @@ -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 diff --git a/databases/py-whisper/distinfo b/databases/py-whisper/distinfo index 6d340ac1ba8..4d9794e447f 100644 --- a/databases/py-whisper/distinfo +++ b/databases/py-whisper/distinfo @@ -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 --git a/databases/py-whisper/patches/patch-bin_rrd2whisper.py b/databases/py-whisper/patches/patch-bin_rrd2whisper.py new file mode 100644 index 00000000000..8cd527ef2ce --- /dev/null +++ b/databases/py-whisper/patches/patch-bin_rrd2whisper.py @@ -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') |