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/jupyter_core/
Date: Wed, 29 Dec 2021 12:42:39
Message-Id: 1640781741.8c45758b17cb4be5d14ed3b8435dd206bdb7f675.andrewammerlaan@gentoo
1 commit: 8c45758b17cb4be5d14ed3b8435dd206bdb7f675
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 29 12:24:22 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 29 12:42:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c45758b
7
8 dev-python/jupyter_core: add version 4.9.1
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
12
13 dev-python/jupyter_core/Manifest | 1 +
14 dev-python/jupyter_core/jupyter_core-4.9.1.ebuild | 38 +++++++++++++++++++++++
15 2 files changed, 39 insertions(+)
16
17 diff --git a/dev-python/jupyter_core/Manifest b/dev-python/jupyter_core/Manifest
18 index 215774878a84..1a4ad534107b 100644
19 --- a/dev-python/jupyter_core/Manifest
20 +++ b/dev-python/jupyter_core/Manifest
21 @@ -1 +1,2 @@
22 DIST jupyter_core-4.8.1.tar.gz 73579 BLAKE2B d5dcc89d948fa52f4a1b7c210585e9e5657004a431a4d177d7393d8283a9be86117e2c2452e4381399d1f479ae7b9ec4c5f891d09dd99c81768a64b69d8b182a SHA512 774612652537f46f486c0ae4157053463debcdc079d5e732865c729ef7fbab5f0d1b8da5d4e7cc1eda3a80250b43877d8f75889fa86330f951c61e3f8a7a29e2
23 +DIST jupyter_core-4.9.1.tar.gz 74787 BLAKE2B 3c902063c4d2819c8254eca87a64d922c3d1e408fc22e96d03765a8bb0fe644a9aafaccf3db106841becf307ffe47c9fcb723cad611833b5fcbe79e812ea2445 SHA512 3a176271e073448e3a15a69d51558486775abebec051e141594fe0d2859d9a0fc5cadbf6857764de6d1ec746f03d9d22419c91f97015d4ff6694626f455df773
24
25 diff --git a/dev-python/jupyter_core/jupyter_core-4.9.1.ebuild b/dev-python/jupyter_core/jupyter_core-4.9.1.ebuild
26 new file mode 100644
27 index 000000000000..a854289d7d62
28 --- /dev/null
29 +++ b/dev-python/jupyter_core/jupyter_core-4.9.1.ebuild
30 @@ -0,0 +1,38 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Core common functionality of Jupyter projects"
40 +HOMEPAGE="https://jupyter.org"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
46 +
47 +RDEPEND="dev-python/traitlets[${PYTHON_USEDEP}]"
48 +BDEPEND="
49 + test? (
50 + >=dev-python/ipython-4.0.1[${PYTHON_USEDEP}]
51 + dev-python/nose[${PYTHON_USEDEP}]
52 + )"
53 +
54 +distutils_enable_sphinx docs \
55 + dev-python/sphinxcontrib-github-alt
56 +distutils_enable_tests pytest
57 +
58 +EPYTEST_DESELECT=(
59 + # fails if jupyter is not in system sitedir
60 + # (PYTHONPATH is insufficient)
61 + jupyter_core/tests/test_command.py::test_not_on_path
62 + jupyter_core/tests/test_command.py::test_path_priority
63 + # assert '/usr/local/share/jupyter' == '/usr/share/jupyter'
64 + jupyter_core/tests/test_paths.py::test_jupyter_path_user_site
65 + jupyter_core/tests/test_paths.py::test_jupyter_path_no_user_site
66 + # TODO
67 + jupyter_core/tests/test_paths.py::test_jupyter_path_prefer_env
68 +)