Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/spyder-notebook/
Date: Sat, 08 Aug 2020 09:04:45
Message-Id: 1596877446.f8586d42834ca857828498488d3e0aa78029c684.juippis@gentoo
1 commit: f8586d42834ca857828498488d3e0aa78029c684
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Thu Jul 30 12:51:06 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 8 09:04:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8586d42
7
8 dev-python/spyder-notebook: version bump to 0.3.0
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12 Closes: https://github.com/gentoo/gentoo/pull/16910
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 dev-python/spyder-notebook/Manifest | 1 +
16 .../spyder-notebook/spyder-notebook-0.3.0.ebuild | 45 ++++++++++++++++++++++
17 2 files changed, 46 insertions(+)
18
19 diff --git a/dev-python/spyder-notebook/Manifest b/dev-python/spyder-notebook/Manifest
20 index 0bf8e544a0c..c1819565db8 100644
21 --- a/dev-python/spyder-notebook/Manifest
22 +++ b/dev-python/spyder-notebook/Manifest
23 @@ -1 +1,2 @@
24 DIST spyder-notebook-0.2.3.tar.gz 3692690 BLAKE2B 74fa380233155ef411f1bc6018111d94eb03cdf4d4d3b75937b4e63047320bf2292bb2e4b058efdfe0b2ba78569872e1dbda110b9b7b29c4948a787fb9fde399 SHA512 b2a8f256ea304150477df98f5e6c16c90dbfe42c0bae7eeef9fb25a9de02433a7d8b3bf448926a94df69d6adaeb91e277ebfe7f1a5135d9ac9f9ce2dc9bfd804
25 +DIST spyder-notebook-0.3.0.tar.gz 3862097 BLAKE2B 12f9edb3b49373419e491ae3f123b8c325dddefe5a55e8bb853d720aba2c28fbde0be50ec1e5f74198fa1e21faee8a7378218b3e7b3e8378c82be5ee3a10b9b8 SHA512 9259ccfcd79b7d86d49eda74182e3f1e66188f644ca7560a8929dd07c1a453f17bb976ab325ed55df879a00cbc4d14d3724909fb49c56cf1bbf9665ad69b9ec5
26
27 diff --git a/dev-python/spyder-notebook/spyder-notebook-0.3.0.ebuild b/dev-python/spyder-notebook/spyder-notebook-0.3.0.ebuild
28 new file mode 100644
29 index 00000000000..50d2780db16
30 --- /dev/null
31 +++ b/dev-python/spyder-notebook/spyder-notebook-0.3.0.ebuild
32 @@ -0,0 +1,45 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python3_7 )
39 +
40 +inherit distutils-r1 virtualx
41 +
42 +DESCRIPTION="Jupyter notebook integration with Spyder"
43 +HOMEPAGE="https://github.com/spyder-ide/spyder-notebook"
44 +SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +
50 +RDEPEND="
51 + dev-python/jinja[${PYTHON_USEDEP}]
52 + dev-python/jupyter_core[${PYTHON_USEDEP}]
53 + dev-python/nbformat[${PYTHON_USEDEP}]
54 + dev-python/notebook[${PYTHON_USEDEP}]
55 + dev-python/psutil[${PYTHON_USEDEP}]
56 + dev-python/qdarkstyle[${PYTHON_USEDEP}]
57 + dev-python/QtPy[${PYTHON_USEDEP}]
58 + dev-python/requests[${PYTHON_USEDEP}]
59 + >=dev-python/spyder-4.1.0[${PYTHON_USEDEP}]
60 + dev-python/traitlets[${PYTHON_USEDEP}]
61 +"
62 +
63 +DEPEND="test? (
64 + dev-python/flaky[${PYTHON_USEDEP}]
65 + dev-python/pytest-mock[${PYTHON_USEDEP}]
66 + dev-python/pytest-qt[${PYTHON_USEDEP}]
67 +)"
68 +
69 +DOCS=( "README.md" "RELEASE.md" "CHANGELOG.md" "doc/example.gif" )
70 +
71 +# Tests do not work inside virtx/emerge for some reason, core dumped
72 +RESTRICT="test"
73 +distutils_enable_tests pytest
74 +
75 +pytthon_test() {
76 + virtx pytest -vv
77 +}