summaryrefslogtreecommitdiff
path: root/dev-python/pyvirtualdisplay
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
commit7218e1b46bceac05841e90472501742d905fb3fc (patch)
tree56fae051db521b8fce8014cbc8b11484885b14b3 /dev-python/pyvirtualdisplay
parent6d691ad5b6239929063441bbd14c489e92e7396e (diff)
gentoo resync : 12.03.2021
Diffstat (limited to 'dev-python/pyvirtualdisplay')
-rw-r--r--dev-python/pyvirtualdisplay/Manifest2
-rw-r--r--dev-python/pyvirtualdisplay/pyvirtualdisplay-2.0.ebuild56
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/pyvirtualdisplay/Manifest b/dev-python/pyvirtualdisplay/Manifest
index 7af238df9410..68898e57c5e2 100644
--- a/dev-python/pyvirtualdisplay/Manifest
+++ b/dev-python/pyvirtualdisplay/Manifest
@@ -1,5 +1,7 @@
DIST PyVirtualDisplay-2.1.tar.gz 40798 BLAKE2B 315bb794b81948357919e98637b6276cca11739d019333c873a2b9c3d28d0bbece6996a70fe619f7acae658bcbaa2743dbbdfb23b7b8515c3a40858a83b07712 SHA512 f95a1622adfa1198d7f35757110e923e45bbfc18b31945c9efedb578e1a27fc91ffec403cc68269b2414837260b2b56ae9a58323ed5020af962757722d7a4517
DIST pyvirtualdisplay-1.3.2.tar.gz 38532 BLAKE2B 2c0cb3af426abc58dc895667c5fecb40ee9aa870dbb08a51ac32fbd5bd3620b97498b3dfc6e7026362604c82f67b60885370f0704a1349a65668628d9a21e80c SHA512 422e1530bb740fc77cc0b7abb73cb8e7326689c80c5f49b58be70b262e8a2c28274d3b83a0ec7753adfbf78b780047f61cf7b18fb14f935d483a5e3d04953210
+DIST pyvirtualdisplay-2.0.tar.gz 40480 BLAKE2B 8243f88a3878124aebf45624ab5712052e3ee9bdae77c150bdfcf109cd7528db8b47a7328aa9a149e8fdb3d8437e84076631adb539185a16a8e64ab97265a45e SHA512 bb5c789723c96d4f2952626c063f749c9f07045231af90d21ccda41697319a4d2f27db8c0f352fd273db114c0d5e65e8c6151b7f858b8ea4e19660a1e941514f
EBUILD pyvirtualdisplay-1.3.2.ebuild 1378 BLAKE2B 251f36c32e53a76604d98d8166e6a32e5a663994c6729cff60d0e759089d3cc52a87d459e41783c4fdcc68df2ed77d1979bf92b4c288c92ce52ed0d7a90cbaa4 SHA512 ed8dfae1439ccaf1c0b5936024f9f91ebafaa0efbf324f0d8070797a3c6c2dd2751b672cdb5b39acc56c79a4faf9de4ce6683513b1faa6de224719e2213840dd
+EBUILD pyvirtualdisplay-2.0.ebuild 1383 BLAKE2B 57eadd7da3a9c5f32936a282416785f7c3c78e3c2ad41c6307a184f742e20951351863f3b03e29cd09497c259df13d433bcb52227ebea8667c0789e0810f2ec5 SHA512 0365e68ea9ad8600139c197ca8b21539309b08c197f710e6f0db191cd404ede12dc81b43431b4fe1ec6cecf4400bd58797140ff96c8b831d7e1ad2cedbefe49e
EBUILD pyvirtualdisplay-2.1.ebuild 950 BLAKE2B e351abd07253bea2a2a16421e96fc3d6e853e6f9a0851969da6d39bc23c1378b8cc9637ae4a8177afffc1b091e6c0ce9a06dfd699bb905d02f4b5e80eacf6d89 SHA512 68d0bb13e235b2515ecc30da4135ca5ea401c2aa9e7148e232b405204a02468f31727caaa6091788e362a9c47bc0adacfb3eb2093046d78d4a1246256d9fd1e9
MISC metadata.xml 555 BLAKE2B 226c0f1bf5691e6e3c2c7e092df25cbf3f52d5aa9138e393228381de08acdcc64e3860a7c8ccda30135ac702ffcc57718a4c4c1ea12846dba20e34812a36b6b7 SHA512 0d29bd64e163061ad69b87bafd41fec8ea618437ddbdc1b7597e2e5182cb516a266d8246e0a6f10d01b6feaab96552c9e35b619afb9ba2cd55d2f5fe23366462
diff --git a/dev-python/pyvirtualdisplay/pyvirtualdisplay-2.0.ebuild b/dev-python/pyvirtualdisplay/pyvirtualdisplay-2.0.ebuild
new file mode 100644
index 000000000000..132a2cde78b6
--- /dev/null
+++ b/dev-python/pyvirtualdisplay/pyvirtualdisplay-2.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python wrapper for Xvfb, Xephyr and Xvnc"
+HOMEPAGE="https://github.com/ponty/PyVirtualDisplay"
+SRC_URI="https://github.com/ponty/PyVirtualDisplay/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="test? (
+ dev-python/entrypoint2[${PYTHON_USEDEP}]
+ dev-python/pillow[xcb,${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ ~dev-python/vncdotool-0.13.0[${PYTHON_USEDEP}]
+ x11-base/xorg-server[xvfb,xephyr]
+ x11-misc/x11vnc
+)"
+
+DEPEND="dev-python/easyprocess[${PYTHON_USEDEP}]"
+
+S="${WORKDIR}/PyVirtualDisplay-${PV}"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # all of this fails: AssertionError
+ rm tests/test_examples.py || die
+
+ # Hangs forever
+ sed -i -e 's:test_race_100_xvfb:_&:' \
+ -e 's:test_race_100_xe:_&:' \
+ tests/test_race.py || die
+
+ # Hangs forever
+ sed -i -e 's:test_slowshot:_&:' \
+ -e 's:test_slowshot_with:_&:' \
+ tests/test_smart.py || die
+
+ # Hangs forever
+ sed -i -e 's:test_double:_&:' \
+ tests/test_smart2.py || die
+
+ # pyvirtualdisplay.smartdisplay.DisplayTimeoutError: Timeout! elapsed time:1.8 timeout:1
+ sed -i -e 's:test_smart:_&:' \
+ tests/test_smart_thread.py || die
+
+ distutils-r1_python_prepare_all
+}