forked from pool/python-pydrive2
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydrive2?expand=0&rev=12
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 4 10:13:50 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 26 20:28:13 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Tue Dec 26 20:28:13 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pydrive2
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -25,26 +25,11 @@ URL: https://github.com/iterative/PyDrive2
|
|||||||
Source: https://files.pythonhosted.org/packages/source/P/PyDrive2/PyDrive2-%{version}.tar.gz
|
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
|
# PATCH-FIX-UPSTREAM https://github.com/iterative/PyDrive2/pull/221 Migrating to Google Auth Library
|
||||||
Patch1: migrate-to-google-auth.patch
|
Patch1: migrate-to-google-auth.patch
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: %{python_module wheel}
|
||||||
## tests fail in OBS environment
|
|
||||||
# SECTION test requirements
|
|
||||||
#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
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-PyYAML >= 3.0
|
Requires: python-PyYAML >= 3.0
|
||||||
Requires: python-google-api-python-client >= 1.12.5
|
Requires: python-google-api-python-client >= 1.12.5
|
||||||
Requires: python-google-auth >= 2.6.6
|
Requires: python-google-auth >= 2.6.6
|
||||||
@@ -52,6 +37,23 @@ Requires: python-google-auth-httplib2 >= 0.1.0
|
|||||||
Requires: python-google-auth-oauthlib >= 0.5.1
|
Requires: python-google-auth-oauthlib >= 0.5.1
|
||||||
Requires: python-pyOpenSSL >= 19.1.0
|
Requires: python-pyOpenSSL >= 19.1.0
|
||||||
BuildArch: noarch
|
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 pyOpenSSL >= 19.1.0}
|
||||||
|
#BuildRequires: %{python_module pytest-mock}
|
||||||
|
#BuildRequires: %{python_module pytest}
|
||||||
|
#BuildRequires: %{python_module timeout-decorator}
|
||||||
|
#BuildRequires: %{python_module tqdm}
|
||||||
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -64,10 +66,10 @@ By the authors and maintainers of the Git for Data - DVC project.
|
|||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Reference in New Issue
Block a user