Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jayvdb:branches:devel:languages:python
python-gspread
python-gspread.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-gspread.spec of Package python-gspread
# # spec file for package python-gspread # # 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-gspread Version: 3.6.0 Release: 0 Summary: Google Spreadsheets Python API License: MIT Group: Development/Languages/Python URL: https://github.com/burnash/gspread Source: https://github.com/burnash/gspread/archive/v%{version}.tar.gz#/gspread-%{version}.tar.gz # needs betamax-json-body-serializer that does not exist on pypi anywhere # https://github.com/burnash/betamax-json-body-serializer/issues/1 Source1: https://raw.githubusercontent.com/burnash/betamax-json-body-serializer/master/betamax_json_body_serializer.py BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-google-auth Requires: python-google-auth-oauthlib >= 0.4.1 Requires: python-requests >= 2.2.1 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module betamax} BuildRequires: %{python_module google-auth-oauthlib >= 0.4.1} BuildRequires: %{python_module google-auth} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.2.1} BuildRequires: %{python_module xml} # /SECTION %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} cp %{SOURCE1} . %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # https://github.com/burnash/gspread/issues/737 export GS_RECORD_MODE=none # Many failures are KeyError: 'addSheet' # A few others are related to betamax %pytest tests/test.py -k 'not (WorksheetTest or CellTest or test_add_del_worksheet or test_values_batch_get or test_values_get or test_worksheet_iteration)' %files %{python_files} %doc README.md %license LICENSE.txt %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor