Accepting request 812930 from home:mcalabkova:branches:Application:Geo
- Update to 4.4.1 * Add support for Maps Static API * Adding support for passing in experience_id to Client class * Python 2 is no longer supported * Removed place fields: alt_id, id, reference, and scope. * APIError.__str__ should always return a str * Tests for distribution tar as part of CI * Support for subfields such as geometry/location and geometry/viewport in Places. * Switched build system to use nox, pytest, and codecov. OBS-URL: https://build.opensuse.org/request/show/812930 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-googlemaps?expand=0&rev=5
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e13d8f4101f033bc39d76ade52f99977f077814d79087794735d1bb71f35dcc2
|
||||
size 24705
|
||||
3
googlemaps-4.4.1.tar.gz
Normal file
3
googlemaps-4.4.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6f9b1782bf2ac31cff1316401be2625cccdc54d9ec20674c7c157a9e248875b
|
||||
size 46724
|
||||
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 9 12:21:45 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- Update to 4.4.1
|
||||
* Add support for Maps Static API
|
||||
* Adding support for passing in experience_id to Client class
|
||||
* Python 2 is no longer supported
|
||||
* Removed place fields: alt_id, id, reference, and scope.
|
||||
* APIError.__str__ should always return a str
|
||||
* Tests for distribution tar as part of CI
|
||||
* Support for subfields such as geometry/location and geometry/viewport in Places.
|
||||
* Switched build system to use nox, pytest, and codecov.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 12:37:28 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-googlemaps
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -17,15 +17,16 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-googlemaps
|
||||
Version: 3.0.2
|
||||
Version: 4.4.1
|
||||
Release: 0
|
||||
Summary: Python client library for Google Maps API Web Services
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/googlemaps/google-maps-services-python
|
||||
Source: https://files.pythonhosted.org/packages/source/g/googlemaps/googlemaps-%{version}.tar.gz
|
||||
BuildRequires: %{python_module nose}
|
||||
Source: https://github.com/googlemaps/google-maps-services-python/archive/v%{version}.tar.gz#/googlemaps-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests >= 2.20.0}
|
||||
BuildRequires: %{python_module responses >= 0.3}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -40,7 +41,9 @@ Geocoding, reverse geocoding, driving directions, and local search in
|
||||
Python via Google.
|
||||
|
||||
%prep
|
||||
%setup -q -n googlemaps-%{version}
|
||||
%setup -q -n google-maps-services-python-%{version}
|
||||
# do not require coverage
|
||||
sed -i 's/--cov.*$//' setup.cfg
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -50,10 +53,12 @@ Python via Google.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v
|
||||
# the tests catch ApiError, which means they have to connect to the actual GoogleMaps (and they get no internet for it)
|
||||
%pytest -k "not (test_elevation_along_path_single or test_transit_without_time)"
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md CHANGELOG.md
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user