pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-google-api-core
Module Name: pkgsrc
Committed By: wiz
Date: Thu Sep 15 22:24:23 UTC 2022
Modified Files:
pkgsrc/devel/py-google-api-core: Makefile PLIST distinfo
Log Message:
py-google-api-core: update to 2.10.1.
Major update (from 1.x to 2.x) dropping python 2 support.
Summary of changes not found, too many to sumarize, see
https://github.com/googleapis/python-api-core/releases
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/py-google-api-core/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-google-api-core/PLIST
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/py-google-api-core/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-google-api-core/Makefile
diff -u pkgsrc/devel/py-google-api-core/Makefile:1.20 pkgsrc/devel/py-google-api-core/Makefile:1.21
--- pkgsrc/devel/py-google-api-core/Makefile:1.20 Thu Jan 27 11:48:22 2022
+++ pkgsrc/devel/py-google-api-core/Makefile Thu Sep 15 22:24:23 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2022/01/27 11:48:22 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2022/09/15 22:24:23 wiz Exp $
-DISTNAME= google-api-core-1.31.1
+DISTNAME= google-api-core-2.10.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/google-api-core/}
@@ -11,23 +10,29 @@ HOMEPAGE= https://github.com/googleapis/
COMMENT= Python support library for multiple Google libraries
LICENSE= apache-2.0
+DEPENDS+= ${PYPKGPREFIX}-googleapis-common-protos>=1.56.2:../../devel/py-googleapis-common-protos
+DEPENDS+= ${PYPKGPREFIX}-protobuf>=3.20.1:../../devel/py-protobuf
DEPENDS+= ${PYPKGPREFIX}-google-auth>=1.25.0:../../security/py-google-auth
-DEPENDS+= ${PYPKGPREFIX}-googleapis-common-protos>=1.6.0:../../devel/py-googleapis-common-protos
-DEPENDS+= ${PYPKGPREFIX}-grpcio>=1.29.0:../../net/py-grpcio
-DEPENDS+= ${PYPKGPREFIX}-packaging>=14.3:../../devel/py-packaging
-DEPENDS+= ${PYPKGPREFIX}-protobuf>=3.12.0:../../devel/py-protobuf
-DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-requests>=2.18.0:../../devel/py-requests
-DEPENDS+= ${PYPKGPREFIX}-setuptools>=40.3.0:../../devel/py-setuptools
-DEPENDS+= ${PYPKGPREFIX}-six>=1.13.0:../../lang/py-six
+DEPENDS+= ${PYPKGPREFIX}-grpcio>=1.33.2:../../net/py-grpcio
+# separate packages or part of grpcio?
+#DEPENDS+= ${PYPKGPREFIX}-grpcio-status>=1.33.2:../../net/py-grpcio-status
+#DEPENDS+= ${PYPKGPREFIX}-grpcio-gcp>=0.2.2:../../net/py-grpcio-gcp
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= # none
-# all fail, even after 'make install', with:
-# ModuleNotFoundError: No module named 'google.api_core'
+# uses 'proto' module which is not provided
+# https://github.com/googleapis/python-api-core/issues/448
+pre-test:
+ ${RM} -f ${WRKSRC}/tests/unit/test_rest_streaming.py
+
+# needs to be installed for testing
+# as of 2.10.1:
+# 7 failed, 559 passed, 71 skipped, 138 warnings
TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
Index: pkgsrc/devel/py-google-api-core/PLIST
diff -u pkgsrc/devel/py-google-api-core/PLIST:1.3 pkgsrc/devel/py-google-api-core/PLIST:1.4
--- pkgsrc/devel/py-google-api-core/PLIST:1.3 Mon Oct 5 21:12:19 2020
+++ pkgsrc/devel/py-google-api-core/PLIST Thu Sep 15 22:24:23 2022
@@ -1,12 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2020/10/05 21:12:19 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/${EGG_NAME}-nspkg.pth
+@comment $NetBSD: PLIST,v 1.4 2022/09/15 22:24:23 wiz Exp $
${PYSITELIB}/google/api_core/__init__.py
${PYSITELIB}/google/api_core/__init__.pyc
${PYSITELIB}/google/api_core/__init__.pyo
@@ -25,6 +17,9 @@ ${PYSITELIB}/google/api_core/datetime_he
${PYSITELIB}/google/api_core/exceptions.py
${PYSITELIB}/google/api_core/exceptions.pyc
${PYSITELIB}/google/api_core/exceptions.pyo
+${PYSITELIB}/google/api_core/extended_operation.py
+${PYSITELIB}/google/api_core/extended_operation.pyc
+${PYSITELIB}/google/api_core/extended_operation.pyo
${PYSITELIB}/google/api_core/future/__init__.py
${PYSITELIB}/google/api_core/future/__init__.pyc
${PYSITELIB}/google/api_core/future/__init__.pyo
@@ -82,6 +77,9 @@ ${PYSITELIB}/google/api_core/operation_a
${PYSITELIB}/google/api_core/operations_v1/__init__.py
${PYSITELIB}/google/api_core/operations_v1/__init__.pyc
${PYSITELIB}/google/api_core/operations_v1/__init__.pyo
+${PYSITELIB}/google/api_core/operations_v1/abstract_operations_client.py
+${PYSITELIB}/google/api_core/operations_v1/abstract_operations_client.pyc
+${PYSITELIB}/google/api_core/operations_v1/abstract_operations_client.pyo
${PYSITELIB}/google/api_core/operations_v1/operations_async_client.py
${PYSITELIB}/google/api_core/operations_v1/operations_async_client.pyc
${PYSITELIB}/google/api_core/operations_v1/operations_async_client.pyo
@@ -91,6 +89,18 @@ ${PYSITELIB}/google/api_core/operations_
${PYSITELIB}/google/api_core/operations_v1/operations_client_config.py
${PYSITELIB}/google/api_core/operations_v1/operations_client_config.pyc
${PYSITELIB}/google/api_core/operations_v1/operations_client_config.pyo
+${PYSITELIB}/google/api_core/operations_v1/pagers.py
+${PYSITELIB}/google/api_core/operations_v1/pagers.pyc
+${PYSITELIB}/google/api_core/operations_v1/pagers.pyo
+${PYSITELIB}/google/api_core/operations_v1/transports/__init__.py
+${PYSITELIB}/google/api_core/operations_v1/transports/__init__.pyc
+${PYSITELIB}/google/api_core/operations_v1/transports/__init__.pyo
+${PYSITELIB}/google/api_core/operations_v1/transports/base.py
+${PYSITELIB}/google/api_core/operations_v1/transports/base.pyc
+${PYSITELIB}/google/api_core/operations_v1/transports/base.pyo
+${PYSITELIB}/google/api_core/operations_v1/transports/rest.py
+${PYSITELIB}/google/api_core/operations_v1/transports/rest.pyc
+${PYSITELIB}/google/api_core/operations_v1/transports/rest.pyo
${PYSITELIB}/google/api_core/page_iterator.py
${PYSITELIB}/google/api_core/page_iterator.pyc
${PYSITELIB}/google/api_core/page_iterator.pyo
@@ -103,6 +113,13 @@ ${PYSITELIB}/google/api_core/path_templa
${PYSITELIB}/google/api_core/protobuf_helpers.py
${PYSITELIB}/google/api_core/protobuf_helpers.pyc
${PYSITELIB}/google/api_core/protobuf_helpers.pyo
+${PYSITELIB}/google/api_core/py.typed
+${PYSITELIB}/google/api_core/rest_helpers.py
+${PYSITELIB}/google/api_core/rest_helpers.pyc
+${PYSITELIB}/google/api_core/rest_helpers.pyo
+${PYSITELIB}/google/api_core/rest_streaming.py
+${PYSITELIB}/google/api_core/rest_streaming.pyc
+${PYSITELIB}/google/api_core/rest_streaming.pyo
${PYSITELIB}/google/api_core/retry.py
${PYSITELIB}/google/api_core/retry.pyc
${PYSITELIB}/google/api_core/retry.pyo
@@ -115,3 +132,11 @@ ${PYSITELIB}/google/api_core/timeout.pyo
${PYSITELIB}/google/api_core/version.py
${PYSITELIB}/google/api_core/version.pyc
${PYSITELIB}/google/api_core/version.pyo
+${PYSITELIB}/${EGG_NAME}-nspkg.pth
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
Index: pkgsrc/devel/py-google-api-core/distinfo
diff -u pkgsrc/devel/py-google-api-core/distinfo:1.19 pkgsrc/devel/py-google-api-core/distinfo:1.20
--- pkgsrc/devel/py-google-api-core/distinfo:1.19 Tue Oct 26 10:18:31 2021
+++ pkgsrc/devel/py-google-api-core/distinfo Thu Sep 15 22:24:23 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2021/10/26 10:18:31 nia Exp $
+$NetBSD: distinfo,v 1.20 2022/09/15 22:24:23 wiz Exp $
-BLAKE2s (google-api-core-1.31.1.tar.gz) = 9ec292f5de7846eed1c4ab09baa3b1bac7c5afa531e50950380258862a35dfd7
-SHA512 (google-api-core-1.31.1.tar.gz) = e8c64e5d5febbb691275f26985a54fb0cbea3530d65cef724cc26ed12bfcc658cdcfb04f9dda8ad3ddd2c64368f8281dd07057f942b5e7f7bfb8aca53aa49300
-Size (google-api-core-1.31.1.tar.gz) = 96056 bytes
+BLAKE2s (google-api-core-2.10.1.tar.gz) = 2142d78c64cd3524ffe360d245f1931322000f9d389432081e567868b3435ca9
+SHA512 (google-api-core-2.10.1.tar.gz) = 991de11f9ba5ec2efc7991050015b5a795392302619daac2fa3562b7a065f5fd342ed366879fec97504405845e4189cad5c0e52419ecd24ceb5135f5d3d44241
+Size (google-api-core-2.10.1.tar.gz) = 123653 bytes
Home |
Main Index |
Thread Index |
Old Index