1 |
commit: d94e5ba60653f5135b6566f3685e583b7e448300 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 2 16:16:26 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 2 16:19:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d94e5ba6 |
7 |
|
8 |
dev-python/plotly: add version 5.6.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/833007 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
13 |
|
14 |
dev-python/plotly/Manifest | 1 + |
15 |
dev-python/plotly/metadata.xml | 1 + |
16 |
dev-python/plotly/plotly-5.6.0.ebuild | 60 +++++++++++++++++++++++++++++++++++ |
17 |
3 files changed, 62 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/plotly/Manifest b/dev-python/plotly/Manifest |
20 |
index 4a1fe19d713d..b53e9cb2e8cc 100644 |
21 |
--- a/dev-python/plotly/Manifest |
22 |
+++ b/dev-python/plotly/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST plotly-5.2.2.tar.gz 7293292 BLAKE2B baef3accf8f5a3085908fcea558f8003687e18a1f97471c620c378c10d23d4222ef87dc47d64f45199b594414890db5b8ca5e3d7867c871d926c2ae441128c4a SHA512 4d6d79f7cc2063e73e7c17ff90a7d13324497ea8034d8ce62d79ec62b0530a59b2eaec8913fb05efb804cf5be8387b6f96d1710f41b9993233b5a13cf64dd310 |
25 |
+DIST plotly-5.6.0.tar.gz 8599746 BLAKE2B e76ac48e79a2470c320f21991a75c51c29ec959b9bbc50b1176df2f40572d794b2073f16964445a3d6dee4643063c7ccbee90fee1673b9bfd850e239fb39d0e1 SHA512 3ba91bd1b2a9cb1cd778985a0253b11f36e891e01cb734d6c88c40266f1852f2b2d02b12bc712c0b58b93dd68dd1c9b4378bcbb462bd63b3a67334cb83564c82 |
26 |
|
27 |
diff --git a/dev-python/plotly/metadata.xml b/dev-python/plotly/metadata.xml |
28 |
index 8fbe07679e00..045f16fe3634 100644 |
29 |
--- a/dev-python/plotly/metadata.xml |
30 |
+++ b/dev-python/plotly/metadata.xml |
31 |
@@ -13,4 +13,5 @@ |
32 |
<remote-id type="pypi">plotly</remote-id> |
33 |
<remote-id type="github">plotly/plotly.py</remote-id> |
34 |
</upstream> |
35 |
+ <stabilize-allarches/> |
36 |
</pkgmetadata> |
37 |
|
38 |
diff --git a/dev-python/plotly/plotly-5.6.0.ebuild b/dev-python/plotly/plotly-5.6.0.ebuild |
39 |
new file mode 100644 |
40 |
index 000000000000..23112789fce7 |
41 |
--- /dev/null |
42 |
+++ b/dev-python/plotly/plotly-5.6.0.ebuild |
43 |
@@ -0,0 +1,60 @@ |
44 |
+# Copyright 1999-2022 Gentoo Authors |
45 |
+# Distributed under the terms of the GNU General Public License v2 |
46 |
+ |
47 |
+EAPI=8 |
48 |
+ |
49 |
+PYTHON_COMPAT=( python3_{8..10} ) |
50 |
+DISTUTILS_USE_PEP517=setuptools |
51 |
+inherit distutils-r1 |
52 |
+ |
53 |
+DESCRIPTION="Browser-based graphing library for Python" |
54 |
+HOMEPAGE="https://plotly.com/python/" |
55 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
56 |
+ |
57 |
+LICENSE="MIT" |
58 |
+SLOT="0" |
59 |
+KEYWORDS="~amd64" |
60 |
+ |
61 |
+# TODO: package plotly-orca and kaleido |
62 |
+RESTRICT="test" |
63 |
+ |
64 |
+RDEPEND=" |
65 |
+ >=dev-python/tenacity-6.2.0[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/six-1.15.0[${PYTHON_USEDEP}] |
67 |
+" |
68 |
+BDEPEND=" |
69 |
+ test? ( |
70 |
+ $(python_gen_cond_dep ' |
71 |
+ dev-python/backports-tempfile[${PYTHON_USEDEP}] |
72 |
+ ' python3_8) |
73 |
+ dev-python/inflect[${PYTHON_USEDEP}] |
74 |
+ dev-python/ipykernel[${PYTHON_USEDEP}] |
75 |
+ dev-python/ipython[${PYTHON_USEDEP}] |
76 |
+ dev-python/jupyter[${PYTHON_USEDEP}] |
77 |
+ dev-python/jupyterlab[${PYTHON_USEDEP}] |
78 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
79 |
+ dev-python/mock[${PYTHON_USEDEP}] |
80 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
81 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
82 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
83 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
84 |
+ dev-python/requests[${PYTHON_USEDEP}] |
85 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
86 |
+ dev-python/scipy[${PYTHON_USEDEP}] |
87 |
+ dev-python/statsmodels[${PYTHON_USEDEP}] |
88 |
+ dev-python/xarray[${PYTHON_USEDEP}] |
89 |
+ sci-libs/pyshp[${PYTHON_USEDEP}] |
90 |
+ sci-libs/scikit-image[${PYTHON_USEDEP}] |
91 |
+ sci-libs/shapely[${PYTHON_USEDEP}] |
92 |
+ ) |
93 |
+" |
94 |
+ |
95 |
+distutils_enable_tests pytest |
96 |
+ |
97 |
+python_install_all() { |
98 |
+ distutils-r1_python_install_all |
99 |
+ |
100 |
+ mkdir -p "${ED}"/etc/ || die |
101 |
+ mv "${ED}"/usr/etc/jupyter "${ED}"/etc/ || die |
102 |
+ rmdir "${ED}"/usr/etc || die |
103 |
+} |