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 8DB56158041 for ; Mon, 6 Sep 2021 06:41:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E4BF2E0830; Mon, 6 Sep 2021 06:41:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 CC060E0830 for ; Mon, 6 Sep 2021 06:41:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A8D87342A71 for ; Mon, 6 Sep 2021 06:41:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D04F9E for ; Mon, 6 Sep 2021 06:41:17 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1630910392.b3be3aa0686a5c192b4f9c1f28c52fc45a970658.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-daemon/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-daemon/python-daemon-2.3.0-r1.ebuild dev-python/python-daemon/python-daemon-2.3.0.ebuild X-VCS-Directories: dev-python/python-daemon/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: b3be3aa0686a5c192b4f9c1f28c52fc45a970658 X-VCS-Branch: master Date: Mon, 6 Sep 2021 06:41:17 +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: 252b9a12-00f8-49e1-81a4-c7b2a289ead7 X-Archives-Hash: 4296e31f1f28aa91cdc4c55ae96c33bd commit: b3be3aa0686a5c192b4f9c1f28c52fc45a970658 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Sep 6 06:39:15 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon Sep 6 06:39:52 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3be3aa0 dev-python/python-daemon: fix testing without coverage Also fix for >=testtools-3.5.0 Closes: https://bugs.gentoo.org/743781 Signed-off-by: Arthur Zamarin gentoo.org> ...thon-daemon-2.3.0.ebuild => python-daemon-2.3.0-r1.ebuild} | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev-python/python-daemon/python-daemon-2.3.0.ebuild b/dev-python/python-daemon/python-daemon-2.3.0-r1.ebuild similarity index 73% rename from dev-python/python-daemon/python-daemon-2.3.0.ebuild rename to dev-python/python-daemon/python-daemon-2.3.0-r1.ebuild index dd172f9cc2e..ebd89363d0b 100644 --- a/dev-python/python-daemon/python-daemon-2.3.0.ebuild +++ b/dev-python/python-daemon/python-daemon-2.3.0-r1.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7..9} pypy3 ) +PYTHON_COMPAT=( python3_{8..9} pypy3 ) inherit distutils-r1 @@ -29,4 +29,11 @@ BDEPEND=" ) " -distutils_enable_tests setup.py +distutils_enable_tests unittest + +src_prepare() { + # fix for >=testtools-2.5.0 + sed -e 's/testtools.helpers.safe_hasattr/hasattr/' \ + -i test/test_metadata.py || die + distutils-r1_src_prepare +}