1 |
commit: 206278c084038fb8677621182dac90b80cf15de2 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Tue Jan 14 12:15:16 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 19 07:02:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=206278c0 |
7 |
|
8 |
dev-python/spyder-notebook: Jupyter notebook integration with Spyder |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
dev-python/spyder-notebook/Manifest | 1 + |
15 |
dev-python/spyder-notebook/metadata.xml | 12 +++++++ |
16 |
.../spyder-notebook/spyder-notebook-0.2.1.ebuild | 37 ++++++++++++++++++++++ |
17 |
3 files changed, 50 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/spyder-notebook/Manifest b/dev-python/spyder-notebook/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000000..2dc64e8fc60 |
22 |
--- /dev/null |
23 |
+++ b/dev-python/spyder-notebook/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST spyder-notebook-0.2.1.tar.gz 3690989 BLAKE2B d03a15d329741f6cc45c91120427f44c08d754f2e472caf0073f44d37874d732ca034ef3a40348d42b75c0862f0a1093ae2fcf7518f4c22032b04672042d3c1d SHA512 7614c62736ecd2894bd18c540057ab6c021991ab48df008b1f189bb93a7b3bc195beb7fcd6895c6fd9069de9ba13cb61fe16702a3a076fd7d9aff1e07afb2025 |
26 |
|
27 |
diff --git a/dev-python/spyder-notebook/metadata.xml b/dev-python/spyder-notebook/metadata.xml |
28 |
new file mode 100644 |
29 |
index 00000000000..8fc11184ab0 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/spyder-notebook/metadata.xml |
32 |
@@ -0,0 +1,12 @@ |
33 |
+<?xml version='1.0' encoding='UTF-8'?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="person"> |
37 |
+ <email>andrewammerlaan@××××××.net</email> |
38 |
+ <name>Andrew Ammerlaan</name> |
39 |
+ </maintainer> |
40 |
+ <maintainer type="project"> |
41 |
+ <email>proxy-maint@g.o</email> |
42 |
+ <name>Proxy Maintainers</name> |
43 |
+ </maintainer> |
44 |
+</pkgmetadata> |
45 |
|
46 |
diff --git a/dev-python/spyder-notebook/spyder-notebook-0.2.1.ebuild b/dev-python/spyder-notebook/spyder-notebook-0.2.1.ebuild |
47 |
new file mode 100644 |
48 |
index 00000000000..2b00297233b |
49 |
--- /dev/null |
50 |
+++ b/dev-python/spyder-notebook/spyder-notebook-0.2.1.ebuild |
51 |
@@ -0,0 +1,37 @@ |
52 |
+# Copyright 1999-2020 Gentoo Authors |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+ |
55 |
+EAPI=7 |
56 |
+ |
57 |
+PYTHON_COMPAT=( python3_{6,7} ) |
58 |
+ |
59 |
+inherit distutils-r1 virtualx |
60 |
+ |
61 |
+DESCRIPTION="Jupyter notebook integration with Spyder" |
62 |
+HOMEPAGE="https://github.com/spyder-ide/spyder-notebook" |
63 |
+SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
64 |
+ |
65 |
+LICENSE="MIT" |
66 |
+SLOT="0" |
67 |
+KEYWORDS="~amd64 ~x86" |
68 |
+ |
69 |
+RDEPEND="dev-python/nbformat[${PYTHON_USEDEP}] |
70 |
+ dev-python/notebook[${PYTHON_USEDEP}] |
71 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
72 |
+ dev-python/requests[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/spyder-4.0.0[${PYTHON_USEDEP}]" |
74 |
+ |
75 |
+DEPEND="test? ( |
76 |
+ dev-python/flaky[${PYTHON_USEDEP}] |
77 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
78 |
+ dev-python/pytest-qt[${PYTHON_USEDEP}] )" |
79 |
+ |
80 |
+DOCS=( "README.md" "RELEASE.md" "CHANGELOG.md" "doc/example.gif" ) |
81 |
+ |
82 |
+# Tests do not work inside virtx/emerge for some reason, core dumped |
83 |
+RESTRICT="test" |
84 |
+distutils_enable_tests pytest |
85 |
+ |
86 |
+pytthon_test() { |
87 |
+ virtx pytest -vv |
88 |
+} |