1 |
commit: 3c3a5165dbcf6fc000a8616a8394ed3b165eb93a |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 1 10:38:09 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 1 10:55:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c3a5165 |
7 |
|
8 |
dev-python/vncdotool: enable py3.11, pep517 |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
dev-python/vncdotool/vncdotool-0.13.0-r1.ebuild | 39 +++++++++++++++++++++++++ |
13 |
dev-python/vncdotool/vncdotool-1.0.0-r1.ebuild | 39 +++++++++++++++++++++++++ |
14 |
2 files changed, 78 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/vncdotool/vncdotool-0.13.0-r1.ebuild b/dev-python/vncdotool/vncdotool-0.13.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..ffc8761dd794 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/vncdotool/vncdotool-0.13.0-r1.ebuild |
21 |
@@ -0,0 +1,39 @@ |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_{8..11} ) |
28 |
+DISTUTILS_USE_PEP517=setuptools |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="Command line VNC client" |
32 |
+HOMEPAGE="https://github.com/sibson/vncdotool" |
33 |
+SRC_URI="https://github.com/sibson/vncdotool/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="MIT" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
38 |
+ |
39 |
+# A lot of errors such as the following appear |
40 |
+# pexpect.exceptions.ExceptionPexpect: The command was not found or was not executable: vncev. |
41 |
+# to install those, a manual compile and install of examples from net-libs/libvncserver is needed |
42 |
+RESTRICT="test" |
43 |
+ |
44 |
+BDEPEND="test? ( |
45 |
+ dev-python/mock[${PYTHON_USEDEP}] |
46 |
+ dev-python/pexpect[${PYTHON_USEDEP}] |
47 |
+ dev-python/pluggy[${PYTHON_USEDEP}] |
48 |
+ dev-python/ptyprocess[${PYTHON_USEDEP}] |
49 |
+ dev-python/py[${PYTHON_USEDEP}] |
50 |
+ dev-python/tox[${PYTHON_USEDEP}] |
51 |
+ dev-python/virtualenv[${PYTHON_USEDEP}] |
52 |
+)" |
53 |
+RDEPEND=" |
54 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
55 |
+ dev-python/twisted[${PYTHON_USEDEP}] |
56 |
+ dev-python/zope-interface[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+ |
59 |
+distutils_enable_tests pytest |
60 |
+distutils_enable_sphinx docs |
61 |
|
62 |
diff --git a/dev-python/vncdotool/vncdotool-1.0.0-r1.ebuild b/dev-python/vncdotool/vncdotool-1.0.0-r1.ebuild |
63 |
new file mode 100644 |
64 |
index 000000000000..ffc8761dd794 |
65 |
--- /dev/null |
66 |
+++ b/dev-python/vncdotool/vncdotool-1.0.0-r1.ebuild |
67 |
@@ -0,0 +1,39 @@ |
68 |
+# Copyright 1999-2022 Gentoo Authors |
69 |
+# Distributed under the terms of the GNU General Public License v2 |
70 |
+ |
71 |
+EAPI=8 |
72 |
+ |
73 |
+PYTHON_COMPAT=( python3_{8..11} ) |
74 |
+DISTUTILS_USE_PEP517=setuptools |
75 |
+inherit distutils-r1 |
76 |
+ |
77 |
+DESCRIPTION="Command line VNC client" |
78 |
+HOMEPAGE="https://github.com/sibson/vncdotool" |
79 |
+SRC_URI="https://github.com/sibson/vncdotool/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
80 |
+ |
81 |
+LICENSE="MIT" |
82 |
+SLOT="0" |
83 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
84 |
+ |
85 |
+# A lot of errors such as the following appear |
86 |
+# pexpect.exceptions.ExceptionPexpect: The command was not found or was not executable: vncev. |
87 |
+# to install those, a manual compile and install of examples from net-libs/libvncserver is needed |
88 |
+RESTRICT="test" |
89 |
+ |
90 |
+BDEPEND="test? ( |
91 |
+ dev-python/mock[${PYTHON_USEDEP}] |
92 |
+ dev-python/pexpect[${PYTHON_USEDEP}] |
93 |
+ dev-python/pluggy[${PYTHON_USEDEP}] |
94 |
+ dev-python/ptyprocess[${PYTHON_USEDEP}] |
95 |
+ dev-python/py[${PYTHON_USEDEP}] |
96 |
+ dev-python/tox[${PYTHON_USEDEP}] |
97 |
+ dev-python/virtualenv[${PYTHON_USEDEP}] |
98 |
+)" |
99 |
+RDEPEND=" |
100 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
101 |
+ dev-python/twisted[${PYTHON_USEDEP}] |
102 |
+ dev-python/zope-interface[${PYTHON_USEDEP}] |
103 |
+" |
104 |
+ |
105 |
+distutils_enable_tests pytest |
106 |
+distutils_enable_sphinx docs |