forked from pool/python-dropbox
* Fix bug with client copy * Fix bug with team client as_user and as_admin * Fix Python 3 linter issue * Update tox.ini to check python 3.7 and 3.8 * Update setup.py to support python 3.7 and 3.8 * Remove stone as submodule and add as dependency * Update Spec * Files Namespace * Add internal_error to SearchError union. * Add locked to LookupError union. * Add cant_move_into_vault to RelocationError union. * Add MoveIntoVaultError union. * Add SearchMatchFieldOptions struct. * Add optional match_field_options to SearchV2Arg struct. * Doc/example changes. * Sharing Namespace * Add is_vault to SharePathError union. * Add invalid_shared_folder to AddFolderMemberError union. * Team Namespace * Make members field of LegalHoldsPolicyUpdateArg struct optional. * Add app_folder_removal_not_supported to RevokeLinkedAppError union. * Doc/example changes. * Add auto_approve to InviteMethod union. * Add moved_from_another_team to InviteMethod union. * Add moved_from_another_team to MemberStatus union. * Add no_one to SharedLinkVisibility union. * Add optional new_team to MemberChangeStatusDetails struct. * Add optional previous_team to MemberChangeStatusDetails struct. * Add external_sharing_create_report_details to EventDetails union. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dropbox?expand=0&rev=9
64 lines
1.8 KiB
RPMSpec
64 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package python-dropbox
|
|
#
|
|
# Copyright (c) 2020 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/
|
|
#
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
Name: python-dropbox
|
|
Version: 10.4.1
|
|
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
|
|
BuildRequires: %{python_module pytest-runner}
|
|
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: fdupes
|
|
Requires: python-requests >= 2.16.2
|
|
Requires: python-six >= 1.3.0
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
%description
|
|
Official Dropbox API Client
|
|
|
|
%prep
|
|
%setup -q -n dropbox-%{version}
|
|
|
|
%build
|
|
%python_build
|
|
|
|
%install
|
|
%python_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
# Tests require an access token
|
|
|
|
%files %{python_files}
|
|
%doc README.rst
|
|
%license LICENSE
|
|
%{python_sitelib}/*
|
|
|
|
%changelog
|