4 Commits

4 changed files with 39 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:51745ba5497306ce26e71b794bef6052b17eb8dcc517d27e1aa030ac93863e1a
size 290677

3
geopy-2.4.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a231629d166b58b0d557fc453374374d1fe0f3aff205b34bd8196e62ec285c55
size 292965

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Thu Jan 29 18:53:28 UTC 2026 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
- Update to version 2.4.1:
* .Nominatim: fix broken featuretype parameter. (#564)
- From 2.4.0:
* New geocoder: .Woosmap.
Contributed by galela. (#541)
* New geocoder: .Geokeo.
Contributed by Geokeo. (#490)
* Removed Algolia Places geocoder: the service is shut down.
Contributed by mtmail. (#547)
* Add support for Python 3.12. (#559)
* RequestsAdapter: use system CA store by default instead of certifi. (#558)
* .DataBC: update service domain and endpoint.
Contributed by nickpcrogers. (#557)
* Move hardcoded domains to __init__ args for all geocoders.
-------------------------------------------------------------------
Tue Jun 17 04:37:28 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Use pyproject macros to build and install.
- Explicitly list files and directories in %files.
-------------------------------------------------------------------
Mon Jun 26 07:55:41 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -17,7 +17,7 @@
%{?sle15_python_module_pythons}
Name: python-geopy
Version: 2.3.0
Version: 2.4.1
Release: 0
License: MIT
Summary: Python Geocoding Toolbox
@@ -26,23 +26,23 @@ Group: Development/Languages/Python
Source: https://github.com/geopy/geopy/archive/%{version}.tar.gz#/geopy-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
# SECTION test requirements
BuildRequires: %{python_module async_generator}
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module geographiclib >= 1.49}
BuildRequires: %{python_module geographiclib >= 1.52}
BuildRequires: %{python_module geographiclib < 3}
BuildRequires: %{python_module pytest >= 3.10}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module xml}
# /SECTION
BuildRequires: fdupes
Requires: python-geographiclib >= 1.49
Requires: python-geographiclib >= 1.52
Requires: python-geographiclib < 3
Recommends: python-pytz
Recommends: python-xml
%ifpython2
Requires: python-statistics
%endif
BuildArch: noarch
%python_subpackages
%description
@@ -55,8 +55,7 @@ Local Live (Virtual Earth), geocoder.us, GeoNames, MediaWiki pages (with the GIS
extension), and Semantic MediaWiki pages.
%prep
%setup -q -n geopy-%{version}
%autosetup -n geopy-%{version}
# Online services are not available
rm \
@@ -74,11 +73,11 @@ rm \
%build
export LANG=en_US.UTF-8
%python_build
%pyproject_wheel
%install
export LANG=en_US.UTF-8
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -88,6 +87,7 @@ export LANG=en_US.UTF-8
%files %{python_files}
%doc AUTHORS README.rst docs/changelog_09x.rst docs/changelog_1xx.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/geopy
%{python_sitelib}/geopy-%{version}.dist-info
%changelog