15
0

Accepting request 1274529 from home:fstegmeier:branches:devel:languages:python

- Update to 12.0.2
  * Remove the pin for urllib3 (#507)
  * Fix incorrect pin of requests (#505)
- Update to 12.0.0
  * Fixes to Restore CI (#492, #501)
  * Fixes to doc generation (#500, #503)
  * Manual Spec Update (#498)
  * Stop providing a hardcoded CA bundle (#489, #499)
- Update to 11.36.2
  * Fix invalid specifier in stone requirement (#456)
  * Added _ca_certs property to _SSLAdapter to properly support pickling (broke in SDK v11.33) (#440)
  * Add ca_certs argument for oauth and dropbox client (#385)
  * [Setup] Update deprecated description-file to use description_file (#410)
  * Add scopes to documentation (#408)
  * Ensure Dropbox error is thrown in refresh access token (#407)
  * Fix CI test environment (#391)
  * Add integration tests to the test suite (#377)
  * Refresh access token when using a very old short-lived access token with unknown expiration (#352)
  * Bump actions/setup-python from v2.2.1 to v2.2.2 (#342)
  * Bump codecov/codecov-action from v1.2.1 to v1.3.2 (#339)
  * Update Release Notes Generator to Fetch Latest Tags (#341)
  * Fix status classifier in setup.py (#334)
  * Fix setup.py dependencies by removing pull from requirements.txt (#333)
  * Move requirements.txt and test/requirements.txt as source of truth (#329)
  * Update dropbox reference to link to the new name to fix documentation (#328)
  * Fix and update build step for Python2.7 (#326)
  * Fix DropboxOAuth2Flow Documentation Parameters (#325)
  * Bump peter-evans/create-pull-request from v3.7.0 to v3.8.2 (#322)
  * Bump peter-evans/create-pull-request from v3.5.1 to v3.7.0 (#318)
  * Bump codecov/codecov-action from v1.0.15 to v1.2.1 (#315)

OBS-URL: https://build.opensuse.org/request/show/1274529
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dropbox?expand=0&rev=14
This commit is contained in:
2025-05-05 13:21:55 +00:00
committed by Git OBS Bridge
parent cdb13d00b7
commit 0b0e0991d9
5 changed files with 221 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-dropbox
#
# Copyright (c) 2024 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
@@ -18,23 +18,22 @@
%{?sle15_python_module_pythons}
Name: python-dropbox
Version: 10.4.1
Version: 12.0.2
Release: 0
Summary: Official Dropbox API Client
License: MIT
Group: Development/Languages/Python
URL: https://github.com/dropbox/dropbox-sdk-python
Source: https://files.pythonhosted.org/packages/source/d/dropbox/dropbox-%{version}.tar.gz
Source: https://github.com/dropbox/dropbox-sdk-python/archive/refs/tags/v%{version}.tar.gz#/dropbox-%{version}.tar.gz
# PATCH-FIX-UPSTREAM remove_six.patch https://github.com/dropbox/dropbox-sdk-python/pull/493
Patch1: remove_six.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.16.2}
BuildRequires: %{python_module six >= 1.3.0}
# /SECTION
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-requests >= 2.16.2
Requires: python-six >= 1.3.0
Requires: python-stone
BuildArch: noarch
%python_subpackages
@@ -43,15 +42,13 @@ BuildArch: noarch
Official Dropbox API Client
%prep
%setup -q -n dropbox-%{version}
# https://github.com/dropbox/dropbox-sdk-python/issues/401
sed -i 's:pytest-runner::' setup.py
%autosetup -p1 -n dropbox-sdk-python-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Tests require an access token
@@ -59,6 +56,9 @@ sed -i 's:pytest-runner::' setup.py
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/dropbox
%{python_sitelib}/dropbox-%{version}.dist-info
%check
%changelog