Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyvirtualdisplay/
Date: Mon, 17 May 2021 07:01:50
Message-Id: 1621234884.01b17ef90d2ec80cbbe699a331b695205c82eb74.mgorny@gentoo
1 commit: 01b17ef90d2ec80cbbe699a331b695205c82eb74
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 17 06:51:46 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 17 07:01:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01b17ef9
7
8 dev-python/pyvirtualdisplay: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyvirtualdisplay/Manifest | 2 -
13 .../pyvirtualdisplay/pyvirtualdisplay-1.3.2.ebuild | 53 --------------------
14 .../pyvirtualdisplay/pyvirtualdisplay-2.0.ebuild | 56 ----------------------
15 3 files changed, 111 deletions(-)
16
17 diff --git a/dev-python/pyvirtualdisplay/Manifest b/dev-python/pyvirtualdisplay/Manifest
18 index 4033e96d5a5..1328590a1f4 100644
19 --- a/dev-python/pyvirtualdisplay/Manifest
20 +++ b/dev-python/pyvirtualdisplay/Manifest
21 @@ -1,3 +1 @@
22 DIST PyVirtualDisplay-2.1.tar.gz 40798 BLAKE2B 315bb794b81948357919e98637b6276cca11739d019333c873a2b9c3d28d0bbece6996a70fe619f7acae658bcbaa2743dbbdfb23b7b8515c3a40858a83b07712 SHA512 f95a1622adfa1198d7f35757110e923e45bbfc18b31945c9efedb578e1a27fc91ffec403cc68269b2414837260b2b56ae9a58323ed5020af962757722d7a4517
23 -DIST pyvirtualdisplay-1.3.2.tar.gz 38532 BLAKE2B 2c0cb3af426abc58dc895667c5fecb40ee9aa870dbb08a51ac32fbd5bd3620b97498b3dfc6e7026362604c82f67b60885370f0704a1349a65668628d9a21e80c SHA512 422e1530bb740fc77cc0b7abb73cb8e7326689c80c5f49b58be70b262e8a2c28274d3b83a0ec7753adfbf78b780047f61cf7b18fb14f935d483a5e3d04953210
24 -DIST pyvirtualdisplay-2.0.tar.gz 40480 BLAKE2B 8243f88a3878124aebf45624ab5712052e3ee9bdae77c150bdfcf109cd7528db8b47a7328aa9a149e8fdb3d8437e84076631adb539185a16a8e64ab97265a45e SHA512 bb5c789723c96d4f2952626c063f749c9f07045231af90d21ccda41697319a4d2f27db8c0f352fd273db114c0d5e65e8c6151b7f858b8ea4e19660a1e941514f
25
26 diff --git a/dev-python/pyvirtualdisplay/pyvirtualdisplay-1.3.2.ebuild b/dev-python/pyvirtualdisplay/pyvirtualdisplay-1.3.2.ebuild
27 deleted file mode 100644
28 index 293aff4cf87..00000000000
29 --- a/dev-python/pyvirtualdisplay/pyvirtualdisplay-1.3.2.ebuild
30 +++ /dev/null
31 @@ -1,53 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{7,8} )
38 -
39 -inherit distutils-r1
40 -
41 -DESCRIPTION="Python wrapper for Xvfb, Xephyr and Xvnc"
42 -HOMEPAGE="https://github.com/ponty/PyVirtualDisplay"
43 -SRC_URI="https://github.com/ponty/PyVirtualDisplay/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="BSD-2"
46 -SLOT="0"
47 -KEYWORDS="amd64 x86"
48 -
49 -BDEPEND="test? (
50 - dev-python/backports-tempfile[${PYTHON_USEDEP}]
51 - dev-python/entrypoint2[${PYTHON_USEDEP}]
52 - dev-python/path-py[${PYTHON_USEDEP}]
53 - dev-python/pillow[${PYTHON_USEDEP}]
54 - dev-python/pyscreenshot[${PYTHON_USEDEP}]
55 - ~dev-python/vncdotool-0.13.0[${PYTHON_USEDEP}]
56 - x11-base/xorg-server[xvfb,xephyr]
57 - x11-misc/x11vnc
58 -)"
59 -
60 -DEPEND="dev-python/easyprocess[${PYTHON_USEDEP}]"
61 -
62 -S="${WORKDIR}/PyVirtualDisplay-${PV}"
63 -
64 -distutils_enable_tests pytest
65 -
66 -python_prepare_all() {
67 - # all of this fails: AssertionError
68 - rm tests/test_examples.py || die
69 -
70 - # Assertion error No such file or directory: 'Xvnc': 'Xvnc'
71 - sed -i -e 's:test_race_10_xvnc:_&:' \
72 - tests/test_race.py || die
73 -
74 - # No such file or directory: 'Xvnc': 'Xvnc'
75 - sed -i -e 's:test_slowshot:_&:' \
76 - -e 's:test_slowshot_with:_&:' \
77 - tests/test_smart.py || die
78 -
79 - # No such file or directory: 'Xvnc': 'Xvnc'
80 - sed -i -e 's:test_double:_&:' \
81 - tests/test_smart2.py || die
82 -
83 - distutils-r1_python_prepare_all
84 -}
85
86 diff --git a/dev-python/pyvirtualdisplay/pyvirtualdisplay-2.0.ebuild b/dev-python/pyvirtualdisplay/pyvirtualdisplay-2.0.ebuild
87 deleted file mode 100644
88 index 132a2cde78b..00000000000
89 --- a/dev-python/pyvirtualdisplay/pyvirtualdisplay-2.0.ebuild
90 +++ /dev/null
91 @@ -1,56 +0,0 @@
92 -# Copyright 1999-2021 Gentoo Authors
93 -# Distributed under the terms of the GNU General Public License v2
94 -
95 -EAPI=7
96 -
97 -PYTHON_COMPAT=( python3_{7,8} )
98 -
99 -inherit distutils-r1
100 -
101 -DESCRIPTION="Python wrapper for Xvfb, Xephyr and Xvnc"
102 -HOMEPAGE="https://github.com/ponty/PyVirtualDisplay"
103 -SRC_URI="https://github.com/ponty/PyVirtualDisplay/archive/${PV}.tar.gz -> ${P}.tar.gz"
104 -
105 -LICENSE="BSD-2"
106 -SLOT="0"
107 -KEYWORDS="~amd64 ~x86"
108 -
109 -BDEPEND="test? (
110 - dev-python/entrypoint2[${PYTHON_USEDEP}]
111 - dev-python/pillow[xcb,${PYTHON_USEDEP}]
112 - dev-python/psutil[${PYTHON_USEDEP}]
113 - ~dev-python/vncdotool-0.13.0[${PYTHON_USEDEP}]
114 - x11-base/xorg-server[xvfb,xephyr]
115 - x11-misc/x11vnc
116 -)"
117 -
118 -DEPEND="dev-python/easyprocess[${PYTHON_USEDEP}]"
119 -
120 -S="${WORKDIR}/PyVirtualDisplay-${PV}"
121 -
122 -distutils_enable_tests pytest
123 -
124 -python_prepare_all() {
125 - # all of this fails: AssertionError
126 - rm tests/test_examples.py || die
127 -
128 - # Hangs forever
129 - sed -i -e 's:test_race_100_xvfb:_&:' \
130 - -e 's:test_race_100_xe:_&:' \
131 - tests/test_race.py || die
132 -
133 - # Hangs forever
134 - sed -i -e 's:test_slowshot:_&:' \
135 - -e 's:test_slowshot_with:_&:' \
136 - tests/test_smart.py || die
137 -
138 - # Hangs forever
139 - sed -i -e 's:test_double:_&:' \
140 - tests/test_smart2.py || die
141 -
142 - # pyvirtualdisplay.smartdisplay.DisplayTimeoutError: Timeout! elapsed time:1.8 timeout:1
143 - sed -i -e 's:test_smart:_&:' \
144 - tests/test_smart_thread.py || die
145 -
146 - distutils-r1_python_prepare_all
147 -}