ping

On 11/27/18 12:44 PM, Martijn van Duren wrote:
> Here's an update for databases/py-whisper, which is a requirement for 
> graphite-web, which also requires py-django, which in turn is python3 
> only nowadays. Ergo I added a python3 flavor, for which has experimental
> support.
> 
> Same as with py-carbon; major release notes can be found:
> https://graphite.readthedocs.io/en/latest/releases/1_1_1.html
> 
> OK?
> 
> martijn
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/databases/py-whisper/Makefile,v
> retrieving revision 1.9
> diff -u -p -r1.9 Makefile
> --- Makefile  14 Nov 2017 15:59:27 -0000      1.9
> +++ Makefile  27 Nov 2018 11:24:27 -0000
> @@ -2,7 +2,7 @@
>  
>  COMMENT=             fixed size round-robin style database
>  
> -MODPY_EGG_VERSION=   1.0.2
> +MODPY_EGG_VERSION=   1.1.4
>  
>  DISTNAME=            whisper-${MODPY_EGG_VERSION}
>  PKGNAME=             py-${DISTNAME}
> @@ -18,5 +18,20 @@ MODPY_PI =         Yes
>  RUN_DEPENDS=         net/rrdtool,-python
>  
>  NO_TEST =            Yes
> +
> +FLAVORS=             python3
> +FLAVOR ?=
> +
> +PYBINS=      find-corrupt-whisper-files rrd2whisper update-storage-times \
> +     whisper-auto-resize whisper-auto-update whisper-create whisper-diff \
> +     whisper-dump whisper-fetch whisper-fill whisper-info whisper-merge \
> +     whisper-resize whisper-set-aggregation-method whisper-set-xfilesfactor \
> +     whisper-update
> +
> +post-install:
> +.for b in ${PYBINS}
> +     mv -f ${PREFIX}/bin/$b.py ${PREFIX}/bin/$b${MODPY_BIN_SUFFIX}.py
> +.endfor
> +
>  
>  .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/databases/py-whisper/distinfo,v
> retrieving revision 1.6
> diff -u -p -r1.6 distinfo
> --- distinfo  14 Nov 2017 15:59:27 -0000      1.6
> +++ distinfo  27 Nov 2018 11:24:27 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (whisper-1.0.2.tar.gz) = Q9v7R9wUHBdKANjVYdsByfCZp18imTjJJ9fEQN2IK+w=
> -SIZE (whisper-1.0.2.tar.gz) = 24064
> +SHA256 (whisper-1.1.4.tar.gz) = 7pEohztfnJfSWNNdCjLvjmLJ2kc/u9BWmC3x828LN6o=
> +SIZE (whisper-1.1.4.tar.gz) = 31395
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/databases/py-whisper/pkg/PLIST,v
> retrieving revision 1.4
> diff -u -p -r1.4 PLIST
> --- pkg/PLIST 8 Jul 2017 16:09:17 -0000       1.4
> +++ pkg/PLIST 27 Nov 2018 11:24:27 -0000
> @@ -1,20 +1,21 @@
>  @comment $OpenBSD: PLIST,v 1.4 2017/07/08 16:09:17 jasper 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
> -bin/whisper-fetch.py
> -bin/whisper-fill.py
> -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
> +bin/find-corrupt-whisper-files${MODPY_BIN_SUFFIX}.py
> +bin/rrd2whisper${MODPY_BIN_SUFFIX}.py
> +bin/update-storage-times${MODPY_BIN_SUFFIX}.py
> +bin/whisper-auto-resize${MODPY_BIN_SUFFIX}.py
> +bin/whisper-auto-update${MODPY_BIN_SUFFIX}.py
> +bin/whisper-create${MODPY_BIN_SUFFIX}.py
> +bin/whisper-diff${MODPY_BIN_SUFFIX}.py
> +bin/whisper-dump${MODPY_BIN_SUFFIX}.py
> +bin/whisper-fetch${MODPY_BIN_SUFFIX}.py
> +bin/whisper-fill${MODPY_BIN_SUFFIX}.py
> +bin/whisper-info${MODPY_BIN_SUFFIX}.py
> +bin/whisper-merge${MODPY_BIN_SUFFIX}.py
> +bin/whisper-resize${MODPY_BIN_SUFFIX}.py
> +bin/whisper-set-aggregation-method${MODPY_BIN_SUFFIX}.py
> +bin/whisper-set-xfilesfactor${MODPY_BIN_SUFFIX}.py
> +bin/whisper-update${MODPY_BIN_SUFFIX}.py
> +lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}/
> +lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}whisper.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/whisper-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
>  lib/python${MODPY_VERSION}/site-packages/whisper.py
> -lib/python${MODPY_VERSION}/site-packages/whisper.pyc
> 

Reply via email to