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 17B0E1382C5 for ; Sun, 31 May 2020 15:43:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 995CCE097E; Sun, 31 May 2020 15:42:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 85E84E097E for ; Sun, 31 May 2020 15:42:39 +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 C52F934F07C for ; Sun, 31 May 2020 15:42:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E880D279 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: <1590939744.e0855f6d069f394582bd55ab7042ba37e1515c44.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/fixtures/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/fixtures/fixtures-3.0.0.ebuild X-VCS-Directories: dev-python/fixtures/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e0855f6d069f394582bd55ab7042ba37e1515c44 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: 8056585c-2b94-4f61-a521-244e116d2102 X-Archives-Hash: b8dc80a8c58eea2adb394a7c259209be commit: e0855f6d069f394582bd55ab7042ba37e1515c44 Author: Michał Górny gentoo org> AuthorDate: Sun May 31 14:43:26 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 31 15:42:24 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0855f6d dev-python/fixtures: Port to py39 Signed-off-by: Michał Górny gentoo.org> dev-python/fixtures/fixtures-3.0.0.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/dev-python/fixtures/fixtures-3.0.0.ebuild b/dev-python/fixtures/fixtures-3.0.0.ebuild index d659f853923..0f6eb5d60dc 100644 --- a/dev-python/fixtures/fixtures-3.0.0.ebuild +++ b/dev-python/fixtures/fixtures-3.0.0.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 ) inherit distutils-r1 @@ -25,7 +25,14 @@ RDEPEND=" >=dev-python/testtools-0.9.22[${PYTHON_USEDEP}]" DEPEND="${RDEPEND} test? ( dev-python/mock[${PYTHON_USEDEP}] )" -#DISTUTILS_IN_SOURCE_BUILD=1 + +src_prepare() { + # broken on py3.9 + # https://github.com/testing-cabal/fixtures/issues/44 + sed -i -e 's:test_patch_classmethod_with:_&:' \ + fixtures/tests/_fixtures/test_monkeypatch.py || die + distutils-r1_src_prepare +} python_test() { emake check