1 |
commit: a3c6e4fe5bfe6cab2e07484b82593db1ad26d0cd |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 13 19:51:10 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 14 13:58:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3c6e4fe |
7 |
|
8 |
dev-python/vncdotool: enable py3.10, fix deps |
9 |
|
10 |
fix DISTUTILS_USE_SETUPTOOLS |
11 |
|
12 |
The reason tests fail is that the package expects the examples from |
13 |
net-libs/libvncserver. But those aren't intended to be installed |
14 |
(CMake skips them from install). By manually configuring and |
15 |
manually calling ninja build example, and manually installing, the |
16 |
test suite can be ran and work. |
17 |
|
18 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
19 |
|
20 |
dev-python/vncdotool/vncdotool-0.13.0.ebuild | 12 +++++------- |
21 |
dev-python/vncdotool/vncdotool-1.0.0.ebuild | 10 ++++------ |
22 |
2 files changed, 9 insertions(+), 13 deletions(-) |
23 |
|
24 |
diff --git a/dev-python/vncdotool/vncdotool-0.13.0.ebuild b/dev-python/vncdotool/vncdotool-0.13.0.ebuild |
25 |
index 5a1b894b8cc..122de63db2a 100644 |
26 |
--- a/dev-python/vncdotool/vncdotool-0.13.0.ebuild |
27 |
+++ b/dev-python/vncdotool/vncdotool-0.13.0.ebuild |
28 |
@@ -1,11 +1,9 @@ |
29 |
-# Copyright 1999-2020 Gentoo Authors |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
|
33 |
EAPI=7 |
34 |
|
35 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
36 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
37 |
- |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
inherit distutils-r1 |
40 |
|
41 |
DESCRIPTION="Command line VNC client" |
42 |
@@ -16,8 +14,9 @@ LICENSE="MIT" |
43 |
SLOT="0" |
44 |
KEYWORDS="amd64 x86" |
45 |
|
46 |
-# No clue why this happens: |
47 |
+# A lot of errors such as the following appear |
48 |
# pexpect.exceptions.ExceptionPexpect: The command was not found or was not executable: vncev. |
49 |
+# to install those, a manual compile and install of examples from net-libs/libvncserver is needed |
50 |
RESTRICT="test" |
51 |
|
52 |
BDEPEND="test? ( |
53 |
@@ -30,8 +29,7 @@ BDEPEND="test? ( |
54 |
dev-python/tox[${PYTHON_USEDEP}] |
55 |
dev-python/virtualenv[${PYTHON_USEDEP}] |
56 |
)" |
57 |
- |
58 |
-DEPEND=" |
59 |
+RDEPEND=" |
60 |
dev-python/pillow[${PYTHON_USEDEP}] |
61 |
dev-python/twisted[${PYTHON_USEDEP}] |
62 |
dev-python/zope-interface[${PYTHON_USEDEP}] |
63 |
|
64 |
diff --git a/dev-python/vncdotool/vncdotool-1.0.0.ebuild b/dev-python/vncdotool/vncdotool-1.0.0.ebuild |
65 |
index de7a237c274..122de63db2a 100644 |
66 |
--- a/dev-python/vncdotool/vncdotool-1.0.0.ebuild |
67 |
+++ b/dev-python/vncdotool/vncdotool-1.0.0.ebuild |
68 |
@@ -3,9 +3,7 @@ |
69 |
|
70 |
EAPI=7 |
71 |
|
72 |
-PYTHON_COMPAT=( python3_{7..10} ) |
73 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
74 |
- |
75 |
+PYTHON_COMPAT=( python3_{8..10} ) |
76 |
inherit distutils-r1 |
77 |
|
78 |
DESCRIPTION="Command line VNC client" |
79 |
@@ -16,8 +14,9 @@ LICENSE="MIT" |
80 |
SLOT="0" |
81 |
KEYWORDS="amd64 x86" |
82 |
|
83 |
-# No clue why this happens: |
84 |
+# A lot of errors such as the following appear |
85 |
# pexpect.exceptions.ExceptionPexpect: The command was not found or was not executable: vncev. |
86 |
+# to install those, a manual compile and install of examples from net-libs/libvncserver is needed |
87 |
RESTRICT="test" |
88 |
|
89 |
BDEPEND="test? ( |
90 |
@@ -30,8 +29,7 @@ BDEPEND="test? ( |
91 |
dev-python/tox[${PYTHON_USEDEP}] |
92 |
dev-python/virtualenv[${PYTHON_USEDEP}] |
93 |
)" |
94 |
- |
95 |
-DEPEND=" |
96 |
+RDEPEND=" |
97 |
dev-python/pillow[${PYTHON_USEDEP}] |
98 |
dev-python/twisted[${PYTHON_USEDEP}] |
99 |
dev-python/zope-interface[${PYTHON_USEDEP}] |