git: 375c025cfbf9 - main - www/py-google-cloud-testutils: New port: Common tools used to test Python client libraries for Google APIs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Jan 2024 06:40:31 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=375c025cfbf9cc8eef099734eae50242c04e8a64 commit 375c025cfbf9cc8eef099734eae50242c04e8a64 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-01-25 06:27:20 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-01-25 06:40:21 +0000 www/py-google-cloud-testutils: New port: Common tools used to test Python client libraries for Google APIs --- www/Makefile | 1 + www/py-google-cloud-testutils/Makefile | 25 +++++++++++++++++++++++++ www/py-google-cloud-testutils/distinfo | 3 +++ www/py-google-cloud-testutils/pkg-descr | 2 ++ 4 files changed, 31 insertions(+) diff --git a/www/Makefile b/www/Makefile index 6bc7abff216f..0bb9eab42430 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/py-google-cloud-testutils/Makefile b/www/py-google-cloud-testutils/Makefile new file mode 100644 index 000000000000..beb9963e69e5 --- /dev/null +++ b/www/py-google-cloud-testutils/Makefile @@ -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> diff --git a/www/py-google-cloud-testutils/distinfo b/www/py-google-cloud-testutils/distinfo new file mode 100644 index 000000000000..f62932147016 --- /dev/null +++ b/www/py-google-cloud-testutils/distinfo @@ -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 diff --git a/www/py-google-cloud-testutils/pkg-descr b/www/py-google-cloud-testutils/pkg-descr new file mode 100644 index 000000000000..2c9f94709a70 --- /dev/null +++ b/www/py-google-cloud-testutils/pkg-descr @@ -0,0 +1,2 @@ +google-cloud-testutils is a collection of common tools used in system tests of +Python client libraries for Google APIs.