mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-python/geopy: bump (untested)
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST geopy-2.0.0.tar.gz 278465 BLAKE2B 08383a509358bf902db6e47f9144380f2694e89f4d2f21f25131f2c885c1a5a9e1111da93374a723a95d117f8bf13b027446e321f098a261624dd8eeeab18577 SHA512 0b572a05c56596f65932ff422827c477d7a1a4f1e42d0cbd53ef9f11e66c60e8f4ab5a169720522c6ee5624826837b4854887a43ed34814ea3520701e60c0c06
|
||||
DIST geopy-2.1.0.tar.gz 280382 BLAKE2B 061c4f5fee8ce50690df442f431866630b6538831191b2b357ee387133d098e6aa69136ef4f11b9b627e52a8610a22438463c7e1fc5c2b193543a666ddc955b0 SHA512 6d369412f7c685cda7195589341fbd8f57564fa888fa753de266a356627125f971212afbdd7253e16df90870fbfe3faab63dfb898928d9622c6aa8654ec6fe74
|
||||
|
||||
58
dev-python/geopy/geopy-2.1.0.ebuild
Normal file
58
dev-python/geopy/geopy-2.1.0.ebuild
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,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-2
|
||||
>=sci-geosciences/GeographicLib-1.49
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx-issues \
|
||||
">=dev-python/sphinx_rtd_theme-0.4.0" \
|
||||
dev-python/readme_renderer
|
||||
|
||||
python_prepare_all() {
|
||||
# [Errno -3] Temporary failure in name resolution
|
||||
rm test/test_adapters.py || die
|
||||
rm test/geocoders/algolia.py || die
|
||||
rm test/geocoders/arcgis.py || die
|
||||
rm test/geocoders/banfrance.py || die
|
||||
rm test/geocoders/databc.py || die
|
||||
rm test/geocoders/geocodefarm.py || die
|
||||
rm test/geocoders/geonames.py || die
|
||||
rm test/geocoders/nominatim.py || die
|
||||
rm test/geocoders/photon.py || die
|
||||
|
||||
# depend on the above and now fail to import
|
||||
rm test/geocoders/openmapquest.py || die
|
||||
rm test/geocoders/pickpoint.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
Reference in New Issue
Block a user