bump geopy-1.21.0
This commit is contained in:
parent
b3163096cd
commit
0447000638
@ -39,6 +39,7 @@
|
||||
* bump distro-1.5.0
|
||||
* bump beautifulsoup-4.9.0
|
||||
* bump numpy-1.18.2
|
||||
* bump geopy-1.21.0
|
||||
|
||||
2020-04-05 homeassistant-0.108.0_beta3
|
||||
* add tesla-powerwall-0.1.4
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
DIST geopy-1.19.0.tar.gz 251957 BLAKE2B 59aed0677ea761eb11d82a6cadbff8d22ce6a7d5573c32e80b99c67d8336a7a44a7cfdfc06698ea7cb646249898a202c055fc398010930297eccd960649484c4 SHA512 c1cfbb3404c62168c964ad6d1252567c6e9b4d92657b2a170f0f4db7f2035f486e0205250cd9f7adf68e012e095070d511982f04409d145a1c8c03a5c99dabf0
|
||||
DIST geopy-1.20.0.tar.gz 252386 BLAKE2B 684d1651a28aa1a72317c9afc5c0f4dde0340eb5cef45dea28c956aa15ebc5fff2f55947b4eee5781ff6142dd1f34d4db2c9b5497b1864e3a986cc40ba064824 SHA512 c8aae44f6fd403c4a48bbf865293bfaa2de332b61324fd0fc9498a0d77b78b0512441b33b34159184477a385aac5f9d90ae57892c0f0d670e36cc74e106cbcd5
|
||||
DIST geopy-1.21.0.tar.gz 254831 BLAKE2B 2b8aa46277ea65cde2e037ee71d42ef42451d1ee3bc38b7a6f89e15293074f80cf52b53bad6a483769fe8ce6d267db27bd1878e6248c0c4b18a92a86df4a2ae9 SHA512 8dc148795251e5bf74948859430856569e7aef38ac09432f86498ec3f5939277d2d548f3c35c6f14e6ef1645fdfa48bf70ab998888ba395f199c08aa8dbe6ed2
|
||||
EBUILD geopy-1.19.0.ebuild 2286 BLAKE2B 8b9edcae23a0125b56126be8ff0472ab901840396f1ae567a6fb6aa395f6267c8b597c866a49f6ef1063b1ca7caa9c08d83263406065c9e45326ebca651e2f7b SHA512 ab8d78ec718a3f76cddd72727118184176e977e22c119c8cd74595cb0dd9fa019b2bf911e043dce7e1112b90ef05267cdd7a3fa7a5af09d97508b603d8be36f2
|
||||
EBUILD geopy-1.20.0-r1.ebuild 2320 BLAKE2B 5450ad6d3bcba23639740b95b6ea4ccdad12af8417d84af43745bc8a247a656afb28d292d8b456bb18ee29a280a8e1ac35e3b11df0036912dfef5a49fe8e1921 SHA512 3dc91a75b6bbc9545c82f5969ff1a8604dac219c946114f73f2078f01aa72ac0fd982241004e415529f65dddb08c04049897663c18fbafd3a0eb49f217414e00
|
||||
EBUILD geopy-1.20.0.ebuild 2286 BLAKE2B 8b9edcae23a0125b56126be8ff0472ab901840396f1ae567a6fb6aa395f6267c8b597c866a49f6ef1063b1ca7caa9c08d83263406065c9e45326ebca651e2f7b SHA512 ab8d78ec718a3f76cddd72727118184176e977e22c119c8cd74595cb0dd9fa019b2bf911e043dce7e1112b90ef05267cdd7a3fa7a5af09d97508b603d8be36f2
|
||||
EBUILD geopy-1.21.0.ebuild 2320 BLAKE2B 5450ad6d3bcba23639740b95b6ea4ccdad12af8417d84af43745bc8a247a656afb28d292d8b456bb18ee29a280a8e1ac35e3b11df0036912dfef5a49fe8e1921 SHA512 3dc91a75b6bbc9545c82f5969ff1a8604dac219c946114f73f2078f01aa72ac0fd982241004e415529f65dddb08c04049897663c18fbafd3a0eb49f217414e00
|
||||
MISC metadata.xml 566 BLAKE2B ea35386f802c3a3d619e8531eabad55dfcc4da3ce7895859aab57bba610f52bee9f026513ca8a983a19a7eb52e6464240d629577381e1ba0030dfd4c8577a659 SHA512 37c883926b9a90ea8357aa2c307bef10ce6f419acb6bae4f4bef43604e699476dc1d5a258a3279e3b029d16097168bda3beeec924111fbe185be82017dbb8843
|
||||
|
||||
66
dev-python/geopy/geopy-1.21.0.ebuild
Normal file
66
dev-python/geopy/geopy-1.21.0.ebuild
Normal file
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Geocoding Toolbox for Python"
|
||||
HOMEPAGE="https://www.geopy.org/ https://github.com/geopy/geopy"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
IUSE="test doc timezone yahoo"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="yahoo? ( >=dev-python/requests-oauthlib-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/placefinder[${PYTHON_USEDEP}] )
|
||||
timezone? ( dev-python/pytz[${PYTHON_USEDEP}] )"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
dev-python/pylint[${PYTHON_USEDEP}] )
|
||||
doc? ( $(python_gen_cond_dep 'dev-python/sphinx[${PYTHON_USEDEP}]' python2_7)
|
||||
>=dev-python/python-docs-2.7.6-r1:2.7 )"
|
||||
|
||||
REQUIRED_USE="test? ( yahoo timezone )"
|
||||
|
||||
python_prepare_all() {
|
||||
if use doc; then
|
||||
local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7)
|
||||
local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}"
|
||||
local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html"
|
||||
local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv"
|
||||
sed -i "s|'https://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" docs/conf.py || die
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
# prevent install of test folder to avoid file collisions
|
||||
sed -e "s:find_packages():find_packages(exclude=['test','test.*']):" -i setup.py || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# broken tests
|
||||
rm test/geocoders/openmapquest.py
|
||||
sed -i -e 's/from .openmapquest import OpenMapQuestTestCase//' test/geocoders/__init__.py
|
||||
# Ignore rogue class IGNFranceTestCase demanding elements beyond a normal testsuite
|
||||
# i.e. "You should provide an api key and a username with a password"
|
||||
# Cannot decipher how to skip or exclude this "context=IGNFranceTestCase"
|
||||
# It appears it MAY stem from nose rather than geopy's suite
|
||||
nosetests --verbose || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user