Accepting request 612087 from devel:languages:python:misc

Google Spreadsheets Python API

OBS-URL: https://build.opensuse.org/request/show/612087
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gspread?expand=0&rev=1
This commit is contained in:
Todd R 2018-05-24 21:05:46 +00:00 committed by Git OBS Bridge
commit ac57d2dcc6
5 changed files with 142 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
gspread-3.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ec04e710bb95e93077612103cd48473faafc10f2f3080dc8a33197989cbf318
size 19287

48
python-gspread.changes Normal file
View File

@ -0,0 +1,48 @@
-------------------------------------------------------------------
Thu May 24 17:34:22 UTC 2018 - toddrme2178@gmail.com
- Update to 3.0.0
* This version drops Google Sheets API v3 support.
> API v4 was the default backend since version 2.0.0.
> All v4-related code has been moved from `gspread.v4` module to `gspread` module.
- Update to 2.1.1
* Fixed #533 (#534 by @reallistic)
- Update to 2.1.0
* URL encode the range in the value_* functions (#530 by @aiguofer)
* Open team drive sheets by name (#527 by @ryantuck)
- Update to 2.0.1
* Fixed #518
* Include v4 in setup.py
* Fetch all spreadsheets in Spreadsheet.list_spreadsheet_files (#522 by @aiguofer)
- Update to 2.0.0
* Ported the library to Google Sheets API v4.
This is a transition release. The v3-related code is untouched,
but v4 is used by default. It is encouraged to move to v4 since
the API is faster and has more features.
API v4 is a significant change from v3. Some methods are not
backward compatible, so there's no support for this compatibility
in gspread either.
These methods and properties are not supported in v4:
> `Spreadsheet.updated`
> `Worksheet.updated`
> `Worksheet.export()`
> `Cell.input_value`
- Spec file cleanups
-------------------------------------------------------------------
Fri Sep 1 12:23:03 UTC 2017 - alarrosa@suse.com
- Fixed Source url
-------------------------------------------------------------------
Fri Aug 18 11:39:17 UTC 2017 - alarrosa@suse.com
- Update to python-gspread 0.6.2
* See https://github.com/burnash/gspread/blob/master/HISTORY.rst
- Use singlespec macros
-------------------------------------------------------------------
Thu Sep 4 13:15:28 UTC 2014 - toddrme2178@gmail.com
- Initial version

67
python-gspread.spec Normal file
View File

@ -0,0 +1,67 @@
#
# spec file for package python-gspread
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-gspread
Version: 3.0.0
Release: 0
Summary: Google Spreadsheets Python API
License: MIT
Group: Development/Languages/Python
Url: https://github.com/burnash/gspread
Source: https://files.pythonhosted.org/packages/source/g/gspread/gspread-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module xml}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module requests >= 2.2.1}
# /SECTION
Requires: python-requests >= 2.2.1
BuildArch: noarch
%python_subpackages
%description
Super simple Google Spreadsheets Python API
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
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.md
%license LICENSE.txt
%{python_sitelib}/*
%changelog