freebsd-ports/sysutils/py-consul/Makefile
John Hixson 3dac51901b sysutils/py-consul: allow python 2.7 to be used
PR:		228284
Approved by:	araujo (mentor)
Differential Revision:	https://reviews.freebsd.org/D18781
2019-01-08 08:16:47 +00:00

30 lines
757 B
Makefile

# $FreeBSD$
PORTNAME= consul
PORTVERSION= 1.1.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= sysutils
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jhixson@FreeBSD.org
COMMENT= Python client for consul
LICENSE= MIT
BUILD_DEPENDS= ${LOCALBASE}/bin/consul:sysutils/consul \
${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR}
RUN_DEPENDS= ${LOCALBASE}/bin/consul:sysutils/consul \
${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR}
USES= python:2.7-3.6+
USE_GITHUB= yes
GH_ACCOUNT= cablehead
GH_PROJECT= python-consul
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>