4dcdd78
%global __provides_exclude_from %{python2_sitearch}.*\.so$|%{python3_sitearch}.*\.so$
715baa7
Deji Akingunola 229c577
%global with_mpich 1
2823c44
%if 0%{?rhel} && 0%{?rhel} <= 6 || 0%{?fedora} && 0%{?fedora} < 20
Thomas Spura b48bd1e
%ifarch ppc64
Deji Akingunola 229c577
%global with_mpich 0
Thomas Spura b48bd1e
%endif
Thomas Spura b48bd1e
%endif
Thomas Spura b48bd1e
Thomas Spura ab34af0
%global with_python3 1
Thomas Spura ab34af0
1defc61
### TESTSUITE ###
1defc61
# The testsuite currently fails only on the buildsystem, but works localy.
Thomas Spura 9661349
# So to easy enable/disable the testsuite, the following variables are
Thomas Spura 9661349
# introduced:
1defc61
#
Deji Akingunola 229c577
# * MPICH:     if '1' enable mpich
1defc61
# * OPENMPI:   if '1' enable openmpi
Thomas Spura aff87d2
%ifarch %{arm}
Thomas Spura aff87d2
# Disable tests on arm until upstream bug is fixed:
Thomas Spura aff87d2
# https://bitbucket.org/mpi4py/mpi4py/issues/29/get_address-fails-on-arm
Thomas Spura aff87d2
%global MPICH 0
Thomas Spura aff87d2
%global OPENMPI 0
Thomas Spura aff87d2
%else
Thomas Spura 4ad88f9
%global MPICH 1
Thomas Spura 4ad88f9
%global OPENMPI 1
Thomas Spura aff87d2
%endif
Thomas Spura b34abd6
# Run full testsuite or just with 1 core
Thomas Spura 4ad88f9
%global FULLTESTS 0
1defc61
715baa7
Name:           mpi4py
Thomas Spura 25d2748
Version:        3.0.0
Thomas Spura 25d2748
Release:        1%{?dist}
715baa7
Summary:        Python bindings of the Message Passing Interface (MPI)
715baa7
715baa7
Group:          Development/Languages
715baa7
License:        BSD
Thomas Spura 9661349
URL:            http://pythonhosted.org/mpi4py/
Thomas Spura 9661349
Source0:        https://bitbucket.org/mpi4py/mpi4py/downloads/mpi4py-%{version}.tar.gz
Thomas Spura 25d2748
# openmpi at fedora is build without threads. Use that default here too.
Thomas Spura 25d2748
# See also #1105902.
Thomas Spura 114da66
Patch1:         mpi4py-2.0.0-openmpi-threading.patch
715baa7
Thomas Spura ce7fce8
BuildRequires:  python2-devel
715baa7
%if 0%{?with_python3}
Orion Poplawski 672ff35
BuildRequires:  python%{python3_pkgversion}-devel
715baa7
%endif
715baa7
715baa7
715baa7
%description
715baa7
This package is constructed on top of the MPI-1/MPI-2 specification and
715baa7
provides an object oriented interface which closely follows MPI-2 C++
715baa7
bindings. It supports point-to-point (sends, receives) and collective
715baa7
(broadcasts, scatters, gathers) communications of any picklable Python
715baa7
object as well as optimized communications of Python object exposing the
5dea5c8
single-segment buffer interface (NumPy arrays, built-in bytes/string/array
715baa7
objects).
715baa7
Thomas Spura 7b5af8e
%package -n python2-mpi4py
Thomas Spura 7b5af8e
Requires:       %{name}-common = %{version}-%{release}
Orion Poplawski 7ba8ce3
Summary:        Python 2 bindings of the Message Passing Interface (MPI)
Thomas Spura 7b5af8e
Group:          Development/Languages
Thomas Spura 7b5af8e
%{?python_provide:%python_provide python2-mpi4py}
Thomas Spura 7b5af8e
%description -n python2-mpi4py
Thomas Spura 7b5af8e
This package is constructed on top of the MPI-1/MPI-2 specification and
Thomas Spura 7b5af8e
provides an object oriented interface which closely follows MPI-2 C++
Thomas Spura 7b5af8e
bindings. It supports point-to-point (sends, receives) and collective
Thomas Spura 7b5af8e
(broadcasts, scatters, gathers) communications of any picklable Python
Thomas Spura 7b5af8e
object as well as optimized communications of Python object exposing the
Thomas Spura 7b5af8e
single-segment buffer interface (NumPy arrays, built-in bytes/string/array
Thomas Spura 7b5af8e
objects).
Thomas Spura 7b5af8e
715baa7
%package docs
715baa7
Summary:        Documentation for %{name}
715baa7
Group:          Documentation
68fa728
Requires:       %{name}-common = %{version}-%{release}
715baa7
BuildArch:      noarch
715baa7
%description docs
68fa728
This package contains the documentation and examples for %{name}.
715baa7
715baa7
%if 0%{?with_python3}
Orion Poplawski 672ff35
%package -n python%{python3_pkgversion}-mpi4py
715baa7
Requires:       %{name}-common = %{version}-%{release}
Orion Poplawski 7ba8ce3
Summary:        Python %{python3_version} bindings of the Message Passing Interface (MPI)
715baa7
Group:          Development/Languages
Orion Poplawski 672ff35
%{?python_provide:%python_provide python%{python3_pkgversion}-mpi4py}
Orion Poplawski 672ff35
%description -n python%{python3_pkgversion}-mpi4py
715baa7
This package is constructed on top of the MPI-1/MPI-2 specification and
715baa7
provides an object oriented interface which closely follows MPI-2 C++
715baa7
bindings. It supports point-to-point (sends, receives) and collective
715baa7
(broadcasts, scatters, gathers) communications of any picklable Python
715baa7
object as well as optimized communications of Python object exposing the
5dea5c8
single-segment buffer interface (NumPy arrays, built-in bytes/string/array
715baa7
objects).
715baa7
Orion Poplawski 672ff35
%package -n python%{python3_pkgversion}-mpi4py-openmpi
715baa7
BuildRequires:  openmpi-devel
715baa7
Requires:       %{name}-common = %{version}-%{release}
Orion Poplawski 7ba8ce3
Requires:       python%{python3_pkgversion}-openmpi%{?_isa}
Orion Poplawski 7ba8ce3
Summary:        Python %{python3_version} bindings of MPI, Open MPI version
Orion Poplawski 672ff35
Provides:       python%{python3_pkgversion}-mpi4py-runtime = %{version}-%{release}
Orion Poplawski 672ff35
%{?python_provide:%python_provide python%{python3_pkgversion}-mpi4py-openmpi}
Orion Poplawski 672ff35
%description -n python%{python3_pkgversion}-mpi4py-openmpi
715baa7
This package is constructed on top of the MPI-1/MPI-2 specification and
715baa7
provides an object oriented interface which closely follows MPI-2 C++
715baa7
bindings. It supports point-to-point (sends, receives) and collective
715baa7
(broadcasts, scatters, gathers) communications of any picklable Python
715baa7
object as well as optimized communications of Python object exposing the
5dea5c8
single-segment buffer interface (NumPy arrays, built-in bytes/string/array
715baa7
objects).
715baa7
715baa7
This package contains %{name} compiled against Open MPI.
715baa7
715baa7
Deji Akingunola 229c577
%if %{with_mpich}
Orion Poplawski 672ff35
%package -n python%{python3_pkgversion}-mpi4py-mpich
Deji Akingunola 229c577
BuildRequires:  mpich-devel
715baa7
Requires:       %{name}-common = %{version}-%{release}
Orion Poplawski 7ba8ce3
Requires:       python%{python3_pkgversion}-mpich%{?_isa}
Orion Poplawski 7ba8ce3
Summary:        Python %{python3_version} bindings of MPI, MPICH version
Orion Poplawski 672ff35
Provides:       python%{python3_pkgversion}-mpi4py-runtime = %{version}-%{release}
Orion Poplawski 672ff35
Provides:       python%{python3_pkgversion}-%{name}-mpich2 = %{version}-%{release}
Orion Poplawski 672ff35
Obsoletes:      python%{python3_pkgversion}-%{name}-mpich2 < 1.3-8
Orion Poplawski 672ff35
%{?python_provide:%python_provide python%{python3_pkgversion}-mpi4py-mpich}
Orion Poplawski 672ff35
%description -n python%{python3_pkgversion}-mpi4py-mpich
715baa7
This package is constructed on top of the MPI-1/MPI-2 specification and
715baa7
provides an object oriented interface which closely follows MPI-2 C++
715baa7
bindings. It supports point-to-point (sends, receives) and collective
715baa7
(broadcasts, scatters, gathers) communications of any picklable Python
715baa7
object as well as optimized communications of Python object exposing the
5dea5c8
single-segment buffer interface (NumPy arrays, built-in bytes/string/array
715baa7
objects).
715baa7
Deji Akingunola 229c577
This package contains %{name} compiled against MPICH.
Thomas Spura b48bd1e
%endif
715baa7
%endif # with_python3
715baa7
715baa7
%package common
715baa7
Summary:        Common files for mpi4py packages
715baa7
Group:          Documentation
715baa7
BuildArch:      noarch
715baa7
Requires:       %{name}-common = %{version}-%{release}
715baa7
%description common
715baa7
This package contains the license file shard between the subpackages of %{name}.
715baa7
Thomas Spura 7b5af8e
%package -n python2-mpi4py-openmpi
715baa7
BuildRequires:  openmpi-devel
715baa7
Requires:       %{name}-common = %{version}-%{release}
Orion Poplawski 7ba8ce3
Requires:       python2-openmpi%{?_isa}
Orion Poplawski 7ba8ce3
Summary:        Python 2 bindings of MPI, Open MPI version
715baa7
Provides:       mpi4py-runtime = %{version}-%{release}
Thomas Spura 7b5af8e
# Old mpi4py-foo provides added at F24
Thomas Spura 7b5af8e
Provides:       mpi4py-openmpi = %{version}-%{release}
Orion Poplawski 1822278
Obsoletes:      mpi4py-openmpi < 1.3.1-16
Thomas Spura 46a9acb
%{?python_provide:%python_provide python2-mpi4py-openmpi}
Thomas Spura 7b5af8e
%description -n python2-mpi4py-openmpi
715baa7
This package is constructed on top of the MPI-1/MPI-2 specification and
715baa7
provides an object oriented interface which closely follows MPI-2 C++
715baa7
bindings. It supports point-to-point (sends, receives) and collective
715baa7
(broadcasts, scatters, gathers) communications of any picklable Python
715baa7
object as well as optimized communications of Python object exposing the
5dea5c8
single-segment buffer interface (NumPy arrays, built-in bytes/string/array
715baa7
objects).
715baa7
715baa7
This package contains %{name} compiled against Open MPI.
715baa7
715baa7
Deji Akingunola 229c577
%if %{with_mpich}
Thomas Spura 7b5af8e
%package -n python2-mpi4py-mpich
Deji Akingunola 229c577
BuildRequires:  mpich-devel
715baa7
Requires:       %{name}-common = %{version}-%{release}
Orion Poplawski 7ba8ce3
Requires:       python2-mpich%{?_isa}
Orion Poplawski 7ba8ce3
Summary:        Python 2 bindings of MPI, MPICH version
715baa7
Provides:       mpi4py-runtime = %{version}-%{release}
Thomas Spura 46a9acb
Provides:       %{name}-mpich2 = %{version}-%{release}
Thomas Spura 46a9acb
Obsoletes:      %{name}-mpich2 < 1.3-8
Thomas Spura 7b5af8e
Provides:       mpi4py-mpich = %{version}-%{release}
Orion Poplawski 1822278
Obsoletes:      mpi4py-mpich < 1.3.1-16
Thomas Spura 46a9acb
%{?python_provide:%python_provide python2-mpi4py-mpich}
Thomas Spura 7b5af8e
%description -n python2-mpi4py-mpich
715baa7
This package is constructed on top of the MPI-1/MPI-2 specification and
715baa7
provides an object oriented interface which closely follows MPI-2 C++
715baa7
bindings. It supports point-to-point (sends, receives) and collective
715baa7
(broadcasts, scatters, gathers) communications of any picklable Python
715baa7
object as well as optimized communications of Python object exposing the
5dea5c8
single-segment buffer interface (NumPy arrays, built-in bytes/string/array
715baa7
objects).
715baa7
Deji Akingunola 229c577
This package contains %{name} compiled against MPICH.
Thomas Spura b48bd1e
%endif
715baa7
715baa7
715baa7
%prep
715baa7
%setup -q
715baa7
# delete docs/source
715baa7
# this is just needed to generate docs/*
715baa7
rm -r docs/source
715baa7
Thomas Spura e246dd1
# work around "wrong-file-end-of-line-encoding"
Thomas Spura e246dd1
for file in $(find | grep runtests.bat); do
Thomas Spura e246dd1
    sed -i 's/\r//' $file
Thomas Spura e246dd1
done
Thomas Spura e246dd1
Thomas Spura 114da66
# Save current src/__init__.py for mpich
Thomas Spura 25d2748
cp src/mpi4py/__init__.py .__init__mpich.py
Thomas Spura 114da66
%patch1 -p1
Thomas Spura 25d2748
cp src/mpi4py/__init__.py .__init__openmpi.py
Thomas Spura 114da66
715baa7
715baa7
%build
715baa7
# Build parallel versions: set compiler variables to MPI wrappers
715baa7
export CC=mpicc
715baa7
export CXX=mpicxx
715baa7
715baa7
# Build OpenMPI version
715baa7
%{_openmpi_load}
Thomas Spura 25d2748
cp .__init__openmpi.py src/mpi4py/__init__.py
Thomas Spura 587bba5
%py2_build
715baa7
mv build openmpi
715baa7
%{_openmpi_unload}
715baa7
Deji Akingunola 229c577
%if %{with_mpich}
Deji Akingunola 229c577
# Build mpich version
Deji Akingunola 229c577
%{_mpich_load}
Thomas Spura 25d2748
cp .__init__mpich.py src/mpi4py/__init__.py
Thomas Spura 587bba5
%py2_build
Deji Akingunola 229c577
mv build mpich
Deji Akingunola 229c577
%{_mpich_unload}
Thomas Spura b48bd1e
%endif
715baa7
715baa7
%if 0%{?with_python3}
715baa7
# Build parallel versions: set compiler variables to MPI wrappers
715baa7
export CC=mpicc
715baa7
export CXX=mpicxx
715baa7
715baa7
# Build OpenMPI version
715baa7
%{_openmpi_load}
Thomas Spura 25d2748
cp .__init__openmpi.py src/mpi4py/__init__.py
Thomas Spura c0a476b
mv openmpi build
Thomas Spura 587bba5
%py3_build
715baa7
mv build openmpi
715baa7
%{_openmpi_unload}
715baa7
Deji Akingunola 229c577
%if %{with_mpich}
Deji Akingunola 229c577
# Build mpich version
Deji Akingunola 229c577
%{_mpich_load}
Thomas Spura 25d2748
cp .__init__mpich.py src/mpi4py/__init__.py
Thomas Spura c0a476b
mv mpich build
Thomas Spura 587bba5
%py3_build
Deji Akingunola 229c577
mv build mpich
Deji Akingunola 229c577
%{_mpich_unload}
Thomas Spura b48bd1e
%endif
715baa7
715baa7
%endif
715baa7
715baa7
715baa7
%install
715baa7
# Install OpenMPI version
715baa7
%{_openmpi_load}
Thomas Spura 25d2748
cp .__init__openmpi.py src/mpi4py/__init__.py
715baa7
mv openmpi build
Thomas Spura 587bba5
%py2_install
Thomas Spura f27fd66
mkdir -p %{buildroot}%{python2_sitearch}/openmpi
Thomas Spura f27fd66
mv %{buildroot}%{python2_sitearch}/%{name}/ %{buildroot}%{python2_sitearch}/%{name}*.egg-info %{buildroot}%{python2_sitearch}/openmpi
715baa7
mv build openmpi
715baa7
%{_openmpi_unload}
715baa7
Deji Akingunola 229c577
%if %{with_mpich}
Deji Akingunola 229c577
# Install MPICH version
Deji Akingunola 229c577
%{_mpich_load}
Thomas Spura 25d2748
cp .__init__mpich.py src/mpi4py/__init__.py
Deji Akingunola 229c577
mv mpich build
Thomas Spura 587bba5
%py2_install
Thomas Spura f27fd66
mkdir -p %{buildroot}%{python2_sitearch}/mpich
Thomas Spura f27fd66
mv %{buildroot}%{python2_sitearch}/%{name}/ %{buildroot}%{python2_sitearch}/%{name}*.egg-info %{buildroot}%{python2_sitearch}/mpich
Deji Akingunola 229c577
mv build mpich
Deji Akingunola 229c577
%{_mpich_unload}
Thomas Spura b48bd1e
%endif
715baa7
715baa7
715baa7
%if 0%{?with_python3}
715baa7
# Install OpenMPI version
715baa7
%{_openmpi_load}
Thomas Spura 25d2748
cp .__init__openmpi.py src/mpi4py/__init__.py
715baa7
mv openmpi build
Thomas Spura 587bba5
%py3_install
715baa7
mkdir -p %{buildroot}%{python3_sitearch}/openmpi
715baa7
mv %{buildroot}%{python3_sitearch}/%{name}/ %{buildroot}%{python3_sitearch}/%{name}*.egg-info %{buildroot}%{python3_sitearch}/openmpi
715baa7
mv build openmpi
715baa7
%{_openmpi_unload}
715baa7
Deji Akingunola 229c577
%if %{with_mpich}
Deji Akingunola 229c577
# Install MPICH version
Deji Akingunola 229c577
%{_mpich_load}
Thomas Spura 25d2748
cp .__init__mpich.py src/mpi4py/__init__.py
Deji Akingunola 229c577
mv mpich build
Thomas Spura 587bba5
%py3_install
Deji Akingunola 229c577
mkdir -p %{buildroot}%{python3_sitearch}/mpich
Deji Akingunola 229c577
mv %{buildroot}%{python3_sitearch}/%{name}/ %{buildroot}%{python3_sitearch}/%{name}*.egg-info %{buildroot}%{python3_sitearch}/mpich
Deji Akingunola 229c577
mv build mpich
Deji Akingunola 229c577
%{_mpich_unload}
Thomas Spura b48bd1e
%endif
715baa7
715baa7
%endif
715baa7
715baa7
715baa7
%check
1defc61
# test openmpi?
1defc61
%if 0%{?OPENMPI}
715baa7
%{_openmpi_load}
Thomas Spura 25d2748
cp .__init__openmpi.py src/mpi4py/__init__.py
Thomas Spura 7a74d59
mv openmpi build
Thomas Spura 114da66
PYTHONPATH=%{buildroot}%{python2_sitearch}/openmpi \
Thomas Spura 114da66
    mpiexec -n 1 python2 test/runtests.py -v --no-builddir --thread-level=serialized -e spawn
Thomas Spura b34abd6
%if 0%{?FULLTESTS}
Thomas Spura f27fd66
PYTHONPATH=%{buildroot}%{python2_sitearch}/openmpi \
Orion Poplawski 70c9dc5
    mpiexec -n 5 python2 test/runtests.py -v --no-builddir -e spawn
Thomas Spura f27fd66
PYTHONPATH=%{buildroot}%{python2_sitearch}/openmpi \
Orion Poplawski 70c9dc5
    mpiexec -n 8 python2 test/runtests.py -v --no-builddir -e spawn
Thomas Spura b34abd6
%endif
Thomas Spura 7a74d59
mv build openmpi
715baa7
%{_openmpi_unload}
1defc61
%endif
715baa7
Deji Akingunola 229c577
# test mpich?
Deji Akingunola 229c577
%if 0%{?MPICH}
Deji Akingunola 229c577
%if %{with_mpich}
Deji Akingunola 229c577
%{_mpich_load}
Thomas Spura 25d2748
cp .__init__mpich.py src/mpi4py/__init__.py
Thomas Spura 7a74d59
mv mpich build
Thomas Spura f27fd66
PYTHONPATH=%{buildroot}%{python2_sitearch}/mpich \
Orion Poplawski 70c9dc5
    mpiexec -n 1 python2 test/runtests.py -v --no-builddir -e spawn
Thomas Spura b34abd6
%if 0%{?FULLTESTS}
Thomas Spura f27fd66
PYTHONPATH=%{buildroot}%{python2_sitearch}/mpich \
Orion Poplawski 70c9dc5
    mpiexec -n 5 python2 test/runtests.py -v --no-builddir -e spawn
Thomas Spura f27fd66
PYTHONPATH=%{buildroot}%{python2_sitearch}/mpich \
Orion Poplawski 70c9dc5
    mpiexec -n 8 python2 test/runtests.py -v --no-builddir -e spawn
Thomas Spura b34abd6
%endif
Thomas Spura fbc7a58
mv build mpich
Deji Akingunola 229c577
%{_mpich_unload}
715baa7
%endif
Thomas Spura b48bd1e
%endif
715baa7
715baa7
%if 0%{?with_python3}
1defc61
# test openmpi?
1defc61
%if 0%{?OPENMPI}
715baa7
%{_openmpi_load}
Thomas Spura 25d2748
cp .__init__openmpi.py src/mpi4py/__init__.py
Thomas Spura 7a74d59
mv openmpi build
Thomas Spura 114da66
PYTHONPATH=%{buildroot}%{python3_sitearch}/openmpi \
Thomas Spura 114da66
    mpiexec -np 1 python3 test/runtests.py -v --no-builddir --thread-level=serialized -e spawn
Thomas Spura b34abd6
%if 0%{?FULLTESTS}
Thomas Spura e246dd1
PYTHONPATH=%{buildroot}%{python3_sitearch}/openmpi \
Orion Poplawski 70c9dc5
    mpiexec -np 5 python3 test/runtests.py -v --no-builddir -e spawn
Thomas Spura e246dd1
PYTHONPATH=%{buildroot}%{python3_sitearch}/openmpi \
Orion Poplawski 70c9dc5
    mpiexec -np 8 python3 test/runtests.py -v --no-builddir -e spawn
Thomas Spura b34abd6
%endif
Thomas Spura 7a74d59
mv build openmpi
715baa7
%{_openmpi_unload}
1defc61
%endif
715baa7
Deji Akingunola 229c577
# test mpich?
Deji Akingunola 229c577
%if 0%{?MPICH}
Deji Akingunola 229c577
%if %{with_mpich}
Deji Akingunola 229c577
%{_mpich_load}
Thomas Spura 25d2748
cp .__init__mpich.py src/mpi4py/__init__.py
Thomas Spura 7a74d59
mv mpich build
Deji Akingunola 229c577
PYTHONPATH=%{buildroot}%{python3_sitearch}/mpich \
Orion Poplawski 70c9dc5
    mpiexec -np 1 python3 test/runtests.py -v --no-builddir -e spawn
Thomas Spura b34abd6
%if 0%{?FULLTESTS}
Deji Akingunola 229c577
PYTHONPATH=%{buildroot}%{python3_sitearch}/mpich \
Orion Poplawski 70c9dc5
    mpiexec -np 5 python3 test/runtests.py -v --no-builddir -e spawn
Deji Akingunola 229c577
PYTHONPATH=%{buildroot}%{python3_sitearch}/mpich \
Orion Poplawski 70c9dc5
    mpiexec -np 8 python3 test/runtests.py -v --no-builddir -e spawn
Thomas Spura b34abd6
%endif
Thomas Spura fbc7a58
mv build mpich
Deji Akingunola 229c577
%{_mpich_unload}
Thomas Spura b48bd1e
%endif
Deji Akingunola 229c577
%endif # mpich disable
715baa7
%endif # with_python3
715baa7
715baa7
715baa7
%files common
Orion Poplawski 70c9dc5
%license LICENSE.rst
Orion Poplawski 70c9dc5
%doc CHANGES.rst DESCRIPTION.rst README.rst
715baa7
Thomas Spura 7b5af8e
%files -n python2-mpi4py-openmpi
Thomas Spura f27fd66
%{python2_sitearch}/openmpi/%{name}-%{version}-py?.?.egg-info
Thomas Spura f27fd66
%{python2_sitearch}/openmpi/%{name}
715baa7
Deji Akingunola 229c577
%if %{with_mpich}
Thomas Spura 7b5af8e
%files -n python2-mpi4py-mpich
Thomas Spura f27fd66
%{python2_sitearch}/mpich/%{name}-%{version}-py?.?.egg-info
Thomas Spura f27fd66
%{python2_sitearch}/mpich/%{name}
Thomas Spura b48bd1e
%endif
715baa7
715baa7
%if 0%{?with_python3}
Orion Poplawski 672ff35
%files -n python%{python3_pkgversion}-mpi4py-openmpi
715baa7
%{python3_sitearch}/openmpi/%{name}-%{version}-py?.?.egg-info
715baa7
%{python3_sitearch}/openmpi/%{name}
715baa7
Deji Akingunola 229c577
%if %{with_mpich}
Orion Poplawski 672ff35
%files -n python%{python3_pkgversion}-mpi4py-mpich
Deji Akingunola 229c577
%{python3_sitearch}/mpich/%{name}-%{version}-py?.?.egg-info
Deji Akingunola 229c577
%{python3_sitearch}/mpich/%{name}
715baa7
%endif
Thomas Spura b48bd1e
%endif  # with_python3
715baa7
715baa7
%files docs
715baa7
%doc docs/* demo
715baa7
715baa7
715baa7
%changelog
Thomas Spura 25d2748
* Sat Nov 11 2017 Thomas Spura <tomspur@fedoraproject.org> - 3.0.0-1
Thomas Spura 82ffff8
- update to 3.0.0 (#1510901)
Thomas Spura 25d2748
Thomas Spura 114da66
* Sun Oct 29 2017 Thomas Spura <tomspur@fedoraproject.org> - 2.0.0-14
Thomas Spura 114da66
- Set threads to serialized in openmpi due to #1105902
Thomas Spura 114da66
Thomas Spura 3aa1c59
* Sun Oct 29 2017 Thomas Spura <tomspur@fedoraproject.org> - 2.0.0-13
Thomas Spura 3aa1c59
- disable tests on openmpi due to #1105902 (#1423965)
Thomas Spura 3aa1c59
edae1f7
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-12
edae1f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
edae1f7
60b2628
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-11
60b2628
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
60b2628
Thomas Spura ab34af0
* Thu Jun 15 2017 Thomas Spura <tomspur@fedoraproject.org> - 2.0.0-10
Thomas Spura ab34af0
- Reenable python3 package (#1461023)
Thomas Spura ab34af0
56f7c82
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-9
56f7c82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
56f7c82
Orion Poplawski 7ba8ce3
* Wed Nov 2 2016 Orion Poplawski <orion@cora.nwra.com> - 2.0.0-8
Orion Poplawski 7ba8ce3
- Require appropriate mpi python support packages
Orion Poplawski 7ba8ce3
- Remove useless provides
Orion Poplawski 7ba8ce3
Orion Poplawski 672ff35
* Mon Oct 24 2016 Orion Poplawski <orion@cora.nwra.com> - 2.0.0-7
Orion Poplawski 70c9dc5
- Use upstream tox commands for tests
Orion Poplawski 70c9dc5
- Minor spec cleanup
Orion Poplawski 70c9dc5
Orion Poplawski 70c9dc5
* Mon Oct 24 2016 Orion Poplawski <orion@cora.nwra.com> - 2.0.0-7
Orion Poplawski 672ff35
- Enable python3 for EPEL
Orion Poplawski 672ff35
Orion Poplawski 97400f1
* Fri Oct 21 2016 Orion Poplawski <orion@cora.nwra.com> - 2.0.0-6
Orion Poplawski 97400f1
- Rebuild for openmpi 2.0
Orion Poplawski 97400f1
8bba329
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-5
8bba329
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
8bba329
f9fcecd
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
f9fcecd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f9fcecd
57c2d1e
* Thu Nov 12 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-3
57c2d1e
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
57c2d1e
Orion Poplawski 1822278
* Mon Nov 9 2015 Orion Poplawski <orion@cora.nwra.com> - 2.0.0-2
Orion Poplawski 1822278
- Bump obsoletes
Orion Poplawski 1822278
Thomas Spura 9661349
* Sat Oct 24 2015 Thomas Spura <tomspur@fedoraproject.org> - 2.0.0-1
Thomas Spura 9661349
- update to 2.0.0
Thomas Spura 9661349
Thomas Spura 7b5af8e
* Wed Oct 14 2015 Thomas Spura <tomspur@fedoraproject.org> - 1.3.1-16
Thomas Spura 7b5af8e
- Rename mpi4py packages to python2-mpi4py
Thomas Spura 7b5af8e
Orion Poplawski 2cc54c7
* Tue Sep 15 2015 Orion Poplawski <orion@cora.nwra.com> - 1.3.1-15
Orion Poplawski 2cc54c7
- Rebuild for openmpi 1.10.0
Orion Poplawski 2cc54c7
28123c9
* Tue Aug 18 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-14
28123c9
- Rebuild for rpm-mpi-hooks-3-2
28123c9
4a0e9c1
* Mon Aug 17 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-13
4a0e9c1
- Rebuild for rpm-mpi-hooks-3-1
4a0e9c1
45201d7
* Sat Aug 15 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-12
4dcdd78
- Remove requires filtering... not necessary anymore
4dcdd78
6bc92da
* Mon Aug 10 2015 Sandro Mani <manisandro@gmail.com> - 1.3.1-11
6bc92da
- Rebuild for RPM MPI Requires Provides Change
6bc92da
2823c44
* Wed Jul 29 2015 Karsten Hopp <karsten@redhat.com> 1.3.1-10
2823c44
- mpich is available on ppc64 now
2823c44
Thomas Spura 587bba5
* Mon Jun 29 2015 Thomas Spura <tomspur@fedoraproject.org> - 1.3.1-9
Thomas Spura 587bba5
- Use new py_build/install macros
Thomas Spura 587bba5
d1af81b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-8
d1af81b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d1af81b
Thomas Spura de4752b
* Sat Mar 14 2015 Thomas Spura <tomspur@fedoraproject.org> - 1.3.1-7
Thomas Spura de4752b
- remove %%py3dir
Thomas Spura f27fd66
- use python2 macros instead of unversioned ones
Thomas Spura de4752b
Thomas Spura 60ace35
* Thu Mar 12 2015 Thomas Spura <tomspur@fedoraproject.org> - 1.3.1-6
Thomas Spura 60ace35
- Rebuild for changed mpich libraries
Thomas Spura 60ace35
5fe45fb
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
5fe45fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
5fe45fb
5e711d8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
5e711d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5e711d8
6a109b2
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 1.3.1-3
6a109b2
- Rebuild for Python 3.4
6a109b2
6a109b2
* Mon Feb 24 2014 Thomas Spura <tomspur@fedoraproject.org> - 1.3.1-2
Thomas Spura aa4d177
- Rebuilt for new mpich-3.1
Thomas Spura aa4d177
Thomas Spura 934732e
* Thu Aug  8 2013 Thomas Spura <tomspur@fedoraproject.org> - 1.3.1-1
Thomas Spura 934732e
- update to 1.3.1
Thomas Spura 934732e
4835e9a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-9
4835e9a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4835e9a
Deji Akingunola 229c577
* Sat Jul 20 2013 Deji Akingunola <dakingun@gmail.com> - 1.3-8
Deji Akingunola 229c577
- Rename mpich2 sub-packages to mpich and rebuild for mpich-3.0
Deji Akingunola 229c577
54b26fa
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-7
54b26fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
54b26fa
Thomas Spura a3362da
* Wed Nov 14 2012 Thomas Spura <tomspur@fedoraproject.org> - 1.3-6
Thomas Spura a3362da
- rebuild for newer mpich2
Thomas Spura a3362da
Thomas Spura b48bd1e
* Sat Aug  4 2012 Thomas Spura <tomspur@fedoraproject.org> - 1.3-5
Thomas Spura b48bd1e
- conditionalize mpich2 support, there is no mpich2 on el6-ppc64
Thomas Spura b48bd1e
9a51b0d
* Fri Aug 03 2012 David Malcolm <dmalcolm@redhat.com> - 1.3-4
9a51b0d
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
9a51b0d
379a3b3
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-3
379a3b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
379a3b3
Thomas Spura 335275f
* Wed Jan 25 2012 Thomas Spura <tomspur@fedoraproject.org> - 1.3-2
Thomas Spura 335275f
- filter requires in pysitearch/openmpi/mpi4py/lib-pmpi/lib (#741104)
Thomas Spura 335275f
Thomas Spura e246dd1
* Fri Jan 20 2012 Thomas Spura <tomspur@fedoraproject.org> - 1.3-1
Thomas Spura e246dd1
- update to 1.3
Thomas Spura e246dd1
- filter provides in pythonsitearch
Thomas Spura e246dd1
- run tests differently
Thomas Spura e246dd1
e3befbf
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-7
e3befbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e3befbf
Deji Akingunola 9fb1ad0
* Wed Mar 30 2011 Deji Akingunola <dakingun@gmail.com> - 1.2.2-6
Deji Akingunola 9fb1ad0
- Rebuild for mpich2 soname bump
Deji Akingunola 9fb1ad0
5e1b089
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-5
5e1b089
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5e1b089
5544af7
* Wed Dec 29 2010  David Malcolm <dmalcolm@redhat.com> - 1.2.2-4
5544af7
- rebuild for newer python3
5544af7
12bd886
* Tue Oct 19 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.2.2-3
12bd886
- rebuild for new mpich2 and openmpi versions
12bd886
Jesse Keating 79435d8
* Wed Sep 29 2010 jkeating - 1.2.2-2
Jesse Keating 79435d8
- Rebuilt for gcc bug 634757
Jesse Keating 79435d8
7be4d06
* Wed Sep 15 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.2.2-1
7be4d06
- update to new version
7be4d06
e38354c
* Sun Aug 22 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.2.1-6
e38354c
- rebuild with python3.2
e38354c
  http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
e38354c
ae2e416
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.2.1-5
ae2e416
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
ae2e416
68fa728
* Wed Jul  7 2010 Thomas Spura <tomspur@fedoreproject.org> - 1.2.1-4
68fa728
- doc package needs to require common package, because of licensing
68fa728
4cdf5fd
* Sun Apr 11 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.2.1-3
4cdf5fd
- also provides python2-mpi4py-*
4cdf5fd
d2a122d
* Sat Feb 27 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.2.1-2
d2a122d
- delete R on the main package in docs subpackage
d2a122d
  (main package is empty -> would be an unresolved dependency)
d2a122d
5dea5c8
* Sat Feb 27 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.2.1-1
5dea5c8
- new version
5dea5c8
- removing of hidden file not needed anymore (done upstream)
5dea5c8
- fix spelling error builtin -> built-in
5dea5c8
5dea5c8
* Fri Feb 26 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.2-7
1defc61
- introduce OPENMPI and MPD macros to easy enable/disable the testsuite
1defc61
715baa7
* Tue Feb 16 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.2-6
715baa7
- don't delete *.pyx/*.pyd
715baa7
- delete docs/source
715baa7
715baa7
* Mon Feb  8 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.2-5
715baa7
- disable testsuite
715baa7
715baa7
* Sun Feb  7 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.2-4
715baa7
- enable testsuite
715baa7
- move huge docs into docs subpackage
715baa7
715baa7
* Sun Feb  7 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.2-3
715baa7
- delete lam building
715baa7
- install to correct locations
715baa7
715baa7
* Sun Feb  7 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.2-2
715baa7
- compile for different mpi versions
715baa7
715baa7
* Sun Feb  7 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.2-1
715baa7
- initial import