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 4DC69138350 for ; Wed, 22 Apr 2020 05:59:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80FF5E0A53; Wed, 22 Apr 2020 05:59:57 +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 6654AE0A53 for ; Wed, 22 Apr 2020 05:59:57 +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 6C36034F132 for ; Wed, 22 Apr 2020 05:59:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8814026 for ; Wed, 22 Apr 2020 05:59:54 +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: <1587535183.9ab6de53299e59cb73c458f7c7cd82392d92b682.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/editorconfig-core-py/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild X-VCS-Directories: dev-python/editorconfig-core-py/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9ab6de53299e59cb73c458f7c7cd82392d92b682 X-VCS-Branch: master Date: Wed, 22 Apr 2020 05:59:54 +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: b828fdbd-6b67-487c-920d-a08846b80785 X-Archives-Hash: 67af54696a517beacca5271c591259b7 commit: 9ab6de53299e59cb73c458f7c7cd82392d92b682 Author: Michał Górny gentoo org> AuthorDate: Wed Apr 22 05:22:42 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Apr 22 05:59:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ab6de53 dev-python/editorconfig-core-py: Enable py3.{7,8} Signed-off-by: Michał Górny gentoo.org> .../editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild index 97128a01305..c9cfa0e96b4 100644 --- a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild +++ b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild @@ -4,7 +4,7 @@ EAPI=6 TESTVER="abb579e00f2deeede91cb485e53512efab9c6474" -PYTHON_COMPAT=( python3_6 ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 DESCRIPTION="Clone of EditorConfig core written in Python" @@ -43,11 +43,8 @@ python_install() { #use cli || rm -f "${D}/${EPREFIX}"/usr/bin } -src_test() { - __src_test_run_python_impl() { - cmake -DPYTHON_EXECUTABLE="${PYTHON}" . || die "tests failed to build with ${EPYTHON}" - ctest . || die "tests failed with ${EPYTHON}" - } - python_foreach_impl __src_test_run_python_impl - unset __src_test_run_python_impl +python_test() { + cmake -DPYTHON_EXECUTABLE="${PYTHON}" . || + die "tests failed to build with ${EPYTHON}" + ctest . || die "tests failed with ${EPYTHON}" }