aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-01-25 06:27:20 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-01-25 06:40:21 +0000
commit375c025cfbf9cc8eef099734eae50242c04e8a64 (patch)
tree3dfd689e42d8b91130c3e82d7ca6ab5434c905b6
parentaf7960e0fd989cdf937e631172a64a81ab621869 (diff)
downloadports-375c025cfbf9cc8eef099734eae50242c04e8a64.tar.gz
ports-375c025cfbf9cc8eef099734eae50242c04e8a64.zip
www/py-google-cloud-testutils: New port: Common tools used to test Python client libraries for Google APIs
-rw-r--r--www/Makefile1
-rw-r--r--www/py-google-cloud-testutils/Makefile25
-rw-r--r--www/py-google-cloud-testutils/distinfo3
-rw-r--r--www/py-google-cloud-testutils/pkg-descr2
4 files changed, 31 insertions, 0 deletions
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.