aboutsummaryrefslogtreecommitdiff
path: root/security/py-google-cloud-kms/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-google-cloud-kms/Makefile')
-rw-r--r--security/py-google-cloud-kms/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/security/py-google-cloud-kms/Makefile b/security/py-google-cloud-kms/Makefile
new file mode 100644
index 000000000000..9c4432c8f98e
--- /dev/null
+++ b/security/py-google-cloud-kms/Makefile
@@ -0,0 +1,39 @@
+PORTNAME= google-cloud-kms
+DISTVERSION= 3.7.0
+CATEGORIES= security python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSION}
+
+MAINTAINER= tagattie@FreeBSD.org
+COMMENT= Python client for Google Cloud Key Management Service
+WWW= https://pypi.org/project/google-cloud-kms/
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-api-core>=1.34.1<3.0.0:www/py-google-api-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}google-auth>=2.14.1<3.0.0:security/py-google-auth@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}grpcio>=1.33.2:devel/py-grpcio@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}proto-plus>=1.22.3<2.0.0:devel/py-proto-plus@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.20.2,1<7.0.0,1:devel/py-protobuf@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}grpc-google-iam-v1>=0.14.0<1.0.0:devel/py-grpc-google-iam-v1@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR}
+
+USES= python
+
+USE_PYTHON= autoplist distutils pytest
+PYTEST_IGNORED_TESTS= test_list_ekm_connections[grpc] \
+ test_list_ekm_connections[rest]
+
+NO_ARCH= yes
+
+PORTDOCS= README.rst
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>