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: Thu, 20 Jan 2022 19:07:59
Message-Id: 1642705632.1ca0f6c84d34db49092567aaf49d29bd4da720e4.andrewammerlaan@gentoo
1 commit: 1ca0f6c84d34db49092567aaf49d29bd4da720e4
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 20 18:35:07 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 20 19:07:12 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ca0f6c8
7
8 dev-python/spyder-unittest: cleanup old
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/spyder-unittest/Manifest | 2 -
14 .../spyder-unittest-0.4.1-r1.ebuild | 46 ----------------------
15 .../spyder-unittest-0.4.1_p20220106.ebuild | 41 -------------------
16 3 files changed, 89 deletions(-)
17
18 diff --git a/dev-python/spyder-unittest/Manifest b/dev-python/spyder-unittest/Manifest
19 index e9a384328d02..22be279e4c0c 100644
20 --- a/dev-python/spyder-unittest/Manifest
21 +++ b/dev-python/spyder-unittest/Manifest
22 @@ -1,3 +1 @@
23 -DIST spyder-unittest-0.4.1.tar.gz 79158 BLAKE2B 10b7a8fde9dffdb436c44f22d305ceab84970dabd19aaeb7b5685be21f0e7bfc701a5fbbf9e393a71c9feb36dd6a2be68680e276c8d0841b2133a7171c504e3f SHA512 17e08b09accd938bf533c409f9a8011e9780f9cc4533af0ec754b6a01061490f198213cb77af9050e1e67e2b4b9c25251bbab27dce23d3f6e09f502cfbef95fc
24 -DIST spyder-unittest-0.4.1_p20220106.tar.gz 80022 BLAKE2B c904196f7b0288b4d4f105037cbf75fc7ef60669ba1a24687b4f6aa672b88b139b64282c2d12340c958a3ffb65b8cf01b61256f669e167a6c15eb9471430af2a SHA512 4bea5d88b6be80435e2fa6498803ceea275b72c47bd0a54bb3be962bfe00feed2073e4d4915ea1b4dd780cb1c104f6dcd2735ee000cdedb934ed9fac059d0ca5
25 DIST spyder-unittest-0.5.0.tar.gz 80022 BLAKE2B c904196f7b0288b4d4f105037cbf75fc7ef60669ba1a24687b4f6aa672b88b139b64282c2d12340c958a3ffb65b8cf01b61256f669e167a6c15eb9471430af2a SHA512 4bea5d88b6be80435e2fa6498803ceea275b72c47bd0a54bb3be962bfe00feed2073e4d4915ea1b4dd780cb1c104f6dcd2735ee000cdedb934ed9fac059d0ca5
26
27 diff --git a/dev-python/spyder-unittest/spyder-unittest-0.4.1-r1.ebuild b/dev-python/spyder-unittest/spyder-unittest-0.4.1-r1.ebuild
28 deleted file mode 100644
29 index 38bdd2eb9179..000000000000
30 --- a/dev-python/spyder-unittest/spyder-unittest-0.4.1-r1.ebuild
31 +++ /dev/null
32 @@ -1,46 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{7,8,9} )
39 -
40 -inherit distutils-r1 virtualx
41 -
42 -DESCRIPTION="Plugin for Spyder to run tests and view the results"
43 -HOMEPAGE="https://github.com/spyder-ide/spyder-unittest"
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/spyder-4.0.0[${PYTHON_USEDEP}]
52 - <dev-python/spyder-5.1[${PYTHON_USEDEP}]
53 - dev-python/pyzmq[${PYTHON_USEDEP}]
54 - dev-python/lxml[${PYTHON_USEDEP}]
55 -"
56 -
57 -DEPEND="test? (
58 - dev-python/flaky[${PYTHON_USEDEP}]
59 - dev-python/nose[${PYTHON_USEDEP}]
60 - dev-python/pytest-mock[${PYTHON_USEDEP}]
61 - dev-python/pytest-qt[${PYTHON_USEDEP}]
62 -)"
63 -
64 -# Tests fail with spyder-5, however the plugin does load and is usable
65 -RESTRICT="test"
66 -
67 -distutils_enable_tests pytest
68 -
69 -python_test() {
70 - spyder_unittest_test() {
71 - # fails to test in ${BUILDIR}/lib
72 - # test do work if executed directly in the extracted tarball
73 - local PYTHONPATH="${WORKDIR}/${P}"
74 - pytest -vv spyder_unittest/tests spyder_unittest/widgets/tests
75 - }
76 -
77 - virtx spyder_unittest_test
78 -}
79
80 diff --git a/dev-python/spyder-unittest/spyder-unittest-0.4.1_p20220106.ebuild b/dev-python/spyder-unittest/spyder-unittest-0.4.1_p20220106.ebuild
81 deleted file mode 100644
82 index e60fa49b0a8b..000000000000
83 --- a/dev-python/spyder-unittest/spyder-unittest-0.4.1_p20220106.ebuild
84 +++ /dev/null
85 @@ -1,41 +0,0 @@
86 -# Copyright 1999-2022 Gentoo Authors
87 -# Distributed under the terms of the GNU General Public License v2
88 -
89 -EAPI=8
90 -
91 -PYTHON_COMPAT=( python3_{8..10} )
92 -
93 -inherit distutils-r1 virtualx
94 -
95 -COMMIT="d210d9fe6c4efbb21d680a040cc4741d76a81f49"
96 -
97 -DESCRIPTION="Plugin for Spyder to run tests and view the results"
98 -HOMEPAGE="https://github.com/spyder-ide/spyder-unittest"
99 -SRC_URI="https://github.com/spyder-ide/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
100 -S="${WORKDIR}/${PN}-${COMMIT}"
101 -
102 -# AttributeError: 'NoneType' object has no attribute 'split'
103 -RESTRICT="test"
104 -
105 -LICENSE="MIT"
106 -SLOT="0"
107 -KEYWORDS="~amd64 ~x86"
108 -
109 -RDEPEND="
110 - >=dev-python/spyder-5.2.0[${PYTHON_USEDEP}]
111 - dev-python/pyzmq[${PYTHON_USEDEP}]
112 - dev-python/lxml[${PYTHON_USEDEP}]
113 -"
114 -
115 -DEPEND="test? (
116 - dev-python/flaky[${PYTHON_USEDEP}]
117 - dev-python/nose[${PYTHON_USEDEP}]
118 - dev-python/pytest-mock[${PYTHON_USEDEP}]
119 - dev-python/pytest-qt[${PYTHON_USEDEP}]
120 -)"
121 -
122 -distutils_enable_tests pytest
123 -
124 -python_test() {
125 - virtx epytest
126 -}