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 A36C9158086 for ; Tue, 12 Oct 2021 17:22:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1740E07C5; Tue, 12 Oct 2021 17:22:46 +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-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A8480E07C5 for ; Tue, 12 Oct 2021 17:22:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5F48A343200 for ; Tue, 12 Oct 2021 17:22:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C259BD0 for ; Tue, 12 Oct 2021 17:22:39 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1634059344.d64bf0672e79b240faf4e8d15bb57958e99b7bd6.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mpi4py/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mpi4py/mpi4py-3.0.3.ebuild X-VCS-Directories: dev-python/mpi4py/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: d64bf0672e79b240faf4e8d15bb57958e99b7bd6 X-VCS-Branch: master Date: Tue, 12 Oct 2021 17:22:39 +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: 47c83519-35f5-44bb-9f92-3e3f5d0995c8 X-Archives-Hash: c63ad704ab15f47cd9b57f2b3ab2eae3 commit: d64bf0672e79b240faf4e8d15bb57958e99b7bd6 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Oct 12 17:01:30 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Oct 12 17:22:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d64bf067 dev-python/mpi4py: enable py3.10 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/mpi4py/mpi4py-3.0.3.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev-python/mpi4py/mpi4py-3.0.3.ebuild b/dev-python/mpi4py/mpi4py-3.0.3.ebuild index 15fba5f284a..2a020662ac4 100644 --- a/dev-python/mpi4py/mpi4py-3.0.3.ebuild +++ b/dev-python/mpi4py/mpi4py-3.0.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Message Passing Interface for Python" @@ -36,6 +36,13 @@ PATCHES=( "${FILESDIR}/${P}-py38futures.patch" ) +src_prepare() { + sed -e 's/++Py_REFCNT/Py_INCREF/' \ + -e 's/--Py_REFCNT/Py_DECREF/' \ + -i src/*.c || die + distutils-r1_src_prepare +} + python_prepare_all() { # not needed on install rm -vr docs/source || die