commit: 704e4b46a02e4ab3d20751307e9bb635d40bc24b
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 24 07:17:48 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 07:18:17 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=704e4b46
sci-geosciences/folium: add 0.19.5
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-geosciences/folium/Manifest | 1 +
sci-geosciences/folium/folium-0.19.5.ebuild | 47 +++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/sci-geosciences/folium/Manifest b/sci-geosciences/folium/Manifest
index 2441b32dbbb0..27d3f00fdbae 100644
--- a/sci-geosciences/folium/Manifest
+++ b/sci-geosciences/folium/Manifest
@@ -1,2 +1,3 @@
DIST folium-0.19.3.tar.gz 8193962 BLAKE2B
956cb050527270ffa54a2d8331e453e10359ebf99be0e37decffd512cd3f1a3dfde626840608d9e84621b9a4b0e5f5cd278d8cf25533debe8b5e2a1a88b51fe6
SHA512
2ff2fca474ff7ab911b184a2b144ca5253bc04a673f61f668efcd9ea2041f50ed3172daab7ae86209bd1aa51da3894358cfb0eec7203de9692886aea88c2a202
DIST folium-0.19.4.tar.gz 8189535 BLAKE2B
a4453f3bd6d2e36d2768f904aa0a621aad25c43ad16d6f774a1ff651c102d05cd567e359eaab20c27d63a62c9fa87b014defcd468c1b0105ff1243111fed85fd
SHA512
79cd52a7fd77a6446512cd7bae29bb2200c61d3fb3c7e895e24aa8905d8936c65ba3730204eeda2851db91bbdde14de042cc70d423c76e6e61d60e84301f9afb
+DIST folium-0.19.5.tar.gz 8189619 BLAKE2B
5c87b759be58013f147b1b4db8c94dd22f170a8ffa8419f26d27c85629a07a32175378ced2e21b753df064ea7a005412b37e57dfbd80b17c2ba61b0f9836f41e
SHA512
6020fc25800722c0d320b328ba5a21bcd96d0002d269c87673876e8f1d1e8f428ec1522f0761699052fef9a234ef562fb6467b022252361549f5124048f647ad
diff --git a/sci-geosciences/folium/folium-0.19.5.ebuild
b/sci-geosciences/folium/folium-0.19.5.ebuild
new file mode 100644
index 000000000000..cb39db154e79
--- /dev/null
+++ b/sci-geosciences/folium/folium-0.19.5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..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 ~x86"
+
+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}]
+ )"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ tests/selenium
# require chromedriver
+ tests/test_folium.py
# require geopandas
+ tests/plugins/test_time_slider_choropleth.py # require geopandas
+ tests/test_repr.py
# require geckodriver
+)
+
+python_test() {
+ epytest -m 'not web'
+}