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 EFF7113835A for ; Tue, 26 May 2020 18:32:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A38DE096B; Tue, 26 May 2020 18:32:12 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 26C93E096B for ; Tue, 26 May 2020 18:32:12 +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 4956934EE1B for ; Tue, 26 May 2020 18:32:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F3D9326E for ; Tue, 26 May 2020 18:32:09 +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: <1590517914.37f46e3c91498ede8373353ee2491fc6220a176c.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-r2.ebuild X-VCS-Directories: dev-python/socketpool/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 37f46e3c91498ede8373353ee2491fc6220a176c X-VCS-Branch: master Date: Tue, 26 May 2020 18:32:09 +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: 8efbcc81-56bd-40c9-bb3e-5f667e76e18e X-Archives-Hash: 45f6583e50c10fc1c9dad92b24bd2b75 commit: 37f46e3c91498ede8373353ee2491fc6220a176c Author: Michał Górny gentoo org> AuthorDate: Tue May 26 18:14:59 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue May 26 18:31:54 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37f46e3c dev-python/socketpool: Backport py39 to -r2 Signed-off-by: Michał Górny gentoo.org> dev-python/socketpool/socketpool-0.5.3-r2.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-python/socketpool/socketpool-0.5.3-r2.ebuild b/dev-python/socketpool/socketpool-0.5.3-r2.ebuild index c1a63b20d0a..e0fffe7af7a 100644 --- a/dev-python/socketpool/socketpool-0.5.3-r2.ebuild +++ b/dev-python/socketpool/socketpool-0.5.3-r2.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 @@ -36,6 +36,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