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 C51C11586A6 for ; Tue, 17 Aug 2021 23:16:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E3E4E07DB; Tue, 17 Aug 2021 23:16:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 DE1C4E07DB for ; Tue, 17 Aug 2021 23:16:48 +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 C9DB133BE3F for ; Tue, 17 Aug 2021 23:16:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4703C644 for ; Tue, 17 Aug 2021 23:16:46 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1629242196.0a2e5bdc00160c10e79ec06b53b0ba92cb0678cb.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/daemonize/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/daemonize/daemonize-2.5.0.ebuild X-VCS-Directories: dev-python/daemonize/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 0a2e5bdc00160c10e79ec06b53b0ba92cb0678cb X-VCS-Branch: master Date: Tue, 17 Aug 2021 23:16:46 +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: 6979c621-53c2-4a2e-9936-823664e153bf X-Archives-Hash: 945df6336c0d28821235e54965339bf0 commit: 0a2e5bdc00160c10e79ec06b53b0ba92cb0678cb Author: Louis Sautier gentoo org> AuthorDate: Tue Aug 17 23:14:35 2021 +0000 Commit: Louis Sautier gentoo org> CommitDate: Tue Aug 17 23:16:36 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a2e5bdc dev-python/daemonize: enable py3.10 and tests Signed-off-by: Louis Sautier gentoo.org> dev-python/daemonize/daemonize-2.5.0.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dev-python/daemonize/daemonize-2.5.0.ebuild b/dev-python/daemonize/daemonize-2.5.0.ebuild index ace9fe951e9..c173bf76ab7 100644 --- a/dev-python/daemonize/daemonize-2.5.0.ebuild +++ b/dev-python/daemonize/daemonize-2.5.0.ebuild @@ -1,9 +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..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -14,3 +14,7 @@ SRC_URI="https://github.com/thesharp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" + +python_test() { + "${EPYTHON}" tests/test.py -v || die "Tests failed with ${EPYTHON}" +}