Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/plotly/
Date: Tue, 24 Aug 2021 18:41:24
Message-Id: 1629830473.4eb55de6a7c4d57b4191a58047b0a6d6ee0d4cf3.andrewammerlaan@gentoo
1 commit: 4eb55de6a7c4d57b4191a58047b0a6d6ee0d4cf3
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 24 18:35:09 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 24 18:41:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eb55de6
7
8 dev-python/plotly: add version 5.2.2
9
10 Closes: https://bugs.gentoo.org/808105
11 Package-Manager: Portage-3.0.22, 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/plotly-5.2.2.ebuild | 31 +++++++++++++++++++++++++++++++
16 2 files changed, 32 insertions(+)
17
18 diff --git a/dev-python/plotly/Manifest b/dev-python/plotly/Manifest
19 index ba21cf695ea..3c08fb3d074 100644
20 --- a/dev-python/plotly/Manifest
21 +++ b/dev-python/plotly/Manifest
22 @@ -1,2 +1,3 @@
23 DIST plotly-4.14.1.tar.gz 6373585 BLAKE2B 8e8d15a7f68bbef835fcbc0048c2457916aad1b10e06c903222030b2b2e1b902e2d42080f8ac2c19928dabd7e1623210930b9f33dededa71dbbb28b2f41f848c SHA512 e052680d0e7344b9f53f1b917dd0b9bc87b0c34300d93b8958ccb35b38f9dc5e7fb4db016d1113df4bae78c419f3d378112c59c3470723ce1349eaadbc5011f8
24 DIST plotly-4.14.3.tar.gz 6374650 BLAKE2B 91d950b6365876b03b2b0393c642275c37fc352fda90ce010310f5dae046c3cdd835de438036c5d92fd35d3afcd2c7b8548a87b1354d4a33cd2cfe10838ae94d SHA512 7d8db7a0f6c1abeda1b222f9bd25e4395dd8d14d246ad986960868a8083e4f1d1f600d84f44416eb1d089640d190192e931b5a5f6ae24e01cf8146c4cf8e80eb
25 +DIST plotly-5.2.2.tar.gz 7293292 BLAKE2B baef3accf8f5a3085908fcea558f8003687e18a1f97471c620c378c10d23d4222ef87dc47d64f45199b594414890db5b8ca5e3d7867c871d926c2ae441128c4a SHA512 4d6d79f7cc2063e73e7c17ff90a7d13324497ea8034d8ce62d79ec62b0530a59b2eaec8913fb05efb804cf5be8387b6f96d1710f41b9993233b5a13cf64dd310
26
27 diff --git a/dev-python/plotly/plotly-5.2.2.ebuild b/dev-python/plotly/plotly-5.2.2.ebuild
28 new file mode 100644
29 index 00000000000..7320a8a0913
30 --- /dev/null
31 +++ b/dev-python/plotly/plotly-5.2.2.ebuild
32 @@ -0,0 +1,31 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Browser-based graphing library for Python"
43 +HOMEPAGE="https://plotly.com/python/"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +# The GitHub tarball contains the tests, but it excludes other things which have
46 +# to be fetched with npm and therefore it does not work in the network-sandbox.
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +
52 +RDEPEND="
53 + >=dev-python/tenacity-6.2.0[${PYTHON_USEDEP}]
54 + >=dev-python/six-1.15.0[${PYTHON_USEDEP}]
55 +"
56 +
57 +python_install_all() {
58 + distutils-r1_python_install_all
59 +
60 + mkdir -p "${ED}"/etc/ || die
61 + mv "${ED}"/usr/etc/jupyter "${ED}"/etc/ || die
62 + rmdir "${ED}"/usr/etc || die
63 +}