summaryrefslogtreecommitdiff
path: root/sysutils/py-python-consul/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/py-python-consul/Makefile')
-rw-r--r--sysutils/py-python-consul/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/sysutils/py-python-consul/Makefile b/sysutils/py-python-consul/Makefile
new file mode 100644
index 000000000000..8c373f4f7990
--- /dev/null
+++ b/sysutils/py-python-consul/Makefile
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME= python-consul
+PORTVERSION= 1.1.0
+DISTVERSIONPREFIX= v
+PORTREVISION= 1
+CATEGORIES= sysutils python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jhixson@FreeBSD.org
+COMMENT= Python client for consul
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+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_PYTHON= distutils autoplist
+
+USE_GITHUB= yes
+GH_ACCOUNT= cablehead
+
+.include <bsd.port.mk>