Accepting request 749759 from home:TheBlackCat:branches:devel:languages:python:numeric

Update to 3.0.3

OBS-URL: https://build.opensuse.org/request/show/749759
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=12
This commit is contained in:
Tomáš Chvátal
2019-11-20 06:18:58 +00:00
committed by Git OBS Bridge
parent 7f9a36c0a4
commit 4f2bb6787f
5 changed files with 11 additions and 24 deletions

View File

@@ -1,13 +0,0 @@
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()

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8d629d1e3e3b7b89cb99d0e3bc5505e76cc42089829807950d5c56606ed48e0
size 1429331

3
mpi4py-3.0.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:012d716c8b9ed1e513fcc4b18e5af16a8791f51e6d1716baccf988ad355c5a1f
size 1429389

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Nov 19 20:50:31 UTC 2019 - Todd R <toddrme2178@gmail.com>
- Update to 3.0.3
* Regenerate Cython wrappers to support Python 3.8.
- Drop upstream-included fix_window_size.patch
-------------------------------------------------------------------
Sun Aug 4 14:16:57 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@@ -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 @@ This package supports:
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/Python
Requires: %{name} = %{version}
Requires: %{name}-common-devel = %{version}
Requires: python-devel
@@ -87,7 +83,6 @@ 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
Requires: %{mpiver}-devel
Provides: %{python_module mpi4py-common-devel = %{version}}
@@ -100,7 +95,6 @@ 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
@@ -108,7 +102,6 @@ Documentation files and demos for %{name}.
%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