Hello community, here is the log from the commit of package python-geopy for openSUSE:Factory checked in at 2019-08-13 13:20:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-geopy (Old) and /work/SRC/openSUSE:Factory/.python-geopy.new.9556 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-geopy" Tue Aug 13 13:20:47 2019 rev:14 rq:722259 version:1.18.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-geopy/python-geopy.changes 2016-03-02 14:21:28.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-geopy.new.9556/python-geopy.changes 2019-08-13 13:21:47.997409929 +0200 @@ -1,0 +2,14 @@ +Mon Mar 25 04:17:12 UTC 2019 - John Vandenberg <jay...@gmail.com> + +- Update URL to https://github.com/geopy/geopy +- Convert to single spec +- Activate test suite +- Remove unnecessary build dependency on python-devel +- Use %license +- Added changelog to %doc +- update to v1.18.1 + - Geocoders dot_us, navidata and placefinder removed + - Many new geocoders added + - See changelog_1xx.rst for more details + +------------------------------------------------------------------- Old: ---- geopy-1.11.0.tar.gz New: ---- geopy-1.18.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-geopy.spec ++++++ --- /var/tmp/diff_new_pack.fSQnIC/_old 2019-08-13 13:21:48.565409780 +0200 +++ /var/tmp/diff_new_pack.fSQnIC/_new 2019-08-13 13:21:48.565409780 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-geopy # -# Copyright (c) 2016 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 @@ -13,28 +13,40 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ -# +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-geopy -Version: 1.11.0 +Version: 1.18.1 Release: 0 -Url: http://code.google.com/p/geopy/ -Summary: Python Geocoding Toolbox License: MIT +Summary: Python Geocoding Toolbox +Url: https://github.com/geopy/geopy Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/g/geopy/geopy-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel >= 2.7 -BuildRequires: python-setuptools -BuildRequires: python-simplejson -BuildRequires: python-xml -Requires: python-xml -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch +Source: https://github.com/geopy/geopy/archive/%{version}.tar.gz#/geopy-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +# SECTION test requirements +BuildRequires: %{python_module geographiclib >= 1.49} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest >= 3.10} +BuildRequires: %{python_module pytz} +BuildRequires: %{python_module six} +BuildRequires: %{python_module xml} +BuildRequires: python2-contextlib2 +BuildRequires: python2-statistics +# /SECTION +BuildRequires: fdupes +Requires: python-geographiclib >= 1.49 +Requires: python-six +Recommends: python-pytz +Recommends: python-xml +%ifpython2 +Requires: python-statistics %endif +BuildArch: noarch + +%python_subpackages %description Geopy makes it easy for developers to locate the coordinates of addresses, cities, @@ -48,15 +60,40 @@ %prep %setup -q -n geopy-%{version} +# Proxy to live service will not work, resulting in unexpected exceptions +# that do not match test cases +rm test/test_proxy.py + +# Online services are not available +rm \ + test/geocoders/arcgis.py \ + test/geocoders/banfrance.py \ + test/geocoders/databc.py \ + test/geocoders/geocodefarm.py \ + test/geocoders/geonames.py \ + test/geocoders/googlev3.py \ + test/geocoders/nominatim.py \ + test/geocoders/openmapquest.py \ + test/geocoders/photon.py \ + test/geocoders/pickpoint.py \ + test/geocoders/yandex.py + %build -python setup.py build +export LANG=en_US.UTF-8 +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} - -%files -%defattr(-,root,root,-) -%doc LICENSE README -%{python_sitelib} +export LANG=en_US.UTF-8 +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +export LANG=en_US.UTF-8 +%python_exec setup.py test + +%files %{python_files} +%doc AUTHORS README.rst docs/changelog_09x.rst docs/changelog_1xx.rst +%license LICENSE +%{python_sitelib}/* %changelog ++++++ geopy-1.11.0.tar.gz -> geopy-1.18.1.tar.gz ++++++ ++++ 17201 lines of diff (skipped)