freebsd-ports/net-mgmt/py-prometheus-client/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

27 lines
597 B
Makefile

# $FreeBSD$
PORTNAME= prometheus-client
PORTVERSION= 0.2.0
DISTVERSIONPREFIX= v
CATEGORIES= net-mgmt python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= pizzamig@FreeBSD.org
COMMENT= Official Python client for Prometheus
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=17.9.0:devel/py-twisted@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=17.9.0:devel/py-twisted@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
USE_GITHUB= yes
GH_ACCOUNT= prometheus
GH_PROJECT= client_python
NO_ARCH= yes
.include <bsd.port.mk>