From dda28e6d97f5e50454e8f24812fe0c96e5ea1c958ebb09a1be4970c94a28e00c Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 17 Dec 2013 09:03:22 +0000 Subject: [PATCH] Accepting request 210949 from devel:languages:python update (forwarded request 210948 from posophe) OBS-URL: https://build.opensuse.org/request/show/210949 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=10 --- geopy-0.94.2.tar.bz2 | 3 --- geopy-0.96.2.tar.gz | 3 +++ python-geopy.changes | 47 ++++++++++++++++++++++++++++++++++++++++++++ python-geopy.spec | 18 +++++++---------- 4 files changed, 57 insertions(+), 14 deletions(-) delete mode 100644 geopy-0.94.2.tar.bz2 create mode 100644 geopy-0.96.2.tar.gz diff --git a/geopy-0.94.2.tar.bz2 b/geopy-0.94.2.tar.bz2 deleted file mode 100644 index 6f30ad6..0000000 --- a/geopy-0.94.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c13fdeec9bf63d5f02ccd7cd25a97912e9848d21df9b7c6eedb387aa357d321d -size 30210 diff --git a/geopy-0.96.2.tar.gz b/geopy-0.96.2.tar.gz new file mode 100644 index 0000000..f85ee33 --- /dev/null +++ b/geopy-0.96.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f0d250f41cdf32b5204c4e84957fa49c54e6919790688dd2b575bbf535d7506 +size 27749 diff --git a/python-geopy.changes b/python-geopy.changes index e827594..c464b9d 100644 --- a/python-geopy.changes +++ b/python-geopy.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Wed Dec 11 01:23:31 UTC 2013 - p.drouand@gmail.com + +- Update to version 0.96.2 + + fix : MANIFEST.in should not use `exclude`. +- Changes from 0.96.1 + + fix : GoogleV3 returns `None` when the service returns an error + status of `ZERO_RESULTS`. +- Changes from 0.96.0 + + GoogleV3's reverse geocoder now returns one result by default. Set + `exactly_one` to False for a list. + + + GoogleV3 returns new exception types: + `geopy.geocoders.base.GQueryError` -> `geopy.exc.GeocoderQueryError` + `geopy.geocoders.base.GeocoderResultError` -> `geopy.exc.GeocoderQueryError` + `geopy.geocoders.base.GTooManyQueriesError` -> `geopy.exc.GeocoderQuotaExceeded` + + + OpenStreetMap Nominatim geocoder implemented. + + Yahoo! BOSS Geo PlaceFinder geocoder implemented. + + SmartyStreets LiveAddress geocoder implemented. + + GeoNames geocoder is implements GeoNames' new username + requirement and `api.geonames.org` endpoint. + + Bing geocoder supports `user_location` (`Point`) parameter. Bing will + prefer results near the coordinates of `user_location`. + + `GoogleV3.geocode_first()` no longer throws exception on multiple + results. + + Unnecessary coercing to UTF-8 on Py3k. + +`format_degrees` now rounds minutes properly. + + No longer warn if the optional dependency `BeautifulSoup` is + not present. + + Miscellaneous inconsistent behavior and errors in geolocating. + + Google V2 geocoder has been removed as its API was shutdown. +- Changes from + + Fix #12, where `DeprecationWarning` was showing for GoogleV2 even if + it wasn't being used (due to `geopy.geocoders` importing it). + + `GoogleV3.geocode` "address" kwarg renamed to "string" to match + `Google.geocode` to make updating easier. + + Geocoders now properly handle Unicode objects as input (previously + would fail on non-ASCII characters due to wanting UTF-8 strings). +- Changes from 0.95 + + Google Geocoding API V3 support. "google.Google()" should be + replaced by "googlev3.GoogleV3()", with no `api_key`. + Please see http://goo.gl/somDT for valid arguments. + + setup.py updated to now automatically support Python 3+ + (via 2to3 auto-compile option). +- Package LICENSE, README and RELEASES in documentation directory + ------------------------------------------------------------------- Thu Oct 24 11:06:00 UTC 2013 - speilicke@suse.com diff --git a/python-geopy.spec b/python-geopy.spec index 34a941a..2c7499c 100644 --- a/python-geopy.spec +++ b/python-geopy.spec @@ -15,30 +15,25 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - Name: python-geopy -Version: 0.94.2 +Version: 0.96.2 Release: 0 Url: http://code.google.com/p/geopy/ Summary: Python Geocoding Toolbox License: MIT Group: Development/Languages/Python -Source: geopy-%{version}.tar.bz2 +Source: https://pypi.python.org/packages/source/g/geopy/geopy-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: python-simplejson BuildRequires: python-xml Requires: python-xml -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 +%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 %endif -%endif %description Geopy makes it easy for developers to locate the coordinates of addresses, cities, @@ -60,6 +55,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) -%{python_sitelib}/* +%doc LICENSE README RELEASES +%{python_sitelib} %changelog