1 |
commit: b67cf9e8ddce230c61401fbe46b6aff19a5a59ff |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 6 09:01:11 2022 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 6 09:01:53 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b67cf9e8 |
7 |
|
8 |
sci-geosciences/folium: add 0.13.0 |
9 |
|
10 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
11 |
|
12 |
sci-geosciences/folium/Manifest | 1 + |
13 |
.../folium/files/folium-0.13.0-gentoo.patch | 18 ++++++++++ |
14 |
sci-geosciences/folium/folium-0.13.0.ebuild | 41 ++++++++++++++++++++++ |
15 |
3 files changed, 60 insertions(+) |
16 |
|
17 |
diff --git a/sci-geosciences/folium/Manifest b/sci-geosciences/folium/Manifest |
18 |
index 696e7bd38655..55bac126f192 100644 |
19 |
--- a/sci-geosciences/folium/Manifest |
20 |
+++ b/sci-geosciences/folium/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST folium-0.12.1.tar.gz 20033236 BLAKE2B 00e9fb369be9300ca04f9ba3fed18ca28a4985111ccd358312570773b80906df292e14a6f4acbd8ea7686f1b807017f729ad918b3b025af321faf5d7686333db SHA512 b19d2180c36160a370e6ab5ccfacf74ba7b735610d43e69a5200529c776e9c11ee42f4f7fa1ee54621f52b0f2e1fc1f86bc9a146c4a924831b12578643a69616 |
23 |
+DIST folium-0.13.0.tar.gz 19999296 BLAKE2B 4a774e36715c33e0c28a3fb4a8bffec21681ad9f1ffa617a39962f171e8ac28a55ba26aa6c7bc7c7e80f65d0ce5ef4e4c5edb5db0c166462a10adcd1d1b498ee SHA512 013707216e1e289f0ba3421c9db1d90f207ce41e7d05b6dc72c0f8f5a82dfe2ab4e0f3a797bbd6be65d2ee160722492e82082e38f93ad18507ed6409b41d009b |
24 |
|
25 |
diff --git a/sci-geosciences/folium/files/folium-0.13.0-gentoo.patch b/sci-geosciences/folium/files/folium-0.13.0-gentoo.patch |
26 |
new file mode 100644 |
27 |
index 000000000000..27152a456e05 |
28 |
--- /dev/null |
29 |
+++ b/sci-geosciences/folium/files/folium-0.13.0-gentoo.patch |
30 |
@@ -0,0 +1,18 @@ |
31 |
+--- a/setup.cfg 2022-11-06 09:51:58.139499881 +0100 |
32 |
++++ b/setup.cfg 2022-11-06 09:52:15.064237829 +0100 |
33 |
+@@ -1,13 +1,6 @@ |
34 |
+-[tool:pytest] |
35 |
+-flake8-max-line-length = 121 |
36 |
+-flake8-ignore = |
37 |
+- docs/* ALL |
38 |
+-select = C,E,F,W,B,B950 |
39 |
+-ignore = E203, E501, W503 |
40 |
+- |
41 |
+ [metadata] |
42 |
+-description-file = README.md |
43 |
+-license_file = LICENSE.txt |
44 |
++description_file = README.md |
45 |
++license_files = LICENSE.txt |
46 |
+ |
47 |
+ [bdist_wheel] |
48 |
+ universal = 1 |
49 |
|
50 |
diff --git a/sci-geosciences/folium/folium-0.13.0.ebuild b/sci-geosciences/folium/folium-0.13.0.ebuild |
51 |
new file mode 100644 |
52 |
index 000000000000..bb5f97d66eb0 |
53 |
--- /dev/null |
54 |
+++ b/sci-geosciences/folium/folium-0.13.0.ebuild |
55 |
@@ -0,0 +1,41 @@ |
56 |
+# Copyright 2021-2022 Gentoo Authors |
57 |
+# Distributed under the terms of the GNU General Public License v2 |
58 |
+ |
59 |
+EAPI=7 |
60 |
+ |
61 |
+PYTHON_COMPAT=( python3_{8..10} ) |
62 |
+inherit distutils-r1 |
63 |
+ |
64 |
+DESCRIPTION="Python Data, Leaflet.js Maps" |
65 |
+HOMEPAGE="https://github.com/python-visualization/folium" |
66 |
+SRC_URI="https://github.com/python-visualization/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
67 |
+ |
68 |
+LICENSE="MIT" |
69 |
+SLOT="0" |
70 |
+KEYWORDS="~amd64 ~x86" |
71 |
+ |
72 |
+PATCHES=( |
73 |
+ "${FILESDIR}"/${PN}-0.12.1-scm.patch |
74 |
+ "${FILESDIR}"/${P}-gentoo.patch |
75 |
+) |
76 |
+ |
77 |
+RDEPEND="sci-libs/branca[${PYTHON_USEDEP}] |
78 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
79 |
+ dev-python/numpy[${PYTHON_USEDEP}]" |
80 |
+DEPEND="${RDEPEND} |
81 |
+ test? ( |
82 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
83 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
84 |
+ )" |
85 |
+BDEPEND="" |
86 |
+ |
87 |
+distutils_enable_tests pytest |
88 |
+ |
89 |
+src_prepare() { |
90 |
+ rm -r tests/selenium || die |
91 |
+ default |
92 |
+} |
93 |
+ |
94 |
+python_test() { |
95 |
+ epytest -m 'not web' |
96 |
+} |