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
This commit is contained in:
parent
a9780a6d1c
commit
dda28e6d97
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c13fdeec9bf63d5f02ccd7cd25a97912e9848d21df9b7c6eedb387aa357d321d
|
||||
size 30210
|
3
geopy-0.96.2.tar.gz
Normal file
3
geopy-0.96.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2f0d250f41cdf32b5204c4e84957fa49c54e6919790688dd2b575bbf535d7506
|
||||
size 27749
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user