17
0

Accepting request 685350 from Application:Geo

- Update to 3.0.2:
  * no upstream changelog (forwarded request 685349 from scarabeus_iv)

OBS-URL: https://build.opensuse.org/request/show/685350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-googlemaps?expand=0&rev=3
This commit is contained in:
2019-03-18 09:39:08 +00:00
committed by Git OBS Bridge
parent ea2a6cbf50
commit c2b47faa0c
5 changed files with 19 additions and 191 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-googlemaps
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -18,25 +18,21 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-googlemaps
Version: 2.5.1
Version: 3.0.2
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
URL: https://github.com/googlemaps/google-maps-services-python
Source: https://files.pythonhosted.org/packages/source/g/googlemaps/googlemaps-%{version}.tar.gz
Source10: https://raw.githubusercontent.com/googlemaps/google-maps-services-python/%{version}/LICENSE
BuildRequires: %{python_module requests >= 2.11.1}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module requests >= 2.20.0}
BuildRequires: %{python_module responses >= 0.3}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module nose}
BuildRequires: %{python_module responses >= 0.3}
# /SECTION
Requires: python-requests >= 2.11.1
Requires: python-requests >= 2.20.0
BuildArch: noarch
%python_subpackages
%description
@@ -45,7 +41,6 @@ Python via Google.
%prep
%setup -q -n googlemaps-%{version}
cp %{SOURCE10} .
%build
%python_build
@@ -54,6 +49,9 @@ cp %{SOURCE10} .
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v
%files %{python_files}
%license LICENSE
%{python_sitelib}/*