commit ac57d2dcc60e7333bb655352b0f6acca4c6dec93323e0dd9392b0d015d2711d8 Author: Todd R Date: Thu May 24 21:05:46 2018 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gspread-3.0.0.tar.gz b/gspread-3.0.0.tar.gz new file mode 100644 index 0000000..4cc290f --- /dev/null +++ b/gspread-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec04e710bb95e93077612103cd48473faafc10f2f3080dc8a33197989cbf318 +size 19287 diff --git a/python-gspread.changes b/python-gspread.changes new file mode 100644 index 0000000..14a7d81 --- /dev/null +++ b/python-gspread.changes @@ -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 + diff --git a/python-gspread.spec b/python-gspread.spec new file mode 100644 index 0000000..ce4266b --- /dev/null +++ b/python-gspread.spec @@ -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