Gentoo Archives: gentoo-commits

From: Ryan Fox <flewkey@××××.party>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
Date: Thu, 26 May 2022 21:09:13
Message-Id: 1653599086.6deb9f488f576a25dd74c58ad1a75e92f7b0c52f.flewkey@gentoo
1 commit: 6deb9f488f576a25dd74c58ad1a75e92f7b0c52f
2 Author: Ryan Fox <flewkey <AT> 2a03 <DOT> party>
3 AuthorDate: Thu May 26 21:04:46 2022 +0000
4 Commit: Ryan Fox <flewkey <AT> 2a03 <DOT> party>
5 CommitDate: Thu May 26 21:04:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6deb9f48
7
8 dev-python/pyclip: Disable tests
9
10 Running the tests is a bad idea because the clipboard isn't always
11 available when building.
12
13 Signed-off-by: Ryan Fox <flewkey <AT> 2a03.party>
14 Closes: https://bugs.gentoo.org/847169
15
16 dev-python/pyclip/pyclip-0.5.4.ebuild | 13 ++-----------
17 dev-python/pyclip/pyclip-0.6.0.ebuild | 13 ++-----------
18 dev-python/pyclip/pyclip-9999.ebuild | 13 ++-----------
19 3 files changed, 6 insertions(+), 33 deletions(-)
20
21 diff --git a/dev-python/pyclip/pyclip-0.5.4.ebuild b/dev-python/pyclip/pyclip-0.5.4.ebuild
22 index f57d3f5c1..9d7f2261e 100644
23 --- a/dev-python/pyclip/pyclip-0.5.4.ebuild
24 +++ b/dev-python/pyclip/pyclip-0.5.4.ebuild
25 @@ -20,20 +20,11 @@ DESCRIPTION="Python clipboard module"
26 HOMEPAGE="https://pypi.org/project/pyclip/"
27 LICENSE="Apache-2.0"
28 SLOT="0"
29 -IUSE="test"
30 -RESTRICT="!test? ( test )"
31 +RESTRICT="test"
32 DOCS="${S}/docs/README.md"
33
34 -DEPEND="
35 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )
36 -"
37 +DEPEND=""
38 RDEPEND="
39 x11-misc/xclip
40 "
41 BDEPEND=""
42 -
43 -python_test() {
44 - for unittest in "${S}/tests/"*".py"; do
45 - "${EPYTHON}" "${unittest}" || die "Tests failed"
46 - done
47 -}
48
49 diff --git a/dev-python/pyclip/pyclip-0.6.0.ebuild b/dev-python/pyclip/pyclip-0.6.0.ebuild
50 index 61efa2b6a..8eb8b2e96 100644
51 --- a/dev-python/pyclip/pyclip-0.6.0.ebuild
52 +++ b/dev-python/pyclip/pyclip-0.6.0.ebuild
53 @@ -20,21 +20,12 @@ DESCRIPTION="Python clipboard module"
54 HOMEPAGE="https://pypi.org/project/pyclip/"
55 LICENSE="Apache-2.0"
56 SLOT="0"
57 -IUSE="test"
58 -RESTRICT="!test? ( test )"
59 +RESTRICT="test"
60 DOCS="${S}/docs/README.md"
61
62 -DEPEND="
63 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )
64 -"
65 +DEPEND=""
66 RDEPEND="
67 gui-apps/wl-clipboard
68 x11-misc/xclip
69 "
70 BDEPEND=""
71 -
72 -python_test() {
73 - for unittest in "${S}/tests/"*".py"; do
74 - "${EPYTHON}" "${unittest}" || die "Tests failed"
75 - done
76 -}
77
78 diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild
79 index 61efa2b6a..8eb8b2e96 100644
80 --- a/dev-python/pyclip/pyclip-9999.ebuild
81 +++ b/dev-python/pyclip/pyclip-9999.ebuild
82 @@ -20,21 +20,12 @@ DESCRIPTION="Python clipboard module"
83 HOMEPAGE="https://pypi.org/project/pyclip/"
84 LICENSE="Apache-2.0"
85 SLOT="0"
86 -IUSE="test"
87 -RESTRICT="!test? ( test )"
88 +RESTRICT="test"
89 DOCS="${S}/docs/README.md"
90
91 -DEPEND="
92 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )
93 -"
94 +DEPEND=""
95 RDEPEND="
96 gui-apps/wl-clipboard
97 x11-misc/xclip
98 "
99 BDEPEND=""
100 -
101 -python_test() {
102 - for unittest in "${S}/tests/"*".py"; do
103 - "${EPYTHON}" "${unittest}" || die "Tests failed"
104 - done
105 -}