summaryrefslogtreecommitdiff
path: root/databases/py-whisper/Makefile
blob: 7742526cadfc8bb10b6243c97ba53ece32ef4c4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: Makefile,v 1.8 2019/08/11 18:08:01 adam Exp $

DISTNAME=	whisper-1.1.5
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	databases python
MASTER_SITES=	${MASTER_SITE_PYPI:=w/whisper/}

MAINTAINER=	riz@NetBSD.org
HOMEPAGE=	https://github.com/graphite-project/whisper
COMMENT=	Fixed-size database, similar in design to RRD
LICENSE=	apache-2.0

DEPENDS+=	${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six

USE_LANGUAGES=	# none

post-install:
.for bin in 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
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} ${bin}.py ${bin}-${PYVERSSUFFIX} || ${TRUE}
.endfor

.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"