Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pydrive2 for openSUSE:Factory
checked in at 2025-06-10 09:07:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydrive2 (Old)
and /work/SRC/openSUSE:Factory/.python-pydrive2.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pydrive2"
Tue Jun 10 09:07:00 2025 rev:6 rq:1284028 version:1.18.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pydrive2/python-pydrive2.changes
2023-12-28 23:02:30.308726841 +0100
+++
/work/SRC/openSUSE:Factory/.python-pydrive2.new.19631/python-pydrive2.changes
2025-06-10 09:09:41.530365046 +0200
@@ -1,0 +2,5 @@
+Wed Jun 4 10:13:50 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pydrive2.spec ++++++
--- /var/tmp/diff_new_pack.b5bPdk/_old 2025-06-10 09:09:42.570408054 +0200
+++ /var/tmp/diff_new_pack.b5bPdk/_new 2025-06-10 09:09:42.574408219 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pydrive2
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,33 +25,35 @@
Source:
https://files.pythonhosted.org/packages/source/P/PyDrive2/PyDrive2-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/iterative/PyDrive2/pull/221 Migrating
to Google Auth Library
Patch1: migrate-to-google-auth.patch
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: python-PyYAML >= 3.0
+Requires: python-google-api-python-client >= 1.12.5
+Requires: python-google-auth >= 2.6.6
+Requires: python-google-auth-httplib2 >= 0.1.0
+Requires: python-google-auth-oauthlib >= 0.5.1
+Requires: python-pyOpenSSL >= 19.1.0
+BuildArch: noarch
## tests fail in OBS environment
# SECTION test requirements
+BuildRequires: %{python_module google-auth >= 2.6.6}
+BuildRequires: %{python_module google-auth-httplib2 >= 0.1.0}
+BuildRequires: %{python_module google-auth-oauthlib >= 0.5.1}
#BuildRequires: %{python_module google-api-python-client >= 1.12.5}
#BuildRequires: %{python_module PyYAML >= 3.0}
#BuildRequires: %{python_module black}
#BuildRequires: %{python_module flake8-docstrings}
#BuildRequires: %{python_module flake8}
#BuildRequires: %{python_module fsspec}
-BuildRequires: %{python_module google-auth-oauthlib >= 0.5.1}
-BuildRequires: %{python_module google-auth >= 2.6.6}
-BuildRequires: %{python_module google-auth-httplib2 >= 0.1.0}
#BuildRequires: %{python_module pyOpenSSL >= 19.1.0}
#BuildRequires: %{python_module pytest-mock}
#BuildRequires: %{python_module pytest}
#BuildRequires: %{python_module timeout-decorator}
#BuildRequires: %{python_module tqdm}
# /SECTION
-BuildRequires: fdupes
-Requires: python-PyYAML >= 3.0
-Requires: python-google-api-python-client >= 1.12.5
-Requires: python-google-auth >= 2.6.6
-Requires: python-google-auth-httplib2 >= 0.1.0
-Requires: python-google-auth-oauthlib >= 0.5.1
-Requires: python-pyOpenSSL >= 19.1.0
-BuildArch: noarch
%python_subpackages
%description
@@ -64,10 +66,10 @@
%autopatch -p1
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -76,6 +78,6 @@
%files %{python_files}
%doc CHANGES README.rst
%license LICENSE
-%{python_sitelib}/PyDrive2*-info
+%{python_sitelib}/[Pp]y[Dd]rive2*-info
%{python_sitelib}/pydrive2