sci-geosciences/geopy - 2.4.1 (gentoo)

Search

Install

Install this version:

emerge -a =sci-geosciences/geopy-2.4.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-geosciences/geopy-2.4.1

Or alternatively:

emerge --autounmask-write -a =sci-geosciences/geopy-2.4.1

Package Information

Description:
Python client for several popular geocoding web services
Homepage:
https://github.com/geopy/geopy
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.4.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1

DESCRIPTION="Python client for several popular geocoding web services"
HOMEPAGE="https://github.com/geopy/geopy"
SRC_URI="https://github.com/geopy/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="dev-python/geographiclib[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"

EPYTEST_PLUGINS=( pytest-asyncio )
distutils_enable_tests pytest

PATCHES=( "${FILESDIR}"/${P}-test.patch )

src_test() {
	local EPYTEST_DESELECT=(
		test/adapters/each_adapter.py::test_geocoder_constructor_uses_https_proxy
		test/adapters/each_adapter.py::test_geocoder_https_proxy_auth_is_respected
		test/adapters/each_adapter.py::test_ssl_context_with
	)
	distutils-r1_src_test
}

Inherited Eclasses

Dependencies

DEPEND

dev-python/geographiclib[]

RDEPEND

dev-python/geographiclib[]

Manifest for 2.4.1

Type File Size Source URLs
DIST geopy-2.4.1.tar.gz 292965 bytes https://github.com/geopy/geopy/archive/refs/tags/2.4.1.tar.gz