mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
sci-geosciences/folium: add 0.20.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST folium-0.19.5.tar.gz 8189619 BLAKE2B 5c87b759be58013f147b1b4db8c94dd22f170a8ffa8419f26d27c85629a07a32175378ced2e21b753df064ea7a005412b37e57dfbd80b17c2ba61b0f9836f41e SHA512 6020fc25800722c0d320b328ba5a21bcd96d0002d269c87673876e8f1d1e8f428ec1522f0761699052fef9a234ef562fb6467b022252361549f5124048f647ad
|
||||
DIST folium-0.19.7.tar.gz 8278157 BLAKE2B 446c1d0747b13be726777e8937ea80a6241336b1fc1736b11799165779f513e85f6ab6e894f47c5f11eb5fd95820ea08f371726afd43de57a34b5268361bc97c SHA512 d1b60c5027c966f141a1432b60b2a8fab34e0202e394382021822b7568d09bf21add217c1f34418491cd4adef002cf6a26c5abd05cd4e01ec1d18761f6958125
|
||||
DIST folium-0.20.0.tar.gz 8288643 BLAKE2B 1d553927ef22b03fb1ce8b2e52759497dae825d7410b110ce5d3b4159879e4b3aa51c7e7473631167f98399217f8e55edba25b2fe021191527f202eba3d2609b SHA512 4893eb1d7a73ee58e708a9c410c01109247b1d8ea49e04219817d74046bb07c2607edb0cf2c7414961095f94f064a0a4a880da7ea5286e1dbb98e068916074d9
|
||||
|
||||
54
sci-geosciences/folium/folium-0.20.0.ebuild
Normal file
54
sci-geosciences/folium/folium-0.20.0.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{12..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python Data, Leaflet.js Maps"
|
||||
HOMEPAGE="https://github.com/python-visualization/folium"
|
||||
SRC_URI="https://github.com/python-visualization/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.15.1-gentoo.patch
|
||||
)
|
||||
|
||||
RDEPEND="sci-geosciences/xyzservices[${PYTHON_USEDEP}]
|
||||
sci-libs/branca[${PYTHON_USEDEP}]
|
||||
dev-python/jinja2[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm
|
||||
test? (
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/pixelmatch-py[${PYTHON_USEDEP}]
|
||||
dev-python/selenium[${PYTHON_USEDEP}]
|
||||
dev-util/selenium-manager
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
EPYTEST_IGNORE=(
|
||||
tests/test_folium.py # require geopandas
|
||||
tests/plugins/test_time_slider_choropleth.py # require geopandas
|
||||
)
|
||||
EPYTEST_DESELECT=(
|
||||
tests/selenium/test_selenium.py::test_notebook # require jupytext
|
||||
tests/snapshots/test_snapshots.py::test_screenshot[issue_2109] # require geopandas
|
||||
tests/snapshots/test_snapshots.py::test_screenshot[issue_1989] # require geopandas
|
||||
)
|
||||
|
||||
SE_MANAGER_PATH=/usr/bin/selenium-manager \
|
||||
epytest -m 'not web'
|
||||
}
|
||||
Reference in New Issue
Block a user