diff options
author | 2024-12-17 21:16:45 +0100 | |
---|---|---|
committer | 2024-12-17 21:16:45 +0100 | |
commit | 30a218a2301215d02565124ed7692dc32d47d825 (patch) | |
tree | 414a64409c057d4888f56c865bc07b34bd148b98 /sci-geosciences | |
parent | sci-libs/branca: add 0.8.1 (diff) | |
download | gentoo-30a218a2301215d02565124ed7692dc32d47d825.tar.gz gentoo-30a218a2301215d02565124ed7692dc32d47d825.tar.bz2 gentoo-30a218a2301215d02565124ed7692dc32d47d825.zip |
sci-geosciences/folium: add 0.19.2
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/folium/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/folium/folium-0.19.2.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/sci-geosciences/folium/Manifest b/sci-geosciences/folium/Manifest index 8eb11dda5095..93102aff1a8d 100644 --- a/sci-geosciences/folium/Manifest +++ b/sci-geosciences/folium/Manifest @@ -1 +1,2 @@ DIST folium-0.18.0.tar.gz 8193343 BLAKE2B d36bedfc8038bd71bc0f22ab0c998bab8b32f8e521c32a6a9b0f6f0cc8d1804310346d7531d83e96efc3f804de1eeef5e2ec851b67b9a5e79ab64d42d5410e60 SHA512 a37dfa47b5bd256298df151ad48d71dfeaf5170c6b4e02d28a3f73aa749cfaf931e4ee91110dd3d027f047d46f309111beeca52dfcfafebe5f38597421ecb3c2 +DIST folium-0.19.2.tar.gz 8193746 BLAKE2B 65a3a45748b9f42e6a76057b554e3759806912bbb4336848c25e5ddb7cf6f5d04f8a4e786ca400a99f28c2f8a02607d9dc9e5edb15770c158eecd4a0843806a8 SHA512 df932f599308105b0e2bb8db2bad35e25ed823c3ed34abc36d494a80e671f683c0d6debdf8d20fc22e5582e2072ccd8307707b5fdab0d62bc128898d6c795073 diff --git a/sci-geosciences/folium/folium-0.19.2.ebuild b/sci-geosciences/folium/folium-0.19.2.ebuild new file mode 100644 index 000000000000..fa0fbce0df38 --- /dev/null +++ b/sci-geosciences/folium/folium-0.19.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +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' +} |