commit:     bd2dd9f97904c3f4f020ec7d3935cc7f6b90c7b8
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 14 18:49:45 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jul 14 21:02:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd2dd9f9

sci-geosciences/folium: add 0.20.0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-geosciences/folium/Manifest             |  1 +
 sci-geosciences/folium/folium-0.20.0.ebuild | 54 +++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/sci-geosciences/folium/Manifest b/sci-geosciences/folium/Manifest
index 69560b92bcd3..d42609359472 100644
--- a/sci-geosciences/folium/Manifest
+++ b/sci-geosciences/folium/Manifest
@@ -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

diff --git a/sci-geosciences/folium/folium-0.20.0.ebuild 
b/sci-geosciences/folium/folium-0.20.0.ebuild
new file mode 100644
index 000000000000..399971d96248
--- /dev/null
+++ b/sci-geosciences/folium/folium-0.20.0.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'
+}

Reply via email to