mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 16:43:17 -04:00
39 lines
866 B
Bash
39 lines
866 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{8..9} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="A Geocoding Toolbox for Python"
|
|
HOMEPAGE="
|
|
https://geopy.readthedocs.io
|
|
https://github.com/geopy/geopy
|
|
https://pypi.org/project/geopy
|
|
"
|
|
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
RDEPEND=">=sci-geosciences/GeographicLib-1.51-r1[python,${PYTHON_USEDEP}]"
|
|
BDEPEND="
|
|
test? (
|
|
dev-python/async_generator[${PYTHON_USEDEP}]
|
|
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
|
dev-python/pytz[${PYTHON_USEDEP}]
|
|
dev-python/six[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
|
|
RESTRICT="test"
|
|
PROPERTIES="test_network"
|
|
|
|
distutils_enable_tests pytest
|
|
distutils_enable_sphinx docs \
|
|
dev-python/sphinx-issues \
|
|
dev-python/sphinx_rtd_theme
|