summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2020-05-27 12:25:16 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2020-05-27 12:25:16 +0000
commitdfd18ce5cfed02a126929cbcf90221717ca7cfb6 (patch)
tree0b227f6c29219574a0c135eab44919945eb6f50f
parent- Update to 4.3.1 (diff)
Add py-hvac 0.10.3, hashiCorp Vault API client.
PR: 246359 Submitted by: Alessando Sagratini <ale_sagra@hotmail.com>
Notes
Notes: svn path=/head/; revision=536691
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-hvac/Makefile29
-rw-r--r--devel/py-hvac/distinfo3
-rw-r--r--devel/py-hvac/pkg-descr7
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a5d9b614ceb9..2259e093f118 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4467,6 +4467,7 @@
SUBDIR += py-holidays
SUBDIR += py-http-prompt
SUBDIR += py-humanize
+ SUBDIR += py-hvac
SUBDIR += py-hypothesis
SUBDIR += py-icalendar
SUBDIR += py-ice
diff --git a/devel/py-hvac/Makefile b/devel/py-hvac/Makefile
new file mode 100644
index 000000000000..76381e1d97b7
--- /dev/null
+++ b/devel/py-hvac/Makefile
@@ -0,0 +1,29 @@
+# Created by: Alessando Sagratini <ale_sagra@hotmail.com>
+# $FreeBSD$
+
+PORTNAME= hvac
+PORTVERSION= 0.10.3
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ale_sagra@hotmail.com
+COMMENT= HashiCorp Vault API client
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyhcl>=0.3.10:devel/py-pyhcl@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>2.21.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>=1.5.0:devel/py-six@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+do-test:
+ cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m tox
+
+.include <bsd.port.mk>
diff --git a/devel/py-hvac/distinfo b/devel/py-hvac/distinfo
new file mode 100644
index 000000000000..0dfd4ec342a7
--- /dev/null
+++ b/devel/py-hvac/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1590580430
+SHA256 (hvac-0.10.3.tar.gz) = 391b558a465d1919a2862926ab9a7c6bef1f2ac2c46daf8dd5115080c42978e4
+SIZE (hvac-0.10.3.tar.gz) = 86758
diff --git a/devel/py-hvac/pkg-descr b/devel/py-hvac/pkg-descr
new file mode 100644
index 000000000000..32bca4d5039a
--- /dev/null
+++ b/devel/py-hvac/pkg-descr
@@ -0,0 +1,7 @@
+HVAC is Python client for Hashicorp Vault.
+
+Tested against the latest release, HEAD ref, and 3 previous minor versions
+counting back from the latest release of Vault.
+Current official support covers Vault v1.1.5 or later.
+
+WWW: https://pypi.org/project/hvac/