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/spyder-unittest/
Date: Mon, 05 Sep 2022 12:13:00
Message-Id: 1662379847.f6e5b6798c23e88a3600c326ac7b0c3f1b31483f.andrewammerlaan@gentoo
1 commit: f6e5b6798c23e88a3600c326ac7b0c3f1b31483f
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 5 11:55:07 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 5 12:10:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6e5b679
7
8 dev-python/spyder-unittest: add 0.5.1
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 dev-python/spyder-unittest/Manifest | 1 +
13 .../spyder-unittest/spyder-unittest-0.5.1.ebuild | 42 ++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/dev-python/spyder-unittest/Manifest b/dev-python/spyder-unittest/Manifest
17 index 22be279e4c0c..62e90be9ac19 100644
18 --- a/dev-python/spyder-unittest/Manifest
19 +++ b/dev-python/spyder-unittest/Manifest
20 @@ -1 +1,2 @@
21 DIST spyder-unittest-0.5.0.tar.gz 80022 BLAKE2B c904196f7b0288b4d4f105037cbf75fc7ef60669ba1a24687b4f6aa672b88b139b64282c2d12340c958a3ffb65b8cf01b61256f669e167a6c15eb9471430af2a SHA512 4bea5d88b6be80435e2fa6498803ceea275b72c47bd0a54bb3be962bfe00feed2073e4d4915ea1b4dd780cb1c104f6dcd2735ee000cdedb934ed9fac059d0ca5
22 +DIST spyder-unittest-0.5.1.gh.tar.gz 80022 BLAKE2B c904196f7b0288b4d4f105037cbf75fc7ef60669ba1a24687b4f6aa672b88b139b64282c2d12340c958a3ffb65b8cf01b61256f669e167a6c15eb9471430af2a SHA512 4bea5d88b6be80435e2fa6498803ceea275b72c47bd0a54bb3be962bfe00feed2073e4d4915ea1b4dd780cb1c104f6dcd2735ee000cdedb934ed9fac059d0ca5
23
24 diff --git a/dev-python/spyder-unittest/spyder-unittest-0.5.1.ebuild b/dev-python/spyder-unittest/spyder-unittest-0.5.1.ebuild
25 new file mode 100644
26 index 000000000000..abd29d2cb968
27 --- /dev/null
28 +++ b/dev-python/spyder-unittest/spyder-unittest-0.5.1.ebuild
29 @@ -0,0 +1,42 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +
37 +inherit distutils-r1 virtualx
38 +
39 +COMMIT="d210d9fe6c4efbb21d680a040cc4741d76a81f49"
40 +
41 +DESCRIPTION="Plugin for Spyder to run tests and view the results"
42 +HOMEPAGE="https://github.com/spyder-ide/spyder-unittest"
43 +SRC_URI="https://github.com/spyder-ide/${PN}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
44 +S="${WORKDIR}/${PN}-${COMMIT}"
45 +
46 +# AttributeError: 'NoneType' object has no attribute 'split'
47 +RESTRICT="test"
48 +
49 +LICENSE="MIT"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +
53 +RDEPEND="
54 + >=dev-python/spyder-5.3.1[${PYTHON_USEDEP}]
55 + <dev-python/spyder-6[${PYTHON_USEDEP}]
56 + dev-python/pyzmq[${PYTHON_USEDEP}]
57 + dev-python/lxml[${PYTHON_USEDEP}]
58 +"
59 +
60 +DEPEND="test? (
61 + dev-python/flaky[${PYTHON_USEDEP}]
62 + dev-python/nose[${PYTHON_USEDEP}]
63 + dev-python/pytest-mock[${PYTHON_USEDEP}]
64 + dev-python/pytest-qt[${PYTHON_USEDEP}]
65 +)"
66 +
67 +distutils_enable_tests pytest
68 +
69 +python_test() {
70 + virtx epytest
71 +}