15
0
Files
python-dropbox/python-dropbox.spec
Markéta Machová 0b0e0991d9 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
2025-05-05 13:21:55 +00:00

65 lines
1.9 KiB
RPMSpec

#
# spec file for package python-dropbox
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-dropbox
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://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_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-requests >= 2.16.2
Requires: python-stone
BuildArch: noarch
%python_subpackages
%description
Official Dropbox API Client
%prep
%autosetup -p1 -n dropbox-sdk-python-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Tests require an access token
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/dropbox
%{python_sitelib}/dropbox-%{version}.dist-info
%check
%changelog