From 95b5e751ffc7cd327ffb92b4e6f232bbd4a7d1e231bdc2efe69cb1f2a3dfd6f8 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 17 Dec 2023 20:02:18 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-core?expand=0&rev=1 --- google-cloud-core-2.3.3.tar.gz | 3 +++ google-cloud-core-2.4.1.tar.gz | 3 --- python-google-cloud-core.changes | 15 +++------------ python-google-cloud-core.spec | 23 ++++++++++++++--------- 4 files changed, 20 insertions(+), 24 deletions(-) create mode 100644 google-cloud-core-2.3.3.tar.gz delete mode 100644 google-cloud-core-2.4.1.tar.gz diff --git a/google-cloud-core-2.3.3.tar.gz b/google-cloud-core-2.3.3.tar.gz new file mode 100644 index 0000000..b94074d --- /dev/null +++ b/google-cloud-core-2.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37b80273c8d7eee1ae816b3a20ae43585ea50506cb0e60f3cf5be5f87f1373cb +size 35242 diff --git a/google-cloud-core-2.4.1.tar.gz b/google-cloud-core-2.4.1.tar.gz deleted file mode 100644 index d770240..0000000 --- a/google-cloud-core-2.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9b7749272a812bde58fff28868d0c5e2f585b82f37e09a1f6ed2d4d10f134073 -size 35587 diff --git a/python-google-cloud-core.changes b/python-google-cloud-core.changes index be26515..11beb3b 100644 --- a/python-google-cloud-core.changes +++ b/python-google-cloud-core.changes @@ -1,12 +1,3 @@ -------------------------------------------------------------------- -Sat Dec 16 19:44:57 UTC 2023 - Dirk Müller - -- update to 2.4.1: - * Fix regression with `google.cloud._helpers._NOW` (#266) - * Add support for Python 3.12 (#256) - * Introduce compatibility with native namespace packages (#260) -- switch to new python stack for SLE15 - ------------------------------------------------------------------- Tue Jul 18 10:00:41 UTC 2023 - John Paul Adrian Glaubitz @@ -48,7 +39,7 @@ Tue Aug 3 00:43:52 UTC 2021 - Steve Kowalik - Update to 1.7.2: * pass kwargs through in 'from_service_account_json' (#109) (efc4bbf) * add 'Client.close' (#100) (7387fc8) - * add 'Client.from_service_account_info' factory (#54) (7e59360) + * add 'Client.from_service_account_info' factory (#54) (7e59360) - Actually use %pytest macro for testing ------------------------------------------------------------------- @@ -62,7 +53,7 @@ Tue Apr 6 07:45:12 UTC 2021 - Dirk Müller * avoid using 'pkg_resources' to determine version * handle query_params tuples in JSONConnection.build_api_url * add quota_project, credentials file, and scopes options - * add support for Python 3.8 + * add support for Python 3.8 ------------------------------------------------------------------- Mon Apr 20 11:50:58 UTC 2020 - Tomáš Chvátal @@ -90,7 +81,7 @@ Thu May 16 18:06:22 UTC 2019 - kwu@suse.com * Remove classifier for Python 3.4 for end-of-life. (#7535) * Refactor client_info support. (#7849) * Update dep on api_core >= 1.11.0. (#7986) - * Updated client library documentation URLs. (#7307) + * Updated client library documentation URLs. (#7307) ------------------------------------------------------------------- Mon Feb 18 03:39:34 UTC 2019 - John Vandenberg diff --git a/python-google-cloud-core.spec b/python-google-cloud-core.spec index 256efa2..74927d4 100644 --- a/python-google-cloud-core.spec +++ b/python-google-cloud-core.spec @@ -16,27 +16,33 @@ # -%{?sle15_python_module_pythons} +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-google-cloud-core -Version: 2.4.1 +Version: 2.3.3 Release: 0 Summary: Google Cloud API client core library License: Apache-2.0 URL: https://github.com/googleapis/python-cloud-core Source: https://files.pythonhosted.org/packages/source/g/google-cloud-core/google-cloud-core-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module google-api-core >= 1.31.6} BuildRequires: %{python_module google-auth >= 1.25.0} BuildRequires: %{python_module grpcio >= 1.38.0} -BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module wheel} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-google-api-core >= 1.31.6 Requires: python-google-auth >= 1.25.0 +Requires: python-six >= 1.12.0 Recommends: python-grpcio >= 1.38.0 BuildArch: noarch +%if %{with python2} +BuildRequires: python-futures +%endif +%ifpython2 +Requires: python-futures >= 3.2.0 +%endif %python_subpackages %description @@ -49,10 +55,10 @@ common helpers (e.g. base ``Client`` classes) used by all of the %setup -q -n google-cloud-core-%{version} %build -%pyproject_wheel +%python_build %install -%pyproject_install +%python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -62,7 +68,6 @@ export PYTEST_ADDOPTS="--import-mode=importlib" %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/google/cloud -%{python_sitelib}/google_cloud_core-%{version}.dist-info +%{python_sitelib}/* %changelog