dev-python/vncdotool: enable py3.10, fix deps

fix DISTUTILS_USE_SETUPTOOLS

The reason tests fail is that the package expects the examples from
net-libs/libvncserver. But those aren't intended to be installed
(CMake skips them from install). By manually configuring and
manually calling ninja build example, and manually installing, the
test suite can be ran and work.

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2021-09-13 22:51:10 +03:00
parent ee4775d6c1
commit a3c6e4fe5b
2 changed files with 9 additions and 13 deletions

View File

@@ -1,11 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Command line VNC client"
@@ -16,8 +14,9 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
# No clue why this happens:
# A lot of errors such as the following appear
# pexpect.exceptions.ExceptionPexpect: The command was not found or was not executable: vncev.
# to install those, a manual compile and install of examples from net-libs/libvncserver is needed
RESTRICT="test"
BDEPEND="test? (
@@ -30,8 +29,7 @@ BDEPEND="test? (
dev-python/tox[${PYTHON_USEDEP}]
dev-python/virtualenv[${PYTHON_USEDEP}]
)"
DEPEND="
RDEPEND="
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/twisted[${PYTHON_USEDEP}]
dev-python/zope-interface[${PYTHON_USEDEP}]

View File

@@ -3,9 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{7..10} )
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Command line VNC client"
@@ -16,8 +14,9 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
# No clue why this happens:
# A lot of errors such as the following appear
# pexpect.exceptions.ExceptionPexpect: The command was not found or was not executable: vncev.
# to install those, a manual compile and install of examples from net-libs/libvncserver is needed
RESTRICT="test"
BDEPEND="test? (
@@ -30,8 +29,7 @@ BDEPEND="test? (
dev-python/tox[${PYTHON_USEDEP}]
dev-python/virtualenv[${PYTHON_USEDEP}]
)"
DEPEND="
RDEPEND="
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/twisted[${PYTHON_USEDEP}]
dev-python/zope-interface[${PYTHON_USEDEP}]