1 |
commit: 38e2e9eb8fb16f2bb2a1b79289a58d314560cfc3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 1 08:25:47 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 1 08:50:47 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38e2e9eb |
7 |
|
8 |
dev-python/jupyter_core: Bump to 4.7.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/jupyter_core/Manifest | 1 + |
13 |
dev-python/jupyter_core/jupyter_core-4.7.1.ebuild | 42 +++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jupyter_core/Manifest b/dev-python/jupyter_core/Manifest |
17 |
index ca7f2d8eb8a..7fa3df2c990 100644 |
18 |
--- a/dev-python/jupyter_core/Manifest |
19 |
+++ b/dev-python/jupyter_core/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST jupyter_core-4.6.3.tar.gz 67305 BLAKE2B 7c6a32bd8ce773b7bc4156eabf75597112716632179736b19be4b0e73eba7c5c67a0c9d2d141b952d72b68aff826227b0004a3bc9f3b286b68eb1375f2316bdb SHA512 3c7370c24a4cf53c9747e9e411852d207c0c7035809dab7cb018ccb53e19208df25ad4f728531e47f3a42c4d9694c3e1ed7b03133de23bcbdeb346c319f5f51f |
22 |
+DIST jupyter_core-4.7.1.tar.gz 68886 BLAKE2B aa89351845c669474c03a307934a5d84b6357679bc99f2fc7da4f93ff347766d52ce3551780803b73941d6457f7004306e795398fd390c81e9180193a2119225 SHA512 bc190abd000566dbd097dcb14acf1926c92bb265f2cfbbd14dac6a9cf7d6a02f924ba89fa957ca30c2af57433e9187e288bb8e80d039a3d3a583c6e488a9c80e |
23 |
|
24 |
diff --git a/dev-python/jupyter_core/jupyter_core-4.7.1.ebuild b/dev-python/jupyter_core/jupyter_core-4.7.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..3ee1504526a |
27 |
--- /dev/null |
28 |
+++ b/dev-python/jupyter_core/jupyter_core-4.7.1.ebuild |
29 |
@@ -0,0 +1,42 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Core common functionality of Jupyter projects" |
41 |
+HOMEPAGE="https://jupyter.org" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
47 |
+ |
48 |
+RDEPEND="dev-python/traitlets[${PYTHON_USEDEP}]" |
49 |
+BDEPEND=" |
50 |
+ test? ( |
51 |
+ >=dev-python/ipython-4.0.1[${PYTHON_USEDEP}] |
52 |
+ dev-python/nose[${PYTHON_USEDEP}] |
53 |
+ )" |
54 |
+ |
55 |
+distutils_enable_sphinx docs \ |
56 |
+ dev-python/sphinxcontrib-github-alt |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+python_test() { |
60 |
+ local deselect=( |
61 |
+ # fails if jupyter is not in system sitedir |
62 |
+ # (PYTHONPATH is insufficient) |
63 |
+ jupyter_core/tests/test_command.py::test_not_on_path |
64 |
+ jupyter_core/tests/test_command.py::test_path_priority |
65 |
+ # TODO |
66 |
+ jupyter_core/tests/test_paths.py::test_jupyter_path_prefer_env |
67 |
+ ) |
68 |
+ |
69 |
+ pytest -vv ${deselect[@]/#/--deselect } || |
70 |
+ die "Tests failed with ${EPYTHON}" |
71 |
+} |