From a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 16:24:49 -0500 Subject: Adding metadata --- dev-python/mpi4py/Manifest | 1 - .../files/mpi4py-4-mpich-no-fortran-fix.patch | 20 ------ dev-python/mpi4py/files/mpi4py-4-use-mesonpy.patch | 11 --- dev-python/mpi4py/metadata.xml | 28 -------- dev-python/mpi4py/mpi4py-4.0.1.ebuild | 80 ---------------------- 5 files changed, 140 deletions(-) delete mode 100644 dev-python/mpi4py/Manifest delete mode 100644 dev-python/mpi4py/files/mpi4py-4-mpich-no-fortran-fix.patch delete mode 100644 dev-python/mpi4py/files/mpi4py-4-use-mesonpy.patch delete mode 100644 dev-python/mpi4py/metadata.xml delete mode 100644 dev-python/mpi4py/mpi4py-4.0.1.ebuild (limited to 'dev-python/mpi4py') diff --git a/dev-python/mpi4py/Manifest b/dev-python/mpi4py/Manifest deleted file mode 100644 index de66a3a0886f..000000000000 --- a/dev-python/mpi4py/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mpi4py-4.0.1.tar.gz 466179 BLAKE2B 4e678f08c257a32922914448c82d13c0a1e29aa1e39a1f669d8c2d766a1ecbd8bdf2bf3b12dae8eca9bf3846c096d0ecb0bbdb9147b3048acfe48e067d72161f SHA512 7721ef4f0859e90ca91d6911c3e5a897249f57c8b575065cdb1d537602ce0b30909f144b292c7d74013361cdf9e464cb0c16e408f37fd6c8c1554cbbe9785c05 diff --git a/dev-python/mpi4py/files/mpi4py-4-mpich-no-fortran-fix.patch b/dev-python/mpi4py/files/mpi4py-4-mpich-no-fortran-fix.patch deleted file mode 100644 index 82415dae491d..000000000000 --- a/dev-python/mpi4py/files/mpi4py-4-mpich-no-fortran-fix.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/src/lib-mpi/compat/mpich.h b/src/lib-mpi/compat/mpich.h -index 2cd50c1..3ea9510 100644 ---- a/src/lib-mpi/compat/mpich.h -+++ b/src/lib-mpi/compat/mpich.h -@@ -123,7 +123,6 @@ static int PyMPI_MPICH_MPI_Reduce_c(const void *sendbuf, void *recvbuf, - - /* -------------------------------------------------------------------------- */ - --#if defined(CIBUILDWHEEL) - - #define PyMPI_MPICH_CALL_WEAK_SYMBOL(function, ...) \ - if (function) return function(__VA_ARGS__); \ -@@ -159,7 +158,6 @@ static int PyMPI_MPICH_MPI_Status_f2c(const MPI_Fint *fs, MPI_Status *cs) - { PyMPI_MPICH_CALL_WEAK_SYMBOL(MPI_Status_f2c, fs, cs); } - #define MPI_Status_f2c PyMPI_MPICH_MPI_Status_f2c - --#endif - - /* -------------------------------------------------------------------------- */ - diff --git a/dev-python/mpi4py/files/mpi4py-4-use-mesonpy.patch b/dev-python/mpi4py/files/mpi4py-4-use-mesonpy.patch deleted file mode 100644 index f8ba9bd474f5..000000000000 --- a/dev-python/mpi4py/files/mpi4py-4-use-mesonpy.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff --git a/pyproject.toml b/pyproject.toml -index 8585f6d..5b0b2d8 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,4 +1,3 @@ - [build-system] --requires = ["setuptools >= 42", "build"] --build-backend = "builder" --backend-path = ["conf"] -+requires = ["meson-python", "Cython"] -+build-backend = "mesonpy" diff --git a/dev-python/mpi4py/metadata.xml b/dev-python/mpi4py/metadata.xml deleted file mode 100644 index 11c562b3c581..000000000000 --- a/dev-python/mpi4py/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - alex.fan.q@gmail.com - Alex Fan - - - proxy-maint@gentoo.org - Proxy Maintainers - - - MPI for Python (mpi4py) provides bindings of the Message Passing - Interface (MPI) standard for the Python programming language, - allowing any Python program to exploit multiple processors. - This package is constructed on top of the MPI-1/MPI-2 specification - and provides an object oriented interface which closely follows - MPI-2 C++ bindings. It supports point-to-point (sends, receives) and - collective (broadcasts, scatters, gathers) communications of any - picklable Python object as well as optimized communications of - Python object exposing the single-segment buffer interface (NumPy - arrays, builtin bytes/string/array objects). - - - mpi4py/mpi4py - mpi4py - - diff --git a/dev-python/mpi4py/mpi4py-4.0.1.ebuild b/dev-python/mpi4py/mpi4py-4.0.1.ebuild deleted file mode 100644 index fd474ebb5b16..000000000000 --- a/dev-python/mpi4py/mpi4py-4.0.1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -inherit distutils-r1 pypi - -DESCRIPTION="Message Passing Interface for Python" -HOMEPAGE=" - https://github.com/mpi4py/mpi4py - https://pypi.org/project/mpi4py/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" -IUSE="doc examples" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - virtual/mpi -" -DEPEND="${RDEPEND}" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - >=dev-build/meson-1.0.0 - virtual/mpi -" - -PATCHES=( - "${FILESDIR}/${PN}-4-use-mesonpy.patch" - "${FILESDIR}/${PN}-4-mpich-no-fortran-fix.patch" -) - -python_prepare_all() { - # not needed on install - rm -vr docs/source || die - rm test/test_pickle.py || die # disabled by Gentoo-bug #659348 - distutils-r1_python_prepare_all -} - -python_compile() { - export CC=mpicc - distutils-r1_python_compile -} - -python_test() { - echo "Beginning test phase" - local -x PYTHONPATH="${BUILD_DIR}/install$(python_get_sitedir)" - - # python want's all arguments as separate strings - local mpi_opts=( - "-n" "1" - ) - if has_version sys-cluster/openmpi; then - local mpi_opts+=( - "--use-hwthread-cpus" - # allow test in systemd-nspawn container - "--mca" "btl" "tcp,self" - "--mca" "oob_tcp_if_include" "lo" - # disable openmpi OSC UCX component - # https://github.com/open-mpi/ompi/issues/12517 - "--mca" "osc" "^ucx" - ) - fi - mpiexec \ - "${mpi_opts[@]}" \ - "${PYTHON}" -B -v ./test/runtests.py -v || - die "Testsuite failed under ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/. ) - use examples && local DOCS=( demo ) - distutils-r1_python_install_all -} -- cgit v1.3