aboutsummaryrefslogtreecommitdiff
path: root/www/py-rackspace-monitoring/Makefile
blob: d8812a38be00c8bb15fda5dc0d913ae638b91522 (plain) (blame)
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
# Created by: Kubilay Kocak <koobs@FreeBSD.org>

PORTNAME=	rackspace-monitoring
PORTVERSION=	0.6.5
CATEGORIES=	www python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	koobs@FreeBSD.org
COMMENT=	Python client library for Rackspace Cloud Monitoring

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}libcloud>=0.14:net/py-libcloud@${PY_FLAVOR}

USES=		python:3.6+
USE_PYTHON=	distutils autoplist

NO_ARCH=	yes

do-test:
	@cd ${WRKSRC} && \
	${CP} test/secrets.py-dist test/secrets.py && \
	${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

.include <bsd.port.mk>