diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-10-13 01:46:38 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-10-13 01:46:38 +0000 |
| commit | 0587cb78c99f12cb7a6fc498ddf778625d9be619 (patch) | |
| tree | 5b368fbc50f14eb4157437f47720df943c1b1ddb /dev-python/mpi4py | |
| parent | 788816b7d714d2d575f78331448e7200f3622729 (diff) | |
| download | baldeagleos-repo-0587cb78c99f12cb7a6fc498ddf778625d9be619.tar.gz baldeagleos-repo-0587cb78c99f12cb7a6fc498ddf778625d9be619.tar.xz baldeagleos-repo-0587cb78c99f12cb7a6fc498ddf778625d9be619.zip | |
Adding metadata
Diffstat (limited to 'dev-python/mpi4py')
| -rw-r--r-- | dev-python/mpi4py/mpi4py-3.0.3.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-python/mpi4py/mpi4py-3.0.3.ebuild b/dev-python/mpi4py/mpi4py-3.0.3.ebuild index a47d13bc9cce..155774301a61 100644 --- a/dev-python/mpi4py/mpi4py-3.0.3.ebuild +++ b/dev-python/mpi4py/mpi4py-3.0.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -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 |
