commit python-mpi4py for openSUSE:Factory
Hello community, here is the log from the commit of package python-mpi4py for openSUSE:Factory checked in at 2019-11-20 10:29:34 Comparing /work/SRC/openSUSE:Factory/python-mpi4py (Old) and /work/SRC/openSUSE:Factory/.python-mpi4py.new.26869 (New) Package is "python-mpi4py" Wed Nov 20 10:29:34 2019 rev:10 rq:749804 version:3.0.3 Changes: --- /work/SRC/openSUSE:Factory/python-mpi4py/python-mpi4py.changes 2019-08-05 10:42:44.539289445 +0200 +++ /work/SRC/openSUSE:Factory/.python-mpi4py.new.26869/python-mpi4py.changes 2019-11-20 10:29:38.918591115 +0100 @@ -1,0 +2,7 @@ +Tue Nov 19 20:50:31 UTC 2019 - Todd R + +- Update to 3.0.3 + * Regenerate Cython wrappers to support Python 3.8. +- Drop upstream-included fix_window_size.patch + +--- Old: fix_window_size.patch mpi4py-3.0.2.tar.gz New: mpi4py-3.0.3.tar.gz Other differences: -- ++ python-mpi4py.spec ++ --- /var/tmp/diff_new_pack.wwD4gP/_old 2019-11-20 10:29:39.550591241 +0100 +++ /var/tmp/diff_new_pack.wwD4gP/_new 2019-11-20 10:29:39.550591241 +0100 @@ -23,15 +23,12 @@ %define mpiver openmpi2 %endif Name: python-mpi4py -Version:3.0.2 +Version:3.0.3 Release:0 Summary:MPI for Python License:BSD-2-Clause -Group: Development/Libraries/Python URL:https://bitbucket.org/mpi4py/mpi4py Source: https://files.pythonhosted.org/packages/source/m/mpi4py/mpi4py-%{version}.tar.gz -# PATCH-FIX-UPSTREAM fix_window_size.patch - https://bitbucket.org/mpi4py/mpi4py/issues/137/ -Patch0: fix_window_size.patch BuildRequires: %{mpiver} BuildRequires: %{mpiver}-config BuildRequires: %{mpiver}-devel @@ -77,7 +74,6 @@ %packagedevel Summary:Development files for %{name} -Group: Development/Libraries/Python Requires: %{name} = %{version} Requires: %{name}-common-devel = %{version} Requires: python-devel @@ -87,7 +83,6 @@ %package -n %{name}-common-devel Summary:Shared development files for %{name} -Group: Development/Libraries/Python Requires: %{mpiver}-devel Provides: %{python_module mpi4py-common-devel = %{version}} @@ -100,7 +95,6 @@ %package -n %{name}-doc Summary:Documentation for %{name} -Group: Documentation/Other Provides: %{python_module mpi4py-doc = %{version}} %description -n %{name}-doc @@ -108,7 +102,6 @@ %prep %setup -q -n mpi4py-%{version} -%patch0 -p1 rm demo/*/runtests.bat docs/source/usrman/make.bat sed -i 's/\r$//' docs/usrman/objects.inv ++ mpi4py-3.0.2.tar.gz -> mpi4py-3.0.3.tar.gz ++ 3050 lines of diff (skipped)
commit python-mpi4py for openSUSE:Factory
Hello community, here is the log from the commit of package python-mpi4py for openSUSE:Factory checked in at 2019-08-05 10:42:29 Comparing /work/SRC/openSUSE:Factory/python-mpi4py (Old) and /work/SRC/openSUSE:Factory/.python-mpi4py.new.4126 (New) Package is "python-mpi4py" Mon Aug 5 10:42:29 2019 rev:9 rq:720900 version:3.0.2 Changes: --- /work/SRC/openSUSE:Factory/python-mpi4py/python-mpi4py.changes 2019-03-07 10:51:14.757840389 +0100 +++ /work/SRC/openSUSE:Factory/.python-mpi4py.new.4126/python-mpi4py.changes 2019-08-05 10:42:44.539289445 +0200 @@ -1,0 +2,21 @@ +Sun Aug 4 14:16:57 UTC 2019 - Todd R + +- Add fix_window_size.patch + Fixes unit tests + See: https://bitbucket.org/mpi4py/mpi4py/issues/137/ + +--- +Wed Jul 31 02:30:19 UTC 2019 - Todd R + +- Update to 3.0.2 + * Bug fixes: ++ Fix handling of readonly buffers in support for Pytho + 2 legacy buffer interface. The issue triggers only when using + a buffer-like object that is readonly and does not export + the new Python 3 buffer interface. ++ Fix build issues with Open MPI 4.0.x series related to + removal of many MPI-1 symbols deprecated in MPI-2 and removed + in MPI-3. ++ Minor documentation fixes. + +--- Old: mpi4py-3.0.1.tar.gz New: _constraints fix_window_size.patch mpi4py-3.0.2.tar.gz Other differences: -- ++ python-mpi4py.spec ++ --- /var/tmp/diff_new_pack.bvqnIF/_old 2019-08-05 10:42:45.011289390 +0200 +++ /var/tmp/diff_new_pack.bvqnIF/_new 2019-08-05 10:42:45.015289390 +0200 @@ -18,26 +18,31 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %if 0%{?sle_version} && 0%{?sle_version} < 15 -%define mpiver openmpi + %define mpiver openmpi %else %define mpiver openmpi2 %endif Name: python-mpi4py -Version:3.0.1 +Version:3.0.2 Release:0 Summary:MPI for Python License:BSD-2-Clause Group: Development/Libraries/Python URL:https://bitbucket.org/mpi4py/mpi4py Source: https://files.pythonhosted.org/packages/source/m/mpi4py/mpi4py-%{version}.tar.gz +# PATCH-FIX-UPSTREAM fix_window_size.patch - https://bitbucket.org/mpi4py/mpi4py/issues/137/ +Patch0: fix_window_size.patch BuildRequires: %{mpiver} +BuildRequires: %{mpiver}-config BuildRequires: %{mpiver}-devel +BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: %{mpiver} +Requires: %{mpiver}-config %python_subpackages %description @@ -103,6 +108,7 @@ %prep %setup -q -n mpi4py-%{version} +%patch0 -p1 rm demo/*/runtests.bat docs/source/usrman/make.bat sed -i 's/\r$//' docs/usrman/objects.inv @@ -110,9 +116,11 @@ source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh export CFLAGS="%{optflags} -fno-strict-aliasing" -%python_build +export LANG=en_US.UTF-8 +%{python_build --force} %install +export LANG=en_US.UTF-8 %python_install # De-duplicate includes and also put them in a more generally-accessible location. @@ -128,10 +136,19 @@ cp -r demo %{buildroot}%{_docdir}%{name}/ %fdupes %{buildroot}%{_docdir}%{name} +mkdir -p %{buildroot}%{_rpmmacrodir} +cat >> %{buildroot}%{_rpmmacrodir}/macros.mpi4py < 4 2 ++ fix_window_size.patch ++ diff --git a/test/test_msgspec.py b/test/test_msgspec.py index ae21bc3..5941632 100644 --- a/test/test_msgspec.py +++ b/test/test_msgspec.py @@ -532,7 +532,7 @@ class TestMessageVectorW(unittest.TestCase): self.assertEqual(bytearray(2), rbuf[1:]) def PutGet(smsg, rmsg, target): -try: win = MPI.Win.Allocate(8, 1, MPI.INFO_NULL, MPI.COMM_SELF) +try: win = MPI.Win.Allocate(256, 1, MPI.INFO_NULL, MPI.COMM_SELF) except NotImplementedError: win = MPI.WIN_NULL try: try: win.Fence() ++ mpi4py-3.0.1.tar.gz -> mpi4py-3.0.2.tar.gz ++ 5313 lines of diff (skipped)
commit python-mpi4py for openSUSE:Factory
Hello community, here is the log from the commit of package python-mpi4py for openSUSE:Factory checked in at 2019-03-07 10:50:53 Comparing /work/SRC/openSUSE:Factory/python-mpi4py (Old) and /work/SRC/openSUSE:Factory/.python-mpi4py.new.28833 (New) Package is "python-mpi4py" Thu Mar 7 10:50:53 2019 rev:8 rq:682230 version:3.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-mpi4py/python-mpi4py.changes 2019-02-25 17:59:44.374160662 +0100 +++ /work/SRC/openSUSE:Factory/.python-mpi4py.new.28833/python-mpi4py.changes 2019-03-07 10:51:14.757840389 +0100 @@ -1,0 +2,5 @@ +Wed Feb 27 01:36:38 UTC 2019 - Bernhard Wiedemann + +- Use openmpi2 for releases that support it. + +--- Other differences: -- ++ python-mpi4py.spec ++ --- /var/tmp/diff_new_pack.44gE3r/_old 2019-03-07 10:51:15.225840262 +0100 +++ /var/tmp/diff_new_pack.44gE3r/_new 2019-03-07 10:51:15.229840260 +0100 @@ -17,14 +17,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%if 0%{?sle_version} <= 120300 +%if 0%{?sle_version} && 0%{?sle_version} < 15 %define mpiver openmpi %else - %if 0%{?sle_version} <= 15 %define mpiver openmpi2 - %else - %define mpiver openmpi3 - %endif %endif Name: python-mpi4py Version:3.0.1
commit python-mpi4py for openSUSE:Factory
Hello community, here is the log from the commit of package python-mpi4py for openSUSE:Factory checked in at 2019-02-25 17:59:35 Comparing /work/SRC/openSUSE:Factory/python-mpi4py (Old) and /work/SRC/openSUSE:Factory/.python-mpi4py.new.28833 (New) Package is "python-mpi4py" Mon Feb 25 17:59:35 2019 rev:7 rq:678881 version:3.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-mpi4py/python-mpi4py.changes 2018-11-15 12:42:03.986139614 +0100 +++ /work/SRC/openSUSE:Factory/.python-mpi4py.new.28833/python-mpi4py.changes 2019-02-25 17:59:44.374160662 +0100 @@ -1,0 +2,17 @@ +Mon Feb 25 09:24:44 UTC 2019 - Tomáš Chvátal + +- Update to 3.0.1: + * Bug fixes: ++ Fix ``Comm.scatter()`` and other collectives corrupting input send + list. Add safety measures to prevent related issues in global + reduction operations. ++ Fix error-checking code for counts in ``Op.Reduce_local()``. + * Enhancements: ++ Map size-specific Python/NumPy typecodes to MPI datatypes. ++ Allow partial specification of target list/tuple arguments in the + various ``Win`` RMA methods. ++ Workaround for removal of ``MPI_{LB|UB}`` in Open MPI 4.0. ++ Support for Microsoft MPI v10.0. +- Add numpy as build dependency used in tests + +--- Old: mpi4py-3.0.0.tar.gz New: mpi4py-3.0.1.tar.gz Other differences: -- ++ python-mpi4py.spec ++ --- /var/tmp/diff_new_pack.kVYfpU/_old 2019-02-25 17:59:46.266159069 +0100 +++ /var/tmp/diff_new_pack.kVYfpU/_new 2019-02-25 17:59:46.270159066 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-mpi4py # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,36 +12,36 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-mpi4py %if 0%{?sle_version} <= 120300 %define mpiver openmpi %else -%if 0%{?sle_version} <= 15 -%define mpiver openmpi2 -%else -%define mpiver openmpi3 -%endif + %if 0%{?sle_version} <= 15 + %define mpiver openmpi2 + %else + %define mpiver openmpi3 + %endif %endif -Version:3.0.0 +Name: python-mpi4py +Version:3.0.1 Release:0 Summary:MPI for Python License:BSD-2-Clause Group: Development/Libraries/Python -Url:https://bitbucket.org/mpi4py/mpi4py +URL:https://bitbucket.org/mpi4py/mpi4py Source: https://files.pythonhosted.org/packages/source/m/mpi4py/mpi4py-%{version}.tar.gz -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: %{mpiver} BuildRequires: %{mpiver}-devel +BuildRequires: %{python_module devel} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: %{mpiver} - %python_subpackages %description @@ -87,8 +87,8 @@ %package -n %{name}-common-devel Summary:Shared development files for %{name} Group: Development/Libraries/Python -Provides: %{python_module mpi4py-common-devel = %{version}} Requires: %{mpiver}-devel +Provides: %{python_module mpi4py-common-devel = %{version}} %description -n %{name}-common-devel Development libraries and headers needed to build packages using %{name} @@ -113,7 +113,7 @@ %build source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh -export CFLAGS="%{optflags}" +export CFLAGS="%{optflags} -fno-strict-aliasing" %python_build %install ++ mpi4py-3.0.0.tar.gz -> mpi4py-3.0.1.tar.gz ++ 83514 lines of diff (skipped)
commit python-mpi4py for openSUSE:Factory
Hello community, here is the log from the commit of package python-mpi4py for openSUSE:Factory checked in at 2018-11-15 12:42:03 Comparing /work/SRC/openSUSE:Factory/python-mpi4py (Old) and /work/SRC/openSUSE:Factory/.python-mpi4py.new (New) Package is "python-mpi4py" Thu Nov 15 12:42:03 2018 rev:6 rq:649202 version:3.0.0 Changes: --- /work/SRC/openSUSE:Factory/python-mpi4py/python-mpi4py.changes 2018-06-29 22:29:38.622336060 +0200 +++ /work/SRC/openSUSE:Factory/.python-mpi4py.new/python-mpi4py.changes 2018-11-15 12:42:03.986139614 +0100 @@ -1,0 +2,5 @@ +Thu Nov 15 04:50:38 UTC 2018 - Todd R + +- Use openmpi3 for releases that support it. + +--- Other differences: -- ++ python-mpi4py.spec ++ --- /var/tmp/diff_new_pack.AKHDcR/_old 2018-11-15 12:42:04.882138595 +0100 +++ /var/tmp/diff_new_pack.AKHDcR/_new 2018-11-15 12:42:04.886138591 +0100 @@ -21,7 +21,11 @@ %if 0%{?sle_version} <= 120300 %define mpiver openmpi %else +%if 0%{?sle_version} <= 15 %define mpiver openmpi2 +%else +%define mpiver openmpi3 +%endif %endif Version:3.0.0 Release:0 @@ -30,12 +34,12 @@ Group: Development/Libraries/Python Url:https://bitbucket.org/mpi4py/mpi4py Source: https://files.pythonhosted.org/packages/source/m/mpi4py/mpi4py-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{mpiver} BuildRequires: %{mpiver}-devel +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: %{mpiver} %python_subpackages @@ -84,7 +88,7 @@ Summary:Shared development files for %{name} Group: Development/Libraries/Python Provides: %{python_module mpi4py-common-devel = %{version}} -Requires: openmpi-devel +Requires: %{mpiver}-devel %description -n %{name}-common-devel Development libraries and headers needed to build packages using %{name} @@ -123,6 +127,11 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} +mkdir -p %{buildroot}%{_docdir}%{name} +cp -r docs %{buildroot}%{_docdir}%{name}/ +cp -r demo %{buildroot}%{_docdir}%{name}/ +%fdupes %{buildroot}%{_docdir}%{name} + %check export PYTHONDONTWRITEBYTECODE=1 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} @@ -130,7 +139,6 @@ } %files %{python_files} -%defattr(-,root,root) %doc CHANGES.rst DESCRIPTION.rst README.rst %license LICENSE.rst %{python_sitearch}/mpi4py @@ -138,19 +146,17 @@ %exclude %{python_sitearch}/mpi4py/include/ %files %{python_files devel} -%defattr(-,root,root) %license LICENSE.rst %{python_sitearch}/mpi4py/include/ %files -n %{name}-common-devel -%defattr(-,root,root) %license LICENSE.rst %{_includedir}/mpi4py/ %files -n %{name}-doc -%defattr(-,root,root) %license LICENSE.rst -%doc docs/ -%doc demo/ +%dir %{_docdir}%{name} +%{_docdir}%{name}/docs/ +%{_docdir}%{name}/demo/ %changelog
commit python-mpi4py for openSUSE:Factory
Hello community, here is the log from the commit of package python-mpi4py for openSUSE:Factory checked in at 2018-06-29 22:29:36 Comparing /work/SRC/openSUSE:Factory/python-mpi4py (Old) and /work/SRC/openSUSE:Factory/.python-mpi4py.new (New) Package is "python-mpi4py" Fri Jun 29 22:29:36 2018 rev:5 rq:617714 version:3.0.0 Changes: --- /work/SRC/openSUSE:Factory/python-mpi4py/python-mpi4py.changes 2017-10-26 18:44:36.107341704 +0200 +++ /work/SRC/openSUSE:Factory/.python-mpi4py.new/python-mpi4py.changes 2018-06-29 22:29:38.622336060 +0200 @@ -1,0 +2,38 @@ +Wed Jun 13 16:00:41 UTC 2018 - toddrme2...@gmail.com + +- Update to version 3.0.0 + * New features: ++ `mpi4py.futures`: Execute computations asynchronously using a pool + of MPI processes. This package is based on ``concurrent.futures`` + from the Python standard library. ++ `mpi4py.run`: Run Python code and abort execution in case of + unhandled exceptions to prevent deadlocks. ++ `mpi4py.bench`: Run basic MPI benchmarks and tests. + * Enhancements: ++ Lowercase, pickle-based collective communication calls are now + thread-safe through the use of fine-grained locking. ++ The ``MPI`` module now exposes a ``memory`` type which is a + lightweight variant of the builtin ``memoryview`` type, but + exposes both the legacy Python 2 and the modern Python 3 buffer + interface under a Python 2 runtime. ++ The ``MPI.Comm.Alltoallw()`` method now uses ``count=1`` and + ``displ=0`` as defaults, assuming that messages are specified + through user-defined datatypes. ++ The ``Request.Wait[all]()`` methods now return ``True`` to match + the interface of ``Request.Test[all]()``. ++ The ``Win`` class now implements the Python buffer interface. + * Backward-incompatible changes: ++ The ``buf`` argument of the ``MPI.Comm.recv()`` method is + deprecated, passing anything but ``None`` emits a warning. ++ The ``MPI.Win.memory`` property was removed, use the + ``MPI.Win.tomemory()`` method instead. ++ Executing ``python -m mpi4py`` in the command line is now + equivalent to ``python -m mpi4py.run``. For the former behavior, + use ``python -m mpi4py.bench``. ++ Python 2.6 and 3.2 are no longer supported. The ``mpi4py.MPI`` + module may still build and partially work, but other pure-Python + modules under the ``mpi4py`` namespace will not. ++ Windows: Remove support for legacy MPICH2, Open MPI, and DeinoMPI. +- Switch to recommended openmpi2 for distributions that support it. + +--- Old: mpi4py-2.0.0.tar.gz New: mpi4py-3.0.0.tar.gz Other differences: -- ++ python-mpi4py.spec ++ --- /var/tmp/diff_new_pack.vDft8d/_old 2018-06-29 22:29:39.182335633 +0200 +++ /var/tmp/diff_new_pack.vDft8d/_new 2018-06-29 22:29:39.182335633 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-mpi4py # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-mpi4py -Version:2.0.0 +%if 0%{?sle_version} <= 120300 +%define mpiver openmpi +%else +%define mpiver openmpi2 +%endif +Version:3.0.0 Release:0 Summary:MPI for Python License:BSD-2-Clause @@ -29,34 +34,41 @@ BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -BuildRequires: openmpi-devel -Requires: openmpi -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{mpiver} +BuildRequires: %{mpiver}-devel +Requires: %{mpiver} + %python_subpackages %description -This package provides Message Passing Interface support for Python scripting in parallel -environments. It is constructed on top of the MPI-1/MPI-2 -specification, but provides an object-oriented interface which closely -follows the MPI-2 C++ bindings. - -This module supports point-to-point (send, receive) and collective -(broadcast, scatter, gather, reduction) communications of any -*picklable* Python object. - -For objects exporting single-segment buffer interface (strings, NumPy -arrays, etc.), blocking/nonbloking/persistent point-to-point, -collective and one-sided (put, get, accumulate) communications are -fully supported, as well as parallel I/O (blocking and nonbloking, -collective and non-collective read and write operations using
commit python-mpi4py for openSUSE:Factory
Hello community, here is the log from the commit of package python-mpi4py for openSUSE:Factory checked in at 2017-10-26 18:44:34 Comparing /work/SRC/openSUSE:Factory/python-mpi4py (Old) and /work/SRC/openSUSE:Factory/.python-mpi4py.new (New) Package is "python-mpi4py" Thu Oct 26 18:44:34 2017 rev:4 rq:536575 version:2.0.0 Changes: --- /work/SRC/openSUSE:Factory/python-mpi4py/python-mpi4py.changes 2017-06-12 15:28:17.363413425 +0200 +++ /work/SRC/openSUSE:Factory/.python-mpi4py.new/python-mpi4py.changes 2017-10-26 18:44:36.107341704 +0200 @@ -1,0 +2,5 @@ +Wed Oct 25 12:47:13 UTC 2017 - jungh...@votca.org + +- adapt to new openlmi package - source mpivars.h during build + +--- Other differences: -- ++ python-mpi4py.spec ++ --- /var/tmp/diff_new_pack.ig97TG/_old 2017-10-26 18:44:36.927303436 +0200 +++ /var/tmp/diff_new_pack.ig97TG/_new 2017-10-26 18:44:36.927303436 +0200 @@ -93,6 +93,8 @@ %setup -q -n mpi4py-%{version} %build +source %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh + export CFLAGS="%{optflags}" %python_build
commit python-mpi4py for openSUSE:Factory
Hello community, here is the log from the commit of package python-mpi4py for openSUSE:Factory checked in at 2017-06-12 15:28:15 Comparing /work/SRC/openSUSE:Factory/python-mpi4py (Old) and /work/SRC/openSUSE:Factory/.python-mpi4py.new (New) Package is "python-mpi4py" Mon Jun 12 15:28:15 2017 rev:3 rq:498537 version:2.0.0 Changes: --- /work/SRC/openSUSE:Factory/python-mpi4py/python-mpi4py.changes 2017-02-03 18:57:50.669771875 +0100 +++ /work/SRC/openSUSE:Factory/.python-mpi4py.new/python-mpi4py.changes 2017-06-12 15:28:17.363413425 +0200 @@ -1,0 +2,7 @@ +Tue May 23 15:49:20 UTC 2017 - toddrme2...@gmail.com + +- Implement single-spec version +- Fix source URL. +- Package docs + +--- Other differences: -- ++ python-mpi4py.spec ++ --- /var/tmp/diff_new_pack.fH0r6j/_old 2017-06-12 15:28:18.311279748 +0200 +++ /var/tmp/diff_new_pack.fH0r6j/_new 2017-06-12 15:28:18.315279184 +0200 @@ -16,23 +16,23 @@ # -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} - -%define modname mpi4py -Name: python-%{modname} +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-mpi4py Version:2.0.0 Release:0 Summary:MPI for Python License:BSD-2-Clause Group: Development/Libraries/Python Url:https://bitbucket.org/mpi4py/mpi4py -Source0: https://bitbucket.org/%{modname}/%{modname}/downloads/%{modname}-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/m/mpi4py/mpi4py-%{version}.tar.gz BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: openmpi-devel -BuildRequires: python-devel Requires: openmpi BuildRoot: %{_tmppath}/%{name}-%{version}-build -%py_requires +%python_subpackages %description This package provides Message Passing Interface support for Python scripting in parallel @@ -62,32 +62,77 @@ Summary:Development files for %{name} Group: Development/Libraries/Python Requires: %{name} = %{version} -%py_requires -d +Requires: %{name}-common-devel = %{version} +Requires: python-devel %description devel +Development libraries and headers needed to build packages using %{name}. + +%package -n %{name}-common-devel +Summary:Shared development files for %{name} +Group: Development/Libraries/Python +Provides: %{python_module mpi4py-common-devel = %{version}} +Requires: openmpi-devel + +%description -n %{name}-common-devel Development libraries and headers needed to build packages using %{name} +for both python2 and python3. +You normally do not need to install this directly, it will be pulled in by +the python-specific devel package. + +%package -n %{name}-doc +Summary:Documentation for %{name} +Group: Documentation/Other +Provides: %{python_module mpi4py-doc = %{version}} + +%description -n %{name}-doc +Documentation files and demos for %{name}. %prep -%setup -q -n %{modname}-%{version} +%setup -q -n mpi4py-%{version} %build -env CFLAGS="%{optflags}" python setup.py build +export CFLAGS="%{optflags}" +%python_build %install -python setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-headers=%{_includedir} -mkdir -p -m 755 %{buildroot}%{_includedir} -mv %{buildroot}%{python_sitearch}/%{modname}/include/%{modname} %{buildroot}/%{_includedir} -%fdupes -s %{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +# De-duplicate includes and also put them in a more generally-accessible location. +mkdir -p %{buildroot}/%{_includedir} +%python_expand cp -r %{buildroot}%{$python_sitearch}/mpi4py/include/mpi4py %{buildroot}/%{_includedir}/ +%python_expand rm -r %{buildroot}%{$python_sitearch}/mpi4py/include/mpi4py +%python_expand ln -s %{_includedir}/mpi4py %{buildroot}%{$python_sitearch}/mpi4py/include/mpi4py -%files +%files %{python_files} +%defattr(-,root,root) +%doc CHANGES.rst DESCRIPTION.rst README.rst LICENSE.rst +%{python_sitearch}/mpi4py +%{python_sitearch}/mpi4py-%{version}-py*.egg-info +%exclude %{python_sitearch}/mpi4py/include/ + +%files %{python_files devel} +%defattr(-,root,root) +%doc LICENSE.rst +%dir %{python_sitearch}/mpi4py/include/ +%{python_sitearch}/mpi4py/include/mpi4py + +%files -n %{name}-common-devel %defattr(-,root,root) %doc LICENSE.rst -%{python_sitearch}/%{modname} -%{python_sitearch}/%{modname}-%{version}-py%{py_ver}.egg-info +%dir %{_includedir}/mpi4py/
commit python-mpi4py for openSUSE:Factory
Hello community, here is the log from the commit of package python-mpi4py for openSUSE:Factory checked in at 2017-01-29 10:37:44 Comparing /work/SRC/openSUSE:Factory/python-mpi4py (Old) and /work/SRC/openSUSE:Factory/.python-mpi4py.new (New) Package is "python-mpi4py" Changes: --- /work/SRC/openSUSE:Factory/python-mpi4py/python-mpi4py.changes 2017-01-25 23:36:15.977835446 +0100 +++ /work/SRC/openSUSE:Factory/.python-mpi4py.new/python-mpi4py.changes 2017-02-03 18:57:50.669771875 +0100 @@ -1,0 +2,5 @@ +Wed Jan 25 08:57:15 UTC 2017 - jeng...@inai.de + +- Update description. Drop redundant %clean. + +--- Other differences: -- ++ python-mpi4py.spec ++ --- /var/tmp/diff_new_pack.z6sgGi/_old 2017-02-03 18:57:51.081714021 +0100 +++ /var/tmp/diff_new_pack.z6sgGi/_new 2017-02-03 18:57:51.085713459 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-mpi4py # -# Copyright (c) 2013-2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,16 +15,17 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %define modname mpi4py Name: python-%{modname} Version:2.0.0 -Release:1 -License:BSD-2-Clause +Release:0 Summary:MPI for Python -Url:https://bitbucket.org/mpi4py/mpi4py +License:BSD-2-Clause Group: Development/Libraries/Python +Url:https://bitbucket.org/mpi4py/mpi4py Source0: https://bitbucket.org/%{modname}/%{modname}/downloads/%{modname}-%{version}.tar.gz BuildRequires: fdupes BuildRequires: openmpi-devel @@ -34,9 +35,9 @@ %py_requires %description -This package provides MPI support for Python scripting in parallel +This package provides Message Passing Interface support for Python scripting in parallel environments. It is constructed on top of the MPI-1/MPI-2 -specification, but provides an object oriented interface which closely +specification, but provides an object-oriented interface which closely follows the MPI-2 C++ bindings. This module supports point-to-point (send, receive) and collective @@ -47,7 +48,7 @@ arrays, etc.), blocking/nonbloking/persistent point-to-point, collective and one-sided (put, get, accumulate) communications are fully supported, as well as parallel I/O (blocking and nonbloking, -collective and noncollective read and write operations using explicit +collective and non-collective read and write operations using explicit file offsets, individual file pointers and shared file pointers). @@ -79,9 +80,6 @@ mv %{buildroot}%{python_sitearch}/%{modname}/include/%{modname} %{buildroot}/%{_includedir} %fdupes -s %{buildroot} -%clean -rm -rf %{buildroot} - %files %defattr(-,root,root) %doc LICENSE.rst
commit python-mpi4py for openSUSE:Factory
Hello community, here is the log from the commit of package python-mpi4py for openSUSE:Factory checked in at 2017-01-25 23:36:15 Comparing /work/SRC/openSUSE:Factory/python-mpi4py (Old) and /work/SRC/openSUSE:Factory/.python-mpi4py.new (New) Package is "python-mpi4py" Changes: New Changes file: --- /dev/null 2016-12-08 12:47:06.134691974 +0100 +++ /work/SRC/openSUSE:Factory/.python-mpi4py.new/python-mpi4py.changes 2017-01-25 23:36:15.977835446 +0100 @@ -0,0 +1,48 @@ +--- +Tue Jan 24 15:52:06 UTC 2017 - jungh...@votca.org + +- install LICENSE.rst as suggest in request#445611 + +--- +Sun Dec 11 17:16:46 UTC 2016 - jungh...@votca.org + +- Update to version 2.0.0 + * Support for MPI-3 features. + * Support for MPI-2 features not included in previous releases. + * New scalable implementation of reduction operations for Python objects. + +--- +Thu Oct 24 17:48:30 UTC 2013 - toddrme2...@gmail.com + +- Update to version 1.3.1 + * Regenerate C wrappers with Cython 0.19.1 to support Python 3.3. + * Install ``*.pxd`` files in ``/mpi4py`` to ease the +support for Cython's ``cimport`` statement in code requiring to +access mpi4py internals. + * As a side-effect of using Cython 0.19.1, ancient Python 2.3 is no +longer supported. If you really need it, you can install an older +Cython and run ``python setup.py build_src --force``. + +--- +Tue May 22 12:15:04 UTC 2012 - toddrme2...@gmail.com + +- Update to version 1.3 +- Add Python 3 package + +--- +Sat Feb 25 23:26:20 UTC 2012 - sco...@free.fr + +- fix build for SLE-11 + +--- +Fri Jan 6 17:28:34 UTC 2012 - toddrme2...@gmail.com + +- Update to version 1.2.2 +- Clean up spec file +- Switch to .changes file + +--- +Tue May 5 00:00:00 UTC 2009 - felix.richt...@uni-rostock.de + +- Initial specfile generated by python distutils, +- adapted for SUSE Build Service New: mpi4py-2.0.0.tar.gz python-mpi4py.changes python-mpi4py.spec Other differences: -- ++ python-mpi4py.spec ++ # # spec file for package python-mpi4py # # Copyright (c) 2013-2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %define modname mpi4py Name: python-%{modname} Version:2.0.0 Release:1 License:BSD-2-Clause Summary:MPI for Python Url:https://bitbucket.org/mpi4py/mpi4py Group: Development/Libraries/Python Source0: https://bitbucket.org/%{modname}/%{modname}/downloads/%{modname}-%{version}.tar.gz BuildRequires: fdupes BuildRequires: openmpi-devel BuildRequires: python-devel Requires: openmpi BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires %description This package provides MPI support for Python scripting in parallel environments. It is constructed on top of the MPI-1/MPI-2 specification, but provides an object oriented interface which closely follows the MPI-2 C++ bindings. This module supports point-to-point (send, receive) and collective (broadcast, scatter, gather, reduction) communications of any *picklable* Python object. For objects exporting single-segment buffer interface (strings, NumPy arrays, etc.), blocking/nonbloking/persistent point-to-point, collective and one-sided (put, get, accumulate) communications are fully supported, as well as parallel I/O (blocking and nonbloking, collective and noncollective read and write operations using explicit file offsets, individual file pointers and shared file pointers). There is also full support for group and communicator (inter, intra, Cartesian and graph