From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1174472-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 E4FAD13835A
	for <garchives@archives.gentoo.org>; Tue, 26 May 2020 18:09:58 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E8F2DE096E;
	Tue, 26 May 2020 18:09:57 +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 D67EEE096E
	for <gentoo-commits@lists.gentoo.org>; Tue, 26 May 2020 18:09: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 0590E34EE69
	for <gentoo-commits@lists.gentoo.org>; Tue, 26 May 2020 18:09:57 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id CD37F274
	for <gentoo-commits@lists.gentoo.org>; Tue, 26 May 2020 18:09:53 +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: <1590516587.d8dcdf42484b6c45f0acacc90ac788d9c563daa4.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/socketpool/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/socketpool/socketpool-0.5.3-r3.ebuild
X-VCS-Directories: dev-python/socketpool/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: d8dcdf42484b6c45f0acacc90ac788d9c563daa4
X-VCS-Branch: master
Date: Tue, 26 May 2020 18:09:53 +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: 5e6d5819-4b21-418e-a642-69ea4c8faa3a
X-Archives-Hash: c08285fabb934426020212db95ee560b

commit:     d8dcdf42484b6c45f0acacc90ac788d9c563daa4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 26 17:07:53 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 26 18:09:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8dcdf42

dev-python/socketpool: Port to py39

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

 dev-python/socketpool/socketpool-0.5.3-r3.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-python/socketpool/socketpool-0.5.3-r3.ebuild b/dev-python/socketpool/socketpool-0.5.3-r3.ebuild
index f0bfe38bf10..b96eb34c7eb 100644
--- a/dev-python/socketpool/socketpool-0.5.3-r3.ebuild
+++ b/dev-python/socketpool/socketpool-0.5.3-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
 
 inherit distutils-r1
 
@@ -44,6 +44,13 @@ PATCHES=( "${FILESDIR}"/${PN}-0.5.2-locale.patch )
 
 distutils_enable_tests pytest
 
+src_prepare() {
+	# py3.9
+	sed -i -e 's:isAlive:is_alive:' socketpool/backend_thread.py || die
+
+	distutils-r1_src_prepare
+}
+
 python_test() {
 	cp -r examples tests "${BUILD_DIR}" || die