public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/vncdotool/
Date: Tue, 14 Sep 2021 13:58:53 +0000 (UTC)	[thread overview]
Message-ID: <1631627899.a3c6e4fe5bfe6cab2e07484b82593db1ad26d0cd.arthurzam@gentoo> (raw)

commit:     a3c6e4fe5bfe6cab2e07484b82593db1ad26d0cd
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 13 19:51:10 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 14 13:58:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3c6e4fe

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 <AT> gentoo.org>

 dev-python/vncdotool/vncdotool-0.13.0.ebuild | 12 +++++-------
 dev-python/vncdotool/vncdotool-1.0.0.ebuild  | 10 ++++------
 2 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/dev-python/vncdotool/vncdotool-0.13.0.ebuild b/dev-python/vncdotool/vncdotool-0.13.0.ebuild
index 5a1b894b8cc..122de63db2a 100644
--- a/dev-python/vncdotool/vncdotool-0.13.0.ebuild
+++ b/dev-python/vncdotool/vncdotool-0.13.0.ebuild
@@ -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}]

diff --git a/dev-python/vncdotool/vncdotool-1.0.0.ebuild b/dev-python/vncdotool/vncdotool-1.0.0.ebuild
index de7a237c274..122de63db2a 100644
--- a/dev-python/vncdotool/vncdotool-1.0.0.ebuild
+++ b/dev-python/vncdotool/vncdotool-1.0.0.ebuild
@@ -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}]


             reply	other threads:[~2021-09-14 13:59 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-14 13:58 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-09 20:40 [gentoo-commits] repo/gentoo:master commit in: dev-python/vncdotool/ Andrew Ammerlaan
2022-11-18 19:23 Arthur Zamarin
2022-11-18  5:14 Yixun Lan
2022-11-18  5:00 Sam James
2022-10-29 19:43 Sam James
2022-09-08 19:39 Jakov Smolić
2022-07-02 19:26 Michał Górny
2022-07-02 18:18 Sam James
2022-07-02 16:11 Michał Górny
2022-07-02 16:05 Jakov Smolić
2022-06-01 10:55 Andrew Ammerlaan
2022-03-12 10:20 Arthur Zamarin
2021-10-19  0:12 Sam James
2021-09-14 13:58 Arthur Zamarin
2021-07-23 14:08 Andrew Ammerlaan
2020-11-27 16:04 Agostino Sarubbo
2020-11-25  9:52 Michał Górny
2020-11-02 23:51 Sam James
2020-10-25 21:34 Thomas Deutschmann
2020-09-15  8:09 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1631627899.a3c6e4fe5bfe6cab2e07484b82593db1ad26d0cd.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox