|
|
6bbd867 |
%global pypi_name geopy
|
|
|
6bbd867 |
|
|
|
6bbd867 |
Name: python-%{pypi_name}
|
|
|
ca4c413 |
Version: 2.1.0
|
|
|
ddc918e |
Release: 5%{?dist}
|
|
|
6bbd867 |
Summary: Python client for several popular geocoding web services
|
|
|
6bbd867 |
|
|
|
6bbd867 |
License: MIT
|
|
|
6bbd867 |
URL: https://geopy.readthedocs.io
|
|
|
6bbd867 |
Source0: https://github.com/geopy/geopy/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
|
|
6bbd867 |
BuildArch: noarch
|
|
|
6bbd867 |
|
|
|
6bbd867 |
%description
|
|
|
6bbd867 |
geopy makes it easy for Python developers to locate the coordinates of
|
|
|
6bbd867 |
addresses, cities, countries, and landmarks across the globe using third-
|
|
|
6bbd867 |
party geocoders and other data sources.
|
|
|
6bbd867 |
|
|
|
6bbd867 |
geopy includes geocoder classes for the OpenStreetMap Nominatim, Google
|
|
|
6bbd867 |
Geocoding API (V3), and many other geocoding services.
|
|
|
6bbd867 |
|
|
|
6bbd867 |
%package -n python3-%{pypi_name}
|
|
|
6bbd867 |
Summary: %{summary}
|
|
|
6bbd867 |
|
|
|
6bbd867 |
BuildRequires: python3-devel
|
|
|
6bbd867 |
BuildRequires: python3-setuptools
|
|
|
6bbd867 |
BuildRequires: python3-Cython
|
|
|
6bbd867 |
BuildRequires: python3-pytest
|
|
|
6bbd867 |
BuildRequires: python3-GeographicLib
|
|
|
6bbd867 |
BuildRequires: python3-pytz
|
|
|
6bbd867 |
BuildRequires: python3-mock
|
|
|
ca4c413 |
BuildRequires: python3-pytest-asyncio
|
|
|
09c888f |
BuildRequires: python3-async-generator
|
|
|
6bbd867 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
6bbd867 |
|
|
|
6bbd867 |
%description -n python3-%{pypi_name}
|
|
|
6bbd867 |
geopy makes it easy for Python developers to locate the coordinates of
|
|
|
6bbd867 |
addresses, cities, countries, and landmarks across the globe using third-
|
|
|
6bbd867 |
party geocoders and other data sources.
|
|
|
6bbd867 |
|
|
|
6bbd867 |
geopy includes geocoder classes for the OpenStreetMap Nominatim, Google
|
|
|
6bbd867 |
Geocoding API (V3), and many other geocoding services.
|
|
|
6bbd867 |
|
|
|
6bbd867 |
%prep
|
|
|
6bbd867 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
6bbd867 |
|
|
|
6bbd867 |
%build
|
|
|
6bbd867 |
%py3_build
|
|
|
6bbd867 |
|
|
|
6bbd867 |
%install
|
|
|
6bbd867 |
%py3_install
|
|
|
6bbd867 |
|
|
|
6bbd867 |
%check
|
|
|
ca4c413 |
# Exclude tests which make API calls
|
|
|
ca4c413 |
%pytest -v test --ignore test/geocoders/
|
|
|
6bbd867 |
|
|
|
6bbd867 |
%files -n python3-%{pypi_name}
|
|
|
6bbd867 |
%doc AUTHORS CONTRIBUTING.md README.rst
|
|
|
6bbd867 |
%license LICENSE
|
|
|
6bbd867 |
%{python3_sitelib}/%{pypi_name}/
|
|
|
6bbd867 |
%{python3_sitelib}/%{pypi_name}*.egg-info
|
|
|
6bbd867 |
|
|
|
6bbd867 |
%changelog
|
|
|
ddc918e |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-5
|
|
|
ddc918e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
ddc918e |
|
|
|
fe623d7 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
|
|
|
fe623d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
fe623d7 |
|
|
|
dbc3ce2 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.1.0-3
|
|
|
dbc3ce2 |
- Rebuilt for Python 3.10
|
|
|
dbc3ce2 |
|
|
|
b7c4d31 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
|
|
b7c4d31 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
b7c4d31 |
|
|
|
ca4c413 |
* Thu Jan 07 2021 Fabian Affolter <mail@fabian-affolter.ch> - 2.1.0-1
|
|
|
ca4c413 |
- Update to latest upstream release 2.1.0
|
|
|
ca4c413 |
|
|
|
2fe0606 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.21.0-3
|
|
|
2fe0606 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
2fe0606 |
|
|
|
c05d468 |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 1.21.0-2
|
|
|
c05d468 |
- Rebuilt for Python 3.9
|
|
|
c05d468 |
|
|
|
2dbd1c3 |
* Mon Mar 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.21.0-1
|
|
|
2dbd1c3 |
- Update to latest upstream release 1.21.0
|
|
|
2dbd1c3 |
|
|
|
e8b868d |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.0-3
|
|
|
e8b868d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
e8b868d |
|
|
|
6bbd867 |
* Tue Oct 22 2019 Fabian Affolter <mail@fabian-affolter.ch> - 1.20.0-2
|
|
|
6bbd867 |
- Address issues (rhbz#1723052)
|
|
|
6bbd867 |
|
|
|
6bbd867 |
* Thu Jun 20 2019 Fabian Affolter <mail@fabian-affolter.ch> - 1.20.0-1
|
|
|
6bbd867 |
- Initial package for Fedora
|