diff --git a/.gitignore b/.gitignore index 2e5babf..5da9be7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /geopy-1.20.0.tar.gz /geopy-1.21.0.tar.gz +/geopy-2.1.0.tar.gz diff --git a/python-geopy.spec b/python-geopy.spec index 58f1d7b..588816a 100644 --- a/python-geopy.spec +++ b/python-geopy.spec @@ -1,8 +1,8 @@ %global pypi_name geopy Name: python-%{pypi_name} -Version: 1.21.0 -Release: 3%{?dist} +Version: 2.1.0 +Release: 1%{?dist} Summary: Python client for several popular geocoding web services License: MIT @@ -28,6 +28,7 @@ BuildRequires: python3-pytest BuildRequires: python3-GeographicLib BuildRequires: python3-pytz BuildRequires: python3-mock +BuildRequires: python3-pytest-asyncio %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} @@ -48,7 +49,8 @@ Geocoding API (V3), and many other geocoding services. %py3_install %check -PYTHONPATH=%{buildroot}/%{python3_sitelib}/ pytest-%{python3_version} -v test -k "not proxy and not yandex and not what3words and not banfrance and not arcgist and not databc and not geocodefarm and not geonames and not nominatim and not photon and not arcgis" +# Exclude tests which make API calls +%pytest -v test --ignore test/geocoders/ %files -n python3-%{pypi_name} %doc AUTHORS CONTRIBUTING.md README.rst @@ -57,6 +59,9 @@ PYTHONPATH=%{buildroot}/%{python3_sitelib}/ pytest-%{python3_version} -v test -k %{python3_sitelib}/%{pypi_name}*.egg-info %changelog +* Thu Jan 07 2021 Fabian Affolter - 2.1.0-1 +- Update to latest upstream release 2.1.0 + * Wed Jul 29 2020 Fedora Release Engineering - 1.21.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index fa3cbb9..b8ae3c7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (geopy-1.21.0.tar.gz) = 8dc148795251e5bf74948859430856569e7aef38ac09432f86498ec3f5939277d2d548f3c35c6f14e6ef1645fdfa48bf70ab998888ba395f199c08aa8dbe6ed2 +SHA512 (geopy-2.1.0.tar.gz) = 6d369412f7c685cda7195589341fbd8f57564fa888fa753de266a356627125f971212afbdd7253e16df90870fbfe3faab63dfb898928d9622c6aa8654ec6fe74