commit: 1853356001ca53548a0eb46c13bfdf491d5f0a08
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 2 20:37:45 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Jul 2 20:37:59 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18533560
sci-geosciences/folium: add 0.19.7
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-geosciences/folium/Manifest | 1 +
sci-geosciences/folium/folium-0.19.7.ebuild | 54 +++++++++++++++++++++++++++++
2 files changed, 55 insertions(+)
diff --git a/sci-geosciences/folium/Manifest b/sci-geosciences/folium/Manifest
index 2f0ad418d62e..69560b92bcd3 100644
--- a/sci-geosciences/folium/Manifest
+++ b/sci-geosciences/folium/Manifest
@@ -1 +1,2 @@
DIST folium-0.19.5.tar.gz 8189619 BLAKE2B
5c87b759be58013f147b1b4db8c94dd22f170a8ffa8419f26d27c85629a07a32175378ced2e21b753df064ea7a005412b37e57dfbd80b17c2ba61b0f9836f41e
SHA512
6020fc25800722c0d320b328ba5a21bcd96d0002d269c87673876e8f1d1e8f428ec1522f0761699052fef9a234ef562fb6467b022252361549f5124048f647ad
+DIST folium-0.19.7.tar.gz 8278157 BLAKE2B
446c1d0747b13be726777e8937ea80a6241336b1fc1736b11799165779f513e85f6ab6e894f47c5f11eb5fd95820ea08f371726afd43de57a34b5268361bc97c
SHA512
d1b60c5027c966f141a1432b60b2a8fab34e0202e394382021822b7568d09bf21add217c1f34418491cd4adef002cf6a26c5abd05cd4e01ec1d18761f6958125
diff --git a/sci-geosciences/folium/folium-0.19.7.ebuild
b/sci-geosciences/folium/folium-0.19.7.ebuild
new file mode 100644
index 000000000000..399971d96248
--- /dev/null
+++ b/sci-geosciences/folium/folium-0.19.7.ebuild
@@ -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'
+}