mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-python/mpi4py: enable py3.10
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user