www/py-google-cloud-testutils: New port: Common tools used to test Python client libraries for Google APIs

This commit is contained in:
Yuri Victorovich 2024-01-24 22:27:20 -08:00
parent af7960e0fd
commit 375c025cfb
4 changed files with 31 additions and 0 deletions

View file

@ -1690,6 +1690,7 @@
SUBDIR += py-google-cloud-resource-manager
SUBDIR += py-google-cloud-speech
SUBDIR += py-google-cloud-storage
SUBDIR += py-google-cloud-testutils
SUBDIR += py-google-cloud-translate
SUBDIR += py-google-cloud-vision
SUBDIR += py-google-resumable-media

View file

@ -0,0 +1,25 @@
PORTNAME= google-cloud-testutils
DISTVERSION= 1.4.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Common tools used to test Python client libraries for Google APIs
WWW= https://github.com/googleapis/python-test-utils
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7.0.0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}google-auth>=0.4.0:security/py-google-auth@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=19.0:devel/py-packaging@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}test-utils>0:devel/py-test-utils@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils pytest # 10 tests fail, see https://github.com/googleapis/python-test-utils/issues/168
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1706163450
SHA256 (google-cloud-testutils-1.4.0.tar.gz) = d68a1c22e2acb28500d69d9dc61a85cbe9c98c9b69e298704271cdfcbf3c0bcb
SIZE (google-cloud-testutils-1.4.0.tar.gz) = 22211

View file

@ -0,0 +1,2 @@
google-cloud-testutils is a collection of common tools used in system tests of
Python client libraries for Google APIs.