1 |
commit: 0073ab110d9bbb84cb0e11e78bdcc87d26911752 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 29 11:09:44 2023 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 29 11:44:43 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0073ab11 |
7 |
|
8 |
dev-python/plotly-geo: update EAPI 7 -> 8, pep517, enable py3.11 |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
dev-python/plotly-geo/Manifest | 1 + |
13 |
dev-python/plotly-geo/plotly-geo-1.0.0-r2.ebuild | 31 ++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/plotly-geo/Manifest b/dev-python/plotly-geo/Manifest |
17 |
index 43ba51a2d31f..f0757ea63b2a 100644 |
18 |
--- a/dev-python/plotly-geo/Manifest |
19 |
+++ b/dev-python/plotly-geo/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST plotly-geo-1.0.0.tar.gz 23718591 BLAKE2B f78b36cd7ac6ec10e830f6be5758ed31ad2382882454d96ef652a73a11aa9b3be46ea24fd3f49a6189d9fd9eeaa89ca6777c691be9fc65f4d2a04a4d2bd58823 SHA512 977621c0fc84a6c72b2a91bcba27cc25b277f32cc87a7098675b3d7cb8c468a8291ef66397f3ceb45fbaa3484eba53d7649f809cf9d02af6309562af0b4fdf4a |
22 |
+DIST plotly.py-5.13.0.gh.tar.gz 30683340 BLAKE2B 0e2c5638c766e5da6e2067d7be270576afed984b45deec0955fa10698d37bd082f3ebc568a8290c17554c672ef9e31cee81b0fae18b9f3249591fe62510ce5fd SHA512 c874b46ac43520519951aad55f93bfcfe03910873fd273f283fe16ae2a4150cfa35104be422c21b65785c77f468f084847278f76bce3d9179cc2a339809c42e3 |
23 |
|
24 |
diff --git a/dev-python/plotly-geo/plotly-geo-1.0.0-r2.ebuild b/dev-python/plotly-geo/plotly-geo-1.0.0-r2.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..c3220f5d9a8f |
27 |
--- /dev/null |
28 |
+++ b/dev-python/plotly-geo/plotly-geo-1.0.0-r2.ebuild |
29 |
@@ -0,0 +1,31 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{10..11} ) |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+PLOTLY_PV="5.13.0" |
40 |
+ |
41 |
+DESCRIPTION="Browser-based graphing library for Python" |
42 |
+HOMEPAGE="https://plotly.com/python/" |
43 |
+SRC_URI="https://github.com/plotly/plotly.py/archive/refs/tags/v${PLOTLY_PV}.tar.gz -> plotly.py-${PLOTLY_PV}.gh.tar.gz" |
44 |
+S="${WORKDIR}/plotly.py-${PLOTLY_PV}/packages/python/${PN}" |
45 |
+ |
46 |
+# The warning about tests not being enabled is a false positive. |
47 |
+# Add distutils_enable_tests and restrict the tests to suppress the warning. |
48 |
+RESTRICT="test" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ dev-python/plotly[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+ |
58 |
+# There are sphinx docs but we are missing a bunch of dependencies. |
59 |
+# distutils_enable_sphinx ../../../doc/apidoc |
60 |
+distutils_enable_tests pytest |