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 6A04B1382C5 for ; Sun, 31 May 2020 15:42:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36544E097B; Sun, 31 May 2020 15:42:38 +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 1F72AE097B for ; Sun, 31 May 2020 15:42:38 +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 2CF3E34F07B for ; Sun, 31 May 2020 15:42:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C1BAD276 for ; Sun, 31 May 2020 15:42:35 +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: <1590939742.4a10c00f9b0a83fc034d6ab96258a08bb4061043.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/unittest2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/unittest2/unittest2-1.1.0.ebuild X-VCS-Directories: dev-python/unittest2/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4a10c00f9b0a83fc034d6ab96258a08bb4061043 X-VCS-Branch: master Date: Sun, 31 May 2020 15:42:35 +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: ae1b2f95-457a-460c-9d84-a1c9f8f28cbe X-Archives-Hash: 719d9ca121ede9c8c40dc0468606ce9d commit: 4a10c00f9b0a83fc034d6ab96258a08bb4061043 Author: Michał Górny gentoo org> AuthorDate: Sun May 31 14:33:13 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 31 15:42:22 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a10c00f dev-python/unittest2: Port to py39 Signed-off-by: Michał Górny gentoo.org> dev-python/unittest2/unittest2-1.1.0.ebuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dev-python/unittest2/unittest2-1.1.0.ebuild b/dev-python/unittest2/unittest2-1.1.0.ebuild index 7ef8bf2464c..479a1085f05 100644 --- a/dev-python/unittest2/unittest2-1.1.0.ebuild +++ b/dev-python/unittest2/unittest2-1.1.0.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 ) inherit distutils-r1 @@ -16,14 +16,13 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="" -CDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] +RDEPEND=" dev-python/linecache2[${PYTHON_USEDEP}] >=dev-python/six-1.4[${PYTHON_USEDEP}] dev-python/traceback2[${PYTHON_USEDEP}] " -DEPEND="${CDEPEND}" -RDEPEND="${CDEPEND}" + +distutils_enable_tests unittest PATCHES=( "${FILESDIR}"/remove-argparse-dependence.patch @@ -31,5 +30,6 @@ PATCHES=( ) python_test() { - "${PYTHON}" -m unittest2 discover --verbose || die "tests failed under ${EPYTHON}" + "${PYTHON}" -m unittest2 discover --verbose || + die "tests failed under ${EPYTHON}" }