From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 72357138351 for ; Sat, 18 Apr 2020 09:39:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6126E097A; Sat, 18 Apr 2020 09:39:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E085E097A for ; Sat, 18 Apr 2020 09:39:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3CBAA34F25B for ; Sat, 18 Apr 2020 09:39:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC5E5103 for ; Sat, 18 Apr 2020 09:39:26 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1587202748.a3cc7df7f919becfaf08ce68a93712fbffbd0b6d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/poezio/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/poezio/poezio-0.12.ebuild net-im/poezio/poezio-9999.ebuild X-VCS-Directories: net-im/poezio/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a3cc7df7f919becfaf08ce68a93712fbffbd0b6d X-VCS-Branch: master Date: Sat, 18 Apr 2020 09:39:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0f39578e-379c-41a7-971d-4c4636c90e7a X-Archives-Hash: 5c15fb004f8c79c40780d3d20d9c1dc2 commit: a3cc7df7f919becfaf08ce68a93712fbffbd0b6d Author: Michał Górny gentoo org> AuthorDate: Sat Apr 18 09:32:46 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Apr 18 09:39:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3cc7df7 net-im/poezio: Fix running tests, use correct deps Upstream uses pytest in tests, so we need to depend on it. Using pytest also avoids failures due to missing optional runtime deps that are not used in tests at all. Closes: https://bugs.gentoo.org/717884 Signed-off-by: Michał Górny gentoo.org> net-im/poezio/poezio-0.12.ebuild | 14 ++------------ net-im/poezio/poezio-9999.ebuild | 14 ++------------ 2 files changed, 4 insertions(+), 24 deletions(-) diff --git a/net-im/poezio/poezio-0.12.ebuild b/net-im/poezio/poezio-0.12.ebuild index d4124188559..435612e4aec 100644 --- a/net-im/poezio/poezio-0.12.ebuild +++ b/net-im/poezio/poezio-0.12.ebuild @@ -10,8 +10,6 @@ DESCRIPTION="Console XMPP client that looks like most famous IRC clients" HOMEPAGE="https://poez.io/" LICENSE="ZLIB" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" if [[ "${PV}" == "9999" ]]; then EGIT_REPO_URI="https://git.poez.io/${PN}.git" @@ -27,12 +25,8 @@ RDEPEND=" dev-python/pyasn1[${PYTHON_USEDEP}] dev-python/slixmpp[${PYTHON_USEDEP}] " -DEPEND=" - test? ( - ${RDEPEND} - dev-python/potr - dev-python/pyinotify - )" + +distutils_enable_tests pytest DOC_CONTENTS=" Install these optional runtime dependencies for additional features. @@ -55,7 +49,3 @@ src_install() { pkg_postinst() { readme.gentoo_print_elog } - -python_test() { - esetup.py test -} diff --git a/net-im/poezio/poezio-9999.ebuild b/net-im/poezio/poezio-9999.ebuild index 14be76f1d81..2946371c46b 100644 --- a/net-im/poezio/poezio-9999.ebuild +++ b/net-im/poezio/poezio-9999.ebuild @@ -10,8 +10,6 @@ DESCRIPTION="Console XMPP client that looks like most famous IRC clients" HOMEPAGE="https://poez.io/" LICENSE="ZLIB" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" if [[ "${PV}" == "9999" ]]; then EGIT_REPO_URI="https://lab.louiz.org/${PN}/${PN}.git" @@ -27,12 +25,8 @@ RDEPEND=" dev-python/pyasn1[${PYTHON_USEDEP}] dev-python/slixmpp[${PYTHON_USEDEP}] " -DEPEND=" - test? ( - ${RDEPEND} - dev-python/potr - dev-python/pyinotify - )" + +distutils_enable_tests pytest DOC_CONTENTS=" Install these optional runtime dependencies for additional features. @@ -55,7 +49,3 @@ src_install() { pkg_postinst() { readme.gentoo_print_elog } - -python_test() { - esetup.py test -}