15
0
Files
python-gspread/python-gspread.spec
Dirk Mueller 53b8f863dd - update to 5.12.4:
* Fixed default value of merge_type parameter in merge_cells
    function docstring.
  * 1363 get all records retrieves a large number of empty rows
    after the end of the data
  * Many fixes for get_records
  * change worksheet.update migration guide
  * feature/readme migration v6
  * add deprecation warnings for lastUpdateTime...
  * remove use_index and references to it in get_records
  * make deprecation warning dependent on if kwarg is used for
    client_factory
  * fix 1352 expected headers broken
  * fix combine_merged_cells when using from a range that doesn't
    start at A1
  * feature -- adding worksheet.get_records to get specific row
    ranges
  * Fix list_spreadsheet_files return value
  * Fix warning message for worksheet.update method
  * change lambda function to dict (fix pyupgrade issue)
  * allows users to silence deprecation warnings
  * Add maintain_size to keep asked for size in get, get_values
  * Fix list_spreadsheet_files return value by @mephinet in
  * Fix merge_combined_cells in get_values (AND 5.11.2 RELEASE)
  * remove Drive API access on Spreadsheet init (FIX - VERSION
    5.11.1)
  * add docs/build to .gitignore
  * add release process to CONTRIBUTING.md
  * add test_fill_gaps and docstring for fill_gaps
  * Remove API calls from creationTime/lastUpdateTime

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gspread?expand=0&rev=23
2024-01-13 21:08:30 +00:00

72 lines
2.1 KiB
RPMSpec

#
# spec file for package python-gspread
#
# Copyright (c) 2024 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-gspread
Version: 5.12.4
Release: 0
Summary: Google Spreadsheets Python API
License: MIT
URL: https://github.com/burnash/gspread
Source: https://github.com/burnash/gspread/archive/v%{version}.tar.gz
BuildRequires: %{python_module betamax}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module google-auth-oauthlib >= 0.4.1}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module xml}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-auth >= 1.12.0
Requires: python-google-auth-oauthlib >= 0.4.1
BuildArch: noarch
%python_subpackages
%description
A Python module to access Google Spreadsheets.
Features
--------
* Google Sheets API v4.
* Open a spreadsheet by its *title*, *url* or *key*.
* Select cells by labels, e.g. 'A1'.
* Extract range, entire row or column values.
* Python 3 support.
%prep
%setup -q -n gspread-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# needs betamax-json-body-serializer that does not exist on pypi anywhere
#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v
%files %{python_files}
%doc README.md
%license LICENSE.txt
%{python_sitelib}/*
%changelog