From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1175797-garchives=archives.gentoo.org@lists.gentoo.org>
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 5A6941382C5
	for <garchives@archives.gentoo.org>; Sun, 31 May 2020 15:43:09 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9B343E0992;
	Sun, 31 May 2020 15:42:41 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.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 83CBFE0992
	for <gentoo-commits@lists.gentoo.org>; Sun, 31 May 2020 15:42:41 +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 7C6CC34ED83
	for <gentoo-commits@lists.gentoo.org>; Sun, 31 May 2020 15:42:40 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A4291285
	for <gentoo-commits@lists.gentoo.org>; Sun, 31 May 2020 15:42:36 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
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" <mgorny@gentoo.org>
Message-ID: <1590939751.460deb88a1d9df1b3bfd0ed9bc0a0d64119ceab9.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cmd2/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/cmd2/cmd2-0.10.1.ebuild dev-python/cmd2/cmd2-1.0.2.ebuild
X-VCS-Directories: dev-python/cmd2/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 460deb88a1d9df1b3bfd0ed9bc0a0d64119ceab9
X-VCS-Branch: master
Date: Sun, 31 May 2020 15:42:36 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 36384f1c-9d15-4453-8e32-b32f1d2e0b3e
X-Archives-Hash: a89f7792dd92ca5e8b89dd8846f758b2

commit:     460deb88a1d9df1b3bfd0ed9bc0a0d64119ceab9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 31 15:27:55 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 31 15:42:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=460deb88

dev-python/cmd2: Port to py39

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/cmd2/cmd2-0.10.1.ebuild | 2 +-
 dev-python/cmd2/cmd2-1.0.2.ebuild  | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/cmd2/cmd2-0.10.1.ebuild b/dev-python/cmd2/cmd2-0.10.1.ebuild
index c6dd48a3be4..e4ce45c0ea6 100644
--- a/dev-python/cmd2/cmd2-0.10.1.ebuild
+++ b/dev-python/cmd2/cmd2-0.10.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1 virtualx
 

diff --git a/dev-python/cmd2/cmd2-1.0.2.ebuild b/dev-python/cmd2/cmd2-1.0.2.ebuild
index 52af0aec442..0a10ae6eda4 100644
--- a/dev-python/cmd2/cmd2-1.0.2.ebuild
+++ b/dev-python/cmd2/cmd2-1.0.2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1 virtualx
 
@@ -38,3 +38,8 @@ src_test() {
 	local -x COLUMNS=80
 	virtx distutils-r1_src_test
 }
+
+python_test() {
+	distutils_install_for_testing
+	pytest -vv || die "Tests failed with ${EPYTHON}"
+}