summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-02-09 18:51:12 +0100
committerAlfredo Tupone <tupone@gentoo.org>2023-02-09 19:06:12 +0100
commitbe17ae75d3deb01a7854ed153ec8c59d8271dedb (patch)
tree31502b76b1dd5cc0a6cc1e3c50eeee0659320faa /sci-geosciences/folium
parentdev-python/cx_Freeze: remove myself from maintainers (diff)
downloadgentoo-be17ae75d3deb01a7854ed153ec8c59d8271dedb.tar.gz
gentoo-be17ae75d3deb01a7854ed153ec8c59d8271dedb.tar.bz2
gentoo-be17ae75d3deb01a7854ed153ec8c59d8271dedb.zip
sci-geosciences/folium: add 0.14.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-geosciences/folium')
-rw-r--r--sci-geosciences/folium/Manifest1
-rw-r--r--sci-geosciences/folium/folium-0.14.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/sci-geosciences/folium/Manifest b/sci-geosciences/folium/Manifest
index 55bac126f192..675a17ab9695 100644
--- a/sci-geosciences/folium/Manifest
+++ b/sci-geosciences/folium/Manifest
@@ -1,2 +1,3 @@
DIST folium-0.12.1.tar.gz 20033236 BLAKE2B 00e9fb369be9300ca04f9ba3fed18ca28a4985111ccd358312570773b80906df292e14a6f4acbd8ea7686f1b807017f729ad918b3b025af321faf5d7686333db SHA512 b19d2180c36160a370e6ab5ccfacf74ba7b735610d43e69a5200529c776e9c11ee42f4f7fa1ee54621f52b0f2e1fc1f86bc9a146c4a924831b12578643a69616
DIST folium-0.13.0.tar.gz 19999296 BLAKE2B 4a774e36715c33e0c28a3fb4a8bffec21681ad9f1ffa617a39962f171e8ac28a55ba26aa6c7bc7c7e80f65d0ce5ef4e4c5edb5db0c166462a10adcd1d1b498ee SHA512 013707216e1e289f0ba3421c9db1d90f207ce41e7d05b6dc72c0f8f5a82dfe2ab4e0f3a797bbd6be65d2ee160722492e82082e38f93ad18507ed6409b41d009b
+DIST folium-0.14.0.tar.gz 20121396 BLAKE2B 8b6014444e4992ae6828f844d197f475d0050567ebaf630b58015ed08274793d3837903cb7a4d7f28da14bb47d8d65a6d09e097b7765fc0a115224aec521854a SHA512 2aec27c731a4d2c835172d0e29d4ddbce745ec5665e168f392fd9693d9b267f734b4a7275ae202fccba17501320414abefd332376bc917fa0fba72bcffade43e
diff --git a/sci-geosciences/folium/folium-0.14.0.ebuild b/sci-geosciences/folium/folium-0.14.0.ebuild
new file mode 100644
index 000000000000..d0c494c7127a
--- /dev/null
+++ b/sci-geosciences/folium/folium-0.14.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..10} )
+DISTUTILS_USE_PEP517=setuptools
+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.12.1-scm.patch
+ "${FILESDIR}"/${PN}-0.13.0-gentoo.patch
+)
+
+RDEPEND=">=sci-libs/branca-0.6.0[${PYTHON_USEDEP}]
+ dev-python/jinja[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? (
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pandas[${PYTHON_USEDEP}]
+ )"
+BDEPEND=""
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ rm -r tests/selenium || die # require chromedriver
+ rm tests/test_folium.py || die # require geopandas
+ rm tests/test_raster_layers.py || die # require xyzservices
+ rm tests/plugins/test_time_slider_choropleth.py || die # require geopandas
+ rm tests/test_repr.py || die # require geckodriver
+ default
+}
+
+python_test() {
+ epytest -m 'not web'
+}