public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/google-api-python-client] epel10: Version bump and switch to pyproject-rpm-macros
@ 2026-07-21 20:27 Mikel Olasagasti Uranga
0 siblings, 0 replies; only message in thread
From: Mikel Olasagasti Uranga @ 2026-07-21 20:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/google-api-python-client
Branch : epel10
Commit : 7d410970a14b8c2b54177bf37dce65372ee37657
Author : Mikel Olasagasti Uranga <mikel@olasagasti.info>
Date : 2021-10-25T23:19:18+02:00
Stats : +17/-36 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/google-api-python-client/c/7d410970a14b8c2b54177bf37dce65372ee37657?branch=epel10
Log:
Version bump and switch to pyproject-rpm-macros
---
diff --git a/.gitignore b/.gitignore
index 733ea16..6cd8909 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
/google-api-python-client-1.10.1.tar.gz
/google-api-python-client-1.11.0.tar.gz
/google-api-python-client-1.12.1.tar.gz
+/google-api-python-client-2.27.0.tar.gz
diff --git a/google-api-python-client.spec b/google-api-python-client.spec
index 070817d..f74e0aa 100644
--- a/google-api-python-client.spec
+++ b/google-api-python-client.spec
@@ -6,36 +6,24 @@
Name: google-api-python-client
Summary: %{sum}
Epoch: 2
-Version: 1.6.7
-Release: 16%{?dist}
+Version: 2.27.0
+Release: 1%{?dist}
License: ASL 2.0
-URL: http://github.com/googleapis/%{name}/
+URL: https://github.com/googleapis/%{name}/
Source0: https://github.com/googleapis/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: python3-devel
+BuildRequires: pyproject-rpm-macros
+
%description
Written by Google, this library provides a small, flexible, and powerful
Python client library for accessing Google APIs.
%package -n python3-%{srcname}
Summary: %{sum}
-%{?python_provide:%python_provide python3-%{srcname}}
-
-BuildRequires: python3-devel >= 3.3
-BuildRequires: python3-setuptools
-BuildRequires: python3-httplib2 >= 0.9.2
-BuildRequires: python3-oauth2client >= 2.0.0
-BuildRequires: python3-uritemplate >= 3.0.0
-BuildRequires: python3-six >= 1.6.1
-
-Requires: python3-httplib2 >= 0.9.2
-Requires: python3-oauth2client >= 2.0.0
-Requires: python3-uritemplate >= 3.0.0
-Requires: python3-six >= 1.6.1
-Requires: python3-google-api-core
-Requires: python3-google-auth-httplib2 >= 0.0.3
%description -n python3-%{srcname}
Written by Google, this library provides a small, flexible, and powerful
@@ -44,33 +32,24 @@ Python 3 client library for accessing Google APIs.
%prep
%autosetup
-# remove unusable google-api-client requires
-sed -i /google-api-core/d setup.py
-
-# remove egg info
-rm -rf google_api_python_client.egg-info
-
-# remove shebang without touching timestamp
-for lib in googleapiclient/*.py; do
- sed '1{\@^#!/usr/bin/python@d}' $lib > $lib.new &&
- touch -r $lib $lib.new &&
- mv $lib.new $lib
-done
+%generate_buildrequires
+%pyproject_buildrequires -r
%build
-%{py3_build}
+%pyproject_wheel
%install
-%{py3_install}
+%pyproject_install
+%pyproject_save_files googleapiclient apiclient
-%files -n python3-%{srcname}
+%files -n python3-%{srcname} -f %{pyproject_files}
%license LICENSE
%doc README.md
-%{python3_sitelib}/apiclient/
-%{python3_sitelib}/googleapiclient/
-%{python3_sitelib}/google_api_python_client-%{version}-py%{python3_version}.egg-info/
%changelog
+* Mon Oct 25 2021 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2:2.27.0-1
+- Version bump and switch to pyproject-rpm-macros
+
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.6.7-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
diff --git a/sources b/sources
index 81783c3..4eeb943 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
SHA512 (google-api-python-client-1.6.7.tar.gz) = c5495de5b13559f63eca78fa8cb18e8f67b108c3d5e09a393bea0657d3203e73b9cfbd43d9e2e519650e7aa5067ee3856f268136d1a91f44aa137d4c4f411ec4
+SHA512 (google-api-python-client-2.27.0.tar.gz) = 7486cb120ca726a7ba57e8629e6e369c49d1de4459986c1458d087fd1c01be2979ac0d30697d50adbb1ff67c0d262e68bb17c7f43e1148db62d04b7befe3af2f
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-21 20:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-21 20:27 [rpms/google-api-python-client] epel10: Version bump and switch to pyproject-rpm-macros Mikel Olasagasti Uranga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox