forked from pool/python-dropbox
* Added comments to legalHoldPolicy struct * Add more detailed comments to LegalHoldsListHeldRevisionResult * Fix misc typos in comments * Add optional EventTypeArg event_type to GetTeamEventsArg struct * Add invalid_filters to GetTeamEventsError union * Add deprecated tag to was_linked_apps_truncated, was_linked_devices_truncated, was_link_shared_folders_truncated parameters in JoinTeamDetails struct * Added the EventTypeArg union * Update comment for retain_team_shares arg of MembersRemoveArg * Fix bug in constructor for OAuth object (expires_in -> expiration) * Remove oauth examples from code and redirect to examples folder * Bug Fix to add timeout parameter to Refresh Token calls * added a new route property is_cloud_doc_auth indicating whether the endpoint is a Dropbox cloud docs endpoint which takes cloud docs auth token. * lock_file_batch, unlock_file_batch and get_file_lock_batch are no longer preview routes * Update query description on SearchArg Struct, SearchV2Arg Struct * Update move:2 and move_batch:2 route descirption * Deleted deprecated routes legal_holds/export_policy and legal_holds/export_policy_job_status/check * Added AccountState union * Added AccountLockOrUnlockedType struct * Added AccountLockOrUnlockedDetails struct * Added MemberSendInvitePolicy union * Added MemberSendInvitePolicyChangedType struct * Added MemberSendInvitePolicyChangedDetails struct * Added a new tag first_party_token_exchange to LoginMethod union * Added new tags account_lock_or_unlocked_details and member_send_invite_policy_changed_details to EventDetails union * Added new tags account_lock_or_unlocked and member_send_invite_policy_changed to EventType union * Added a new field file_size to FileOrFolderLogInfo and FileLogInfo struct * Added a new field file_count to FolderLogInfo struct * Add NoExpirationLinkGenCreateReportDetails, NoExpirationLinkGenReportFailedDetails, NoPasswordLinkGenCreateReportDetails, NoPasswordLinkGenReportFailedDetails, NoPasswordLinkViewCreateReportDetails, NoPasswordLinkViewReportFailedDetails, OutdatedLinkViewCreateReportDetails, OutdatedLnkViewReportFailedDetails structs to the EventDetails union * Add NoExpirationLinkGenCreateReportType, NoExpirationLinkGenReportFailedType, NoPasswordLinkGenCreateReportType, NoPasswordLinkGenReportFailedType, NoPasswordLinkViewCreateReportType, NoPasswordLinkViewReportFailedType, OutdatedLinkViewCreateReportType, OutdatedLinkViewReportFailedType structs to the EventType union * Add get_content, get_metadata, rename, unlock, and lock routes * Add corresponding args, results, and errors * Update AddPropertiesArg description * Add duplicate_property_groups to InvalidPropertyGroupError Union * Update property_groups description on AddPropertiesError Union * Update SharedLinkSettings example * Update auth type string patterns * Update host string patterns * Update style string patterns * Update select_admin_mode string patterns * Add team_exceeded_legal_hold_quota to LegalHoldsPolicyCreateError union * Change LegalHoldsListHeldRevisionsError and LegalHoldsPolicyReleaseError to extend LegalHoldsError * Remove is_preview from route add, resend_verification_emails, and delete * Add support for PKCE * Add support for Short-Lived Tokens * Add support for Scopes * These features are all in beta, please contact Dropbox support if you are interested in these features * Update Requirements.txt * Add Github action to auto-publish to pypi * DropboxOAuth2Flow consumer_secret parameter moved to end of constructor as it became optional with support of PKCE * Assertions in constructors have been mapped to their BadInputException OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dropbox?expand=0&rev=7
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.2.0
|
|
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
|