commit python-h5py for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2020-05-11 13:44:48

Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and  /work/SRC/openSUSE:Factory/.python-h5py.new.2738 (New)


Package is "python-h5py"

Mon May 11 13:44:48 2020 rev:15 rq:802613 version:2.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2019-09-16 
10:51:16.279165481 +0200
+++ /work/SRC/openSUSE:Factory/.python-h5py.new.2738/python-h5py.changes
2020-05-11 13:45:01.693587316 +0200
@@ -1,0 +2,5 @@
+Mon May 11 07:45:48 UTC 2020 - Dirk Mueller 
+
+- ensure rebuild when hdf5 version changes (bsc#1150049)
+
+---



Other differences:
--
++ python-h5py.spec ++
--- /var/tmp/diff_new_pack.s4YbOZ/_old  2020-05-11 13:45:02.689589429 +0200
+++ /var/tmp/diff_new_pack.s4YbOZ/_new  2020-05-11 13:45:02.693589437 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-h5py
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -42,6 +42,7 @@
 Requires:   hdf5
 Requires:   python-numpy >= 1.7
 Requires:   python-six
+%requires_eqlibhdf5_hl100
 %python_subpackages
 
 %description




commit python-h5py for openSUSE:Factory

2019-09-16 Thread root
Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2019-09-16 10:51:14

Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and  /work/SRC/openSUSE:Factory/.python-h5py.new.7948 (New)


Package is "python-h5py"

Mon Sep 16 10:51:14 2019 rev:14 rq:730750 version:2.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2019-08-05 
10:36:14.647335485 +0200
+++ /work/SRC/openSUSE:Factory/.python-h5py.new.7948/python-h5py.changes
2019-09-16 10:51:16.279165481 +0200
@@ -1,0 +2,8 @@
+Fri Sep 13 13:12:21 UTC 2019 - Tomáš Chvátal 
+
+- Update to 2.10.0:
+  * no upstream changelog provided
+- Update patch remove_unittest2.patch
+- Remove upstream merged fix_failing_x86_test.patch
+
+---

Old:

  fix_failing_x86_test.patch
  h5py-2.9.0.tar.gz

New:

  h5py-2.10.0.tar.gz



Other differences:
--
++ python-h5py.spec ++
--- /var/tmp/diff_new_pack.A5CoE2/_old  2019-09-16 10:51:16.859165405 +0200
+++ /var/tmp/diff_new_pack.A5CoE2/_new  2019-09-16 10:51:16.859165405 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-h5py
-Version:2.9.0
+Version:2.10.0
 Release:0
 Summary:Python interface to the Hierarchical Data Format library
 License:BSD-3-Clause
@@ -29,12 +29,11 @@
 Patch0: no_include_opt.patch
 #PATCH-FIX-OPENSUSE remove_unittest2.patch mc...@suse.cz -- remove dependency 
unittest2
 Patch1: remove_unittest2.patch
-#PATCH-FIX-UPSTREAM fix_failing_x86_test.patch --gh#h5py/h5py#1235 
gh#h5py/h5py#1163
-Patch2: fix_failing_x86_test.patch
 BuildRequires:  %{python_module Cython >= 0.23}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel >= 1.7}
 BuildRequires:  %{python_module pkgconfig}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
@@ -65,12 +64,10 @@
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-export CFLAGS="%{optflags} -fno-strict-aliasing"
-mkdir check
-pushd check
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
-$python -B -c "from sys import exit; import h5py; exit(0) if 
h5py.run_tests().wasSuccessful() else exit(1)"
-}
+export PYTHONDONTWRITEBYTECODE=1
+# test_float_round_tripping -- overflows on 32bit
+# py3 only code must be skipped
+%pytest_arch %{buildroot}%{$python_sitearch}/h5py/tests/ -k 'not 
(test_highlevel_access or test_deprecation_available_ftypes or 
test_read_uncompressed_offsets or test_read_write_chunk or 
test_float_round_tripping)'
 
 %files %{python_files}
 %license lzf/LICENSE.txt

++ h5py-2.9.0.tar.gz -> h5py-2.10.0.tar.gz ++
 17675 lines of diff (skipped)

++ remove_unittest2.patch ++
--- /var/tmp/diff_new_pack.A5CoE2/_old  2019-09-16 10:51:16.971165391 +0200
+++ /var/tmp/diff_new_pack.A5CoE2/_new  2019-09-16 10:51:16.971165391 +0200
@@ -17,23 +17,3 @@
  
  
  # Check if non-ascii filenames are supported
-Index: h5py-2.9.0/h5py/tests/old/test_h5t.py
-===
 h5py-2.9.0.orig/h5py/tests/old/test_h5t.py
-+++ h5py-2.9.0/h5py/tests/old/test_h5t.py
-@@ -10,6 +10,7 @@
- from __future__ import absolute_import
- 
- import sys
-+import unittest
- 
- import numpy as np
- from six import PY2, text_type
-@@ -211,6 +212,7 @@ class TestTypeFloatID(TestCase):
- 
- 
- class TestDeprecation(TestCase):
-+@unittest.skipIf(PY2, "Py2 unittest doesn't support assertWarnsRegex")
- def test_deprecation_available_ftypes(self):
- warning_message = ("Do not use available_ftypes, this is not part of "
- "the public API of h5py. See "




commit python-h5py for openSUSE:Factory

2019-08-05 Thread root
Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2019-08-05 10:36:01

Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and  /work/SRC/openSUSE:Factory/.python-h5py.new.4126 (New)


Package is "python-h5py"

Mon Aug  5 10:36:01 2019 rev:13 rq:720115 version:2.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2019-03-12 
09:54:59.827519135 +0100
+++ /work/SRC/openSUSE:Factory/.python-h5py.new.4126/python-h5py.changes
2019-08-05 10:36:14.647335485 +0200
@@ -1,0 +2,8 @@
+Wed Jul 31 19:43:07 UTC 2019 - Todd R 
+
+- Add fix_failing_x86_test.patch 
+  Fixes spurious test failure on x86 platfomrs
+  See  gh#h5py/h5py#1163
+  From gh#h5py/h5py#1235
+
+---

New:

  fix_failing_x86_test.patch



Other differences:
--
++ python-h5py.spec ++
--- /var/tmp/diff_new_pack.mx1rfo/_old  2019-08-05 10:36:16.135335315 +0200
+++ /var/tmp/diff_new_pack.mx1rfo/_new  2019-08-05 10:36:16.179335311 +0200
@@ -29,6 +29,8 @@
 Patch0: no_include_opt.patch
 #PATCH-FIX-OPENSUSE remove_unittest2.patch mc...@suse.cz -- remove dependency 
unittest2
 Patch1: remove_unittest2.patch
+#PATCH-FIX-UPSTREAM fix_failing_x86_test.patch --gh#h5py/h5py#1235 
gh#h5py/h5py#1163
+Patch2: fix_failing_x86_test.patch
 BuildRequires:  %{python_module Cython >= 0.23}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel >= 1.7}

++ fix_failing_x86_test.patch ++
>From b59221621673950e93644b4c2051c41153810f41 Mon Sep 17 00:00:00 2001
From: James Tocknell 
Date: Fri, 14 Jun 2019 10:07:36 +1000
Subject: [PATCH] TST: Skip failing long double test on i386 for 2.10 release

Revert this commit post release, and fix complex float -> hdf5 code
---
 h5py/tests/hl/test_datatype.py | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/h5py/tests/hl/test_datatype.py b/h5py/tests/hl/test_datatype.py
index b5ea950b..24b87873 100644
--- a/h5py/tests/hl/test_datatype.py
+++ b/h5py/tests/hl/test_datatype.py
@@ -5,11 +5,14 @@
 from __future__ import absolute_import
 
 from itertools import count
+import platform
 import numpy as np
 import h5py
 
 from ..common import ut, TestCase
 
+x86_32_BIT_SYSTEMS = ('i386', 'i486','i586','i686',)
+
 class TestVlen(TestCase):
 
 """
@@ -216,6 +219,9 @@ def test_out_of_order_offsets(self):
 with h5py.File(fname, 'r') as fd:
 self.assertArrayEqual(fd['data'], data)
 
+@ut.skipIf(
+platform.machine() in x86_32_BIT_SYSTEMS,
+'Test fails on i386, need to sort out long double FIX THIS')
 def test_float_round_tripping(self):
 dtypes = set(f for f in np.typeDict.values()
  if (np.issubdtype(f, np.floating) or



commit python-h5py for openSUSE:Factory

2019-03-12 Thread root
Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2019-03-12 09:54:57

Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and  /work/SRC/openSUSE:Factory/.python-h5py.new.28833 (New)


Package is "python-h5py"

Tue Mar 12 09:54:57 2019 rev:12 rq:683882 version:2.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2018-12-04 
20:57:51.884617716 +0100
+++ /work/SRC/openSUSE:Factory/.python-h5py.new.28833/python-h5py.changes   
2019-03-12 09:54:59.827519135 +0100
@@ -1,0 +2,9 @@
+Mon Mar 11 12:38:35 UTC 2019 - Tomáš Chvátal 
+
+- Yodate to 2.9.0:
+  Changes from 2.8.0 are too numerous to list here, complete changelog 
+  is available online at https://github.com/h5py/h5py/releases
+- Drop merged patch adjust_mapping_hdf5_error_codes.patch
+- Refresh remove_unittest2.patch
+
+---

Old:

  adjust_mapping_hdf5_error_codes.patch
  h5py-2.8.0.tar.gz

New:

  h5py-2.9.0.tar.gz



Other differences:
--
++ python-h5py.spec ++
--- /var/tmp/diff_new_pack.DfH0Sk/_old  2019-03-12 09:55:00.275519045 +0100
+++ /var/tmp/diff_new_pack.DfH0Sk/_new  2019-03-12 09:55:00.275519045 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-h5py
 #
-# 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-h5py
-Version:2.8.0
+Version:2.9.0
 Release:0
 Summary:Python interface to the Hierarchical Data Format library
 License:BSD-3-Clause
@@ -29,9 +29,6 @@
 Patch0: no_include_opt.patch
 #PATCH-FIX-OPENSUSE remove_unittest2.patch mc...@suse.cz -- remove dependency 
unittest2
 Patch1: remove_unittest2.patch
-#PATCH-FIX-UPSTREAM valuerror-typerror-failing-tests.patch mc...@suse.cz
-# https://github.com/h5py/h5py/issues/1088
-Patch2: adjust_mapping_hdf5_error_codes.patch
 BuildRequires:  %{python_module Cython >= 0.23}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel >= 1.7}

++ h5py-2.8.0.tar.gz -> h5py-2.9.0.tar.gz ++
 9543 lines of diff (skipped)

++ remove_unittest2.patch ++
--- /var/tmp/diff_new_pack.DfH0Sk/_old  2019-03-12 09:55:00.443519012 +0100
+++ /var/tmp/diff_new_pack.DfH0Sk/_new  2019-03-12 09:55:00.443519012 +0100
@@ -1,5 +1,7 @@
 a/h5py/tests/common.py
-+++ b/h5py/tests/common.py
+Index: h5py-2.9.0/h5py/tests/common.py
+===
+--- h5py-2.9.0.orig/h5py/tests/common.py
 h5py-2.9.0/h5py/tests/common.py
 @@ -20,13 +20,7 @@ from six import unichr
  import numpy as np
  import h5py
@@ -15,19 +17,10 @@
  
  
  # Check if non-ascii filenames are supported
 a/tox.ini
-+++ b/tox.ini
-@@ -6,7 +6,7 @@ envlist = {py26,py27,py33,py34,py35,py36
- 
- [testenv]
- deps =
--py{26,27}-test: unittest2
-+py26-test: unittest2
- deps: cython>=0.23
- py{27,34,35,36}-deps: numpy>=1.7
- py26-deps: numpy>=1.7,<1.11
 a/h5py/tests/old/test_h5t.py
-+++ b/h5py/tests/old/test_h5t.py
+Index: h5py-2.9.0/h5py/tests/old/test_h5t.py
+===
+--- h5py-2.9.0.orig/h5py/tests/old/test_h5t.py
 h5py-2.9.0/h5py/tests/old/test_h5t.py
 @@ -10,6 +10,7 @@
  from __future__ import absolute_import
  




commit python-h5py for openSUSE:Factory

2018-12-04 Thread root
Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2018-12-04 20:57:45

Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and  /work/SRC/openSUSE:Factory/.python-h5py.new.19453 (New)


Package is "python-h5py"

Tue Dec  4 20:57:45 2018 rev:11 rq:653737 version:2.8.0

Changes:

--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2018-10-15 
09:43:08.915390256 +0200
+++ /work/SRC/openSUSE:Factory/.python-h5py.new.19453/python-h5py.changes   
2018-12-04 20:57:51.884617716 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 02:51:00 UTC 2018 - Todd R 
+
+- Use more reliable test invocation
+
+---



Other differences:
--
++ python-h5py.spec ++
--- /var/tmp/diff_new_pack.M1WaoV/_old  2018-12-04 20:57:52.316617239 +0100
+++ /var/tmp/diff_new_pack.M1WaoV/_new  2018-12-04 20:57:52.316617239 +0100
@@ -17,7 +17,6 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without  test
 Name:   python-h5py
 Version:2.8.0
 Release:0
@@ -66,17 +65,13 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
-%if %{with test}
 %check
-export CFLAGS="%{optflags}"
-%python_exec setup.py test
-%endif
-
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+mkdir check
+pushd check
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
+$python -B -c "from sys import exit; import h5py; exit(0) if 
h5py.run_tests().wasSuccessful() else exit(1)"
+}
 
 %files %{python_files}
 %license lzf/LICENSE.txt




commit python-h5py for openSUSE:Factory

2018-10-15 Thread root
Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2018-10-15 09:42:43

Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and  /work/SRC/openSUSE:Factory/.python-h5py.new (New)


Package is "python-h5py"

Mon Oct 15 09:42:43 2018 rev:10 rq:641724 version:2.8.0

Changes:

--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2018-10-12 
13:11:44.635210258 +0200
+++ /work/SRC/openSUSE:Factory/.python-h5py.new/python-h5py.changes 
2018-10-15 09:43:08.915390256 +0200
@@ -1,0 +2,7 @@
+Fri Oct 12 15:00:53 UTC 2018 - Matej Cepl 
+
+- Remove valuerror-typerror-failing-tests.patch and replace it with
+  proper patch (https://github.com/tacaswell/h5py/commit/6653c65e8c8d0.patch)
+  in adjust_mapping_hdf5_error_codes.patch.
+
+---

Old:

  valuerror-typerror-failing-tests.patch

New:

  adjust_mapping_hdf5_error_codes.patch



Other differences:
--
++ python-h5py.spec ++
--- /var/tmp/diff_new_pack.bIA5Y3/_old  2018-10-15 09:43:10.875388464 +0200
+++ /var/tmp/diff_new_pack.bIA5Y3/_new  2018-10-15 09:43:10.875388464 +0200
@@ -32,7 +32,7 @@
 Patch1: remove_unittest2.patch
 #PATCH-FIX-UPSTREAM valuerror-typerror-failing-tests.patch mc...@suse.cz
 # https://github.com/h5py/h5py/issues/1088
-Patch2: valuerror-typerror-failing-tests.patch
+Patch2: adjust_mapping_hdf5_error_codes.patch
 BuildRequires:  %{python_module Cython >= 0.23}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel >= 1.7}

++ adjust_mapping_hdf5_error_codes.patch ++
>From 6653c65e8c8d024bbcf50315a1c5201487632322 Mon Sep 17 00:00:00 2001
From: Thomas A Caswell 
Date: Thu, 11 Oct 2018 23:39:29 -0400
Subject: [PATCH] FIX: adjust mapping of hdf5 error codes -> python error codes

This is to account for changes to hdf5 between 1.10.2 and 1.10.3.

Closes #1088
---
 h5py/_errors.pyx | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/h5py/_errors.pyx b/h5py/_errors.pyx
index 76801f4f..23849f49 100644
--- a/h5py/_errors.pyx
+++ b/h5py/_errors.pyx
@@ -73,6 +73,13 @@ _exact_table = {
 (H5E_SYM, H5E_CANTINIT):ValueError, # Object already exists/1.8
 (H5E_ARGS, H5E_BADTYPE):ValueError, # Invalid location in file
 (H5E_REFERENCE, H5E_CANTINIT):  ValueError, # Dereferencing invalid ref
+
+# needed for 1.10.3 to maintain compatibility with 1.10.{0,1,2}
+
+# due to changes to H5Gdeprec.c:H5Gget_num_objs
+(H5E_SYM, H5E_BADTYPE): ValueError, # Invalid location in file
+# due to changes to H5F.c:H5Fstart_swmr_write
+(H5E_FILE, H5E_CANTCONVERT):ValueError, # Invalid file format
   }
 
 cdef struct err_data_t:



commit python-h5py for openSUSE:Factory

2018-10-12 Thread root
Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2018-10-12 13:11:44

Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and  /work/SRC/openSUSE:Factory/.python-h5py.new (New)


Package is "python-h5py"

Fri Oct 12 13:11:44 2018 rev:9 rq:641325 version:2.8.0

Changes:

--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2018-08-15 
10:36:23.884073292 +0200
+++ /work/SRC/openSUSE:Factory/.python-h5py.new/python-h5py.changes 
2018-10-12 13:11:44.635210258 +0200
@@ -1,0 +2,10 @@
+Thu Oct 11 16:34:58 UTC 2018 - Todd R 
+
+- Fix ldconfig syntax errors.
+
+---
+Wed Oct 10 14:05:08 UTC 2018 - Matěj Cepl 
+
+- Add valuerror-typerror-failing-tests.patch to make two tests pass.
+
+---

New:

  valuerror-typerror-failing-tests.patch



Other differences:
--
++ python-h5py.spec ++
--- /var/tmp/diff_new_pack.YKIbls/_old  2018-10-12 13:11:45.203209452 +0200
+++ /var/tmp/diff_new_pack.YKIbls/_new  2018-10-12 13:11:45.203209452 +0200
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -24,12 +24,15 @@
 Summary:Python interface to the Hierarchical Data Format library
 License:BSD-3-Clause
 Group:  Development/Libraries/Python
-Url:https://github.com/h5py/h5py
+URL:https://github.com/h5py/h5py
 Source: 
https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version}.tar.gz
 #PATCH-FIX-OPENSUSE no_include_opt.patch -- Don't include /opt/ directory.
 Patch0: no_include_opt.patch
 #PATCH-FIX-OPENSUSE remove_unittest2.patch mc...@suse.cz -- remove dependency 
unittest2
 Patch1: remove_unittest2.patch
+#PATCH-FIX-UPSTREAM valuerror-typerror-failing-tests.patch mc...@suse.cz
+# https://github.com/h5py/h5py/issues/1088
+Patch2: valuerror-typerror-failing-tests.patch
 BuildRequires:  %{python_module Cython >= 0.23}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel >= 1.7}
@@ -42,7 +45,6 @@
 Requires:   hdf5
 Requires:   python-numpy >= 1.7
 Requires:   python-six
-
 %python_subpackages
 
 %description
@@ -54,8 +56,7 @@
 
 %prep
 %setup -q -n h5py-%{version}
-%patch0 -p1
-%patch1 -p1
+%autopatch -p1
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
@@ -78,8 +79,8 @@
 /sbin/ldconfig
 
 %files %{python_files}
-%defattr(-,root,root)
-%doc ANN.rst README.rst lzf/LICENSE.txt lzf/README.txt examples licenses/*
+%license lzf/LICENSE.txt
+%doc ANN.rst README.rst lzf/README.txt examples licenses/*
 %{python_sitearch}/h5py/
 %{python_sitearch}/h5py-%{version}-py*.egg-info
 

++ valuerror-typerror-failing-tests.patch ++
--- a/h5py/tests/hl/test_dataset_swmr.py
+++ b/h5py/tests/hl/test_dataset_swmr.py
@@ -71,7 +71,7 @@ class TestDatasetSwmrRead(TestCase):
 def test_force_swmr_mode_on_raises(self):
 """ Verify when reading a file cannot be forcibly switched to swmr 
mode.
 When reading with SWMR the file must be opened with swmr=True."""
-with self.assertRaises(ValueError):
+with self.assertRaises((ValueError, TypeError)):
 self.f.swmr_mode = True
 self.assertTrue(self.f.swmr_mode)
 
--- a/h5py/tests/old/test_group.py
+++ b/h5py/tests/old/test_group.py
@@ -298,7 +298,7 @@ class TestLen(BaseMapping):
 def test_exc(self):
 """ len() on closed group gives ValueError """
 self.f.close()
-with self.assertRaises(ValueError):
+with self.assertRaises((ValueError, TypeError)):
 len(self.f)
 
 class TestContains(BaseGroup):



commit python-h5py for openSUSE:Factory

2018-08-15 Thread root
Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2018-08-15 10:36:16

Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and  /work/SRC/openSUSE:Factory/.python-h5py.new (New)


Package is "python-h5py"

Wed Aug 15 10:36:16 2018 rev:8 rq:628931 version:2.8.0

Changes:

--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2018-02-27 
16:59:49.379998600 +0100
+++ /work/SRC/openSUSE:Factory/.python-h5py.new/python-h5py.changes 
2018-08-15 10:36:23.884073292 +0200
@@ -1,0 +2,10 @@
+Mon Aug 13 08:55:13 UTC 2018 - mc...@suse.com
+
+- Updated to 2.8.0
+  Changes from 2.7.1 are too numerous to list here, complete changelog
+  is available online at https://github.com/h5py/h5py/releases
+  Patch dont_reorder_compund.patch has been included upstream
+- Remove dependency on unittest2
+  Patch remove_unittest2.patch facilitates the change
+
+---

Old:

  dont_reorder_compund.patch
  h5py-2.7.1.tar.gz

New:

  h5py-2.8.0.tar.gz
  remove_unittest2.patch



Other differences:
--
++ python-h5py.spec ++
--- /var/tmp/diff_new_pack.ZJ1L7i/_old  2018-08-15 10:36:24.636074662 +0200
+++ /var/tmp/diff_new_pack.ZJ1L7i/_new  2018-08-15 10:36:24.636074662 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without  test
 Name:   python-h5py
-Version:2.7.1
+Version:2.8.0
 Release:0
 Summary:Python interface to the Hierarchical Data Format library
 License:BSD-3-Clause
@@ -28,8 +28,8 @@
 Source: 
https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version}.tar.gz
 #PATCH-FIX-OPENSUSE no_include_opt.patch -- Don't include /opt/ directory.
 Patch0: no_include_opt.patch
-#PATCH-FIX-UPSTREAM dont_reorder_compund.patch -- Don't reorder compound 
types, breaks on numpy 1.14. https://github.com/h5py/h5py/issues/969, 
https://github.com/h5py/h5py/pull/970
-Patch1: dont_reorder_compund.patch
+#PATCH-FIX-OPENSUSE remove_unittest2.patch mc...@suse.cz -- remove dependency 
unittest2
+Patch1: remove_unittest2.patch
 BuildRequires:  %{python_module Cython >= 0.23}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel >= 1.7}
@@ -39,9 +39,6 @@
 BuildRequires:  fdupes
 BuildRequires:  hdf5-devel
 BuildRequires:  python-rpm-macros
-%if %{with test}
-BuildRequires:  python-unittest2
-%endif
 Requires:   hdf5
 Requires:   python-numpy >= 1.7
 Requires:   python-six
@@ -61,7 +58,7 @@
 %patch1 -p1
 
 %build
-export CFLAGS="%{optflags}"
+export CFLAGS="%{optflags} -fno-strict-aliasing"
 %python_build
 
 %install

++ h5py-2.7.1.tar.gz -> h5py-2.8.0.tar.gz ++
 2461 lines of diff (skipped)

++ no_include_opt.patch ++
--- /var/tmp/diff_new_pack.ZJ1L7i/_old  2018-08-15 10:36:24.740074851 +0200
+++ /var/tmp/diff_new_pack.ZJ1L7i/_new  2018-08-15 10:36:24.744074859 +0200
@@ -6,15 +6,15 @@
 
 ---
 
-diff -U 3 -H -d -r -N -- a/setup_build.py b/setup_build.py
 --- a/setup_build.py
 +++ b/setup_build.py
-@@ -49,8 +49,5 @@
+@@ -53,9 +53,6 @@ if sys.platform.startswith('win'):
+ ('_HDF5USEDLL_', None),
  ('H5_BUILT_AS_DYNAMIC_LIB', None)
  ])
 -else:
--COMPILER_SETTINGS['include_dirs'].extend(['/opt/local/include', 
'/usr/local/include'])
--COMPILER_SETTINGS['library_dirs'].extend(['/opt/local/include', 
'/usr/local/include'])
+-FALLBACK_PATHS['include_dirs'].extend(['/opt/local/include', 
'/usr/local/include'])
+-FALLBACK_PATHS['library_dirs'].extend(['/opt/local/lib', 
'/usr/local/lib'])
  
  
  class h5py_build_ext(build_ext):

++ remove_unittest2.patch ++
--- a/h5py/tests/common.py
+++ b/h5py/tests/common.py
@@ -20,13 +20,7 @@ from six import unichr
 import numpy as np
 import h5py
 
-if sys.version_info[0] == 2:
-try:
-import unittest2 as ut
-except ImportError:
-raise ImportError( "unittest2 is required to run tests with Python 2")
-else:
-import unittest as ut
+import unittest as ut
 
 
 # Check if non-ascii filenames are supported
--- a/tox.ini
+++ b/tox.ini
@@ -6,7 +6,7 @@ envlist = {py26,py27,py33,py34,py35,py36
 
 [testenv]
 deps =
-py{26,27}-test: unittest2
+py26-test: unittest2
 deps: cython>=0.23
 py{27,34,35,36}-deps: numpy>=1.7
 py26-deps: numpy>=1.7,<1.11
--- a/h5py/tests/old/test_h5t.py
+++ b/h5py/tests/old/test_h5t.py
@@ -10,6 +10,7 @@
 from __future__ import absolute_import
 
 import sys
+import unittest
 
 import numpy as np
 from six import PY2, text_type
@@ -211,6 +212,7 @@ class TestTypeFloatID(TestCase):
 
 
 class TestDeprecation(TestCase):
+

commit python-h5py for openSUSE:Factory

2018-02-27 Thread root
Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2018-02-27 16:59:25

Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and  /work/SRC/openSUSE:Factory/.python-h5py.new (New)


Package is "python-h5py"

Tue Feb 27 16:59:25 2018 rev:7 rq:580312 version:2.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2017-11-14 
13:06:59.793504735 +0100
+++ /work/SRC/openSUSE:Factory/.python-h5py.new/python-h5py.changes 
2018-02-27 16:59:49.379998600 +0100
@@ -1,0 +2,8 @@
+Thu Jan 25 22:04:22 UTC 2018 - toddrme2...@gmail.com
+
+- Add dont_reorder_compund.patch
+  Fixes builds with numpy 1.14. See:
+  https://github.com/h5py/h5py/issues/969
+  https://github.com/h5py/h5py/pull/970
+
+---

New:

  dont_reorder_compund.patch



Other differences:
--
++ python-h5py.spec ++
--- /var/tmp/diff_new_pack.zAJMZx/_old  2018-02-27 16:59:50.335964060 +0100
+++ /var/tmp/diff_new_pack.zAJMZx/_new  2018-02-27 16:59:50.339963915 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-h5py
 #
-# 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
@@ -17,29 +17,35 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without  test
 Name:   python-h5py
 Version:2.7.1
 Release:0
 Summary:Python interface to the Hierarchical Data Format library
 License:BSD-3-Clause
 Group:  Development/Libraries/Python
-Url:http://www.h5py.org/
+Url:https://github.com/h5py/h5py
 Source: 
https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version}.tar.gz
 #PATCH-FIX-OPENSUSE no_include_opt.patch -- Don't include /opt/ directory.
 Patch0: no_include_opt.patch
-BuildRequires:  %{python_module Cython}
+#PATCH-FIX-UPSTREAM dont_reorder_compund.patch -- Don't reorder compound 
types, breaks on numpy 1.14. https://github.com/h5py/h5py/issues/969, 
https://github.com/h5py/h5py/pull/970
+Patch1: dont_reorder_compund.patch
+BuildRequires:  %{python_module Cython >= 0.23}
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module numpy-devel >= 1.6.1}
+BuildRequires:  %{python_module numpy-devel >= 1.7}
 BuildRequires:  %{python_module pkgconfig}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  hdf5-devel
 BuildRequires:  python-rpm-macros
+%if %{with test}
+BuildRequires:  python-unittest2
+%endif
 Requires:   hdf5
-Requires:   python-numpy >= 1.6.1
+Requires:   python-numpy >= 1.7
 Requires:   python-six
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+
 %python_subpackages
 
 %description
@@ -52,6 +58,7 @@
 %prep
 %setup -q -n h5py-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 export CFLAGS="%{optflags}"
@@ -61,9 +68,11 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
+%if %{with test}
 %check
 export CFLAGS="%{optflags}"
 %python_exec setup.py test
+%endif
 
 %post
 /sbin/ldconfig

++ dont_reorder_compund.patch ++
>From 5009e062a6f7d4e074cab0fcb42a780ac2b1d7d4 Mon Sep 17 00:00:00 2001
From: James Tocknell 
Date: Thu, 28 Dec 2017 20:55:55 +1100
Subject: [PATCH] FIX: Don't reorder compound types, breaks on numpy 1.14

---
 h5py/h5t.pyx | 25 +++--
 setup.py |  2 +-
 tox.ini  |  4 ++--
 3 files changed, 10 insertions(+), 21 deletions(-)

diff --git a/h5py/h5t.pyx b/h5py/h5t.pyx
index cc2344e1..7445e9eb 100644
--- a/h5py/h5t.pyx
+++ b/h5py/h5t.pyx
@@ -1136,12 +1136,6 @@ cdef class TypeCompoundID(TypeCompositeID):
 else:
 if sys.version[0] == '3':
 field_names = [x.decode('utf8') for x in field_names]
-if len(field_names) > 0:
-collated_fields = zip(field_names, field_types, field_offsets)
-ordered_fields = sorted(
-collated_fields, key=operator.itemgetter(2))
-field_names, field_types, field_offsets = \
-map(list, zip(*ordered_fields))
 typeobj = dtype({
 'names': field_names,
 'formats': field_types,
@@ -1458,8 +1452,7 @@ cdef TypeCompoundID _c_compound(dtype dt, int logical, 
int aligned):
 cdef dtype member_dt
 cdef size_t member_offset = 0
 
-cdef dict offsets = {}
-cdef list fields = []
+cdef dict fields = {}
 

commit python-h5py for openSUSE:Factory

2017-11-14 Thread root
Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2017-11-14 13:06:57

Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and  /work/SRC/openSUSE:Factory/.python-h5py.new (New)


Package is "python-h5py"

Tue Nov 14 13:06:57 2017 rev:6 rq:541760 version:2.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2017-05-16 
14:45:53.980852921 +0200
+++ /work/SRC/openSUSE:Factory/.python-h5py.new/python-h5py.changes 
2017-11-14 13:06:59.793504735 +0100
@@ -1,0 +2,24 @@
+Sun Nov 12 17:01:49 UTC 2017 - a...@gmx.de
+
+- update patch
+
+- update to version 2.7.1:
+  * Bug fixes
++ :issue:`903` Fixed critical issue with cyclic gc which resulted
+  in segfaults
++ :issue:`904` Avoid unaligned access fixing h5py on sparc64
++ :issue:`883` Fixed compilation issues for some library locations
++ :issue:`868` Fix deadlock between phil and the import lock in
+  py2
++ :issue:`841` Improve windows handling if filenames
++ :issue:`874` Allow close to be called on file multiple times
++ :issue:`867`, :issue:`872` Warn on loaded vs complied hdf5
+  version issues
++ :issue:`902` Fix overflow computing size of dataset on windows
++ :issue:`912` Do not mangle capitalization of filenames in error
+  messages
++ :issue:`842` Fix longdouble on ppc64le
++ :issue:`862`, :issue:`916` Fix compounds structs with
+  variable-size members
+
+---

Old:

  h5py-2.7.0.tar.gz

New:

  h5py-2.7.1.tar.gz



Other differences:
--
++ python-h5py.spec ++
--- /var/tmp/diff_new_pack.AlxgHJ/_old  2017-11-14 13:07:00.481479579 +0100
+++ /var/tmp/diff_new_pack.AlxgHJ/_new  2017-11-14 13:07:00.481479579 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-h5py
 #
-# Copyright (c) 2017 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
@@ -18,8 +18,8 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-h5py
-Version:2.7.0
-Release:1
+Version:2.7.1
+Release:0
 Summary:Python interface to the Hierarchical Data Format library
 License:BSD-3-Clause
 Group:  Development/Libraries/Python
@@ -27,15 +27,15 @@
 Source: 
https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version}.tar.gz
 #PATCH-FIX-OPENSUSE no_include_opt.patch -- Don't include /opt/ directory.
 Patch0: no_include_opt.patch
-BuildRequires:  hdf5-devel
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module Cython}
+BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel >= 1.6.1}
 BuildRequires:  %{python_module pkgconfig}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
+BuildRequires:  fdupes
+BuildRequires:  hdf5-devel
+BuildRequires:  python-rpm-macros
 Requires:   hdf5
 Requires:   python-numpy >= 1.6.1
 Requires:   python-six

++ h5py-2.7.0.tar.gz -> h5py-2.7.1.tar.gz ++
 3342 lines of diff (skipped)

++ no_include_opt.patch ++
--- /var/tmp/diff_new_pack.AlxgHJ/_old  2017-11-14 13:07:00.637473875 +0100
+++ /var/tmp/diff_new_pack.AlxgHJ/_new  2017-11-14 13:07:00.641473729 +0100
@@ -13,8 +13,8 @@
  ('H5_BUILT_AS_DYNAMIC_LIB', None)
  ])
 -else:
--
COMPILER_SETTINGS['include_dirs'].extend(['/opt/local/include''/usr/local/include'])
--
COMPILER_SETTINGS['library_dirs'].extend(['/opt/local/include''/usr/local/include'])
+-COMPILER_SETTINGS['include_dirs'].extend(['/opt/local/include', 
'/usr/local/include'])
+-COMPILER_SETTINGS['library_dirs'].extend(['/opt/local/include', 
'/usr/local/include'])
  
  
  class h5py_build_ext(build_ext):




commit python-h5py for openSUSE:Factory

2017-05-16 Thread root
Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2017-05-16 14:44:31

Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and  /work/SRC/openSUSE:Factory/.python-h5py.new (New)


Package is "python-h5py"

Tue May 16 14:44:31 2017 rev:5 rq:494710 version:2.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2015-08-01 
11:37:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-h5py.new/python-h5py.changes 
2017-05-16 14:45:53.980852921 +0200
@@ -1,0 +2,23 @@
+Thu May 11 18:04:04 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version
+- Fix source URL
+- Update to version 0.2.7
+  * Python 3.2 is no longer supported
+  * Improved testing support
+  * Improved python compatibility
+  * Documentation improvements
+  * setup.py improvements
+  * Support for additional HDF5 features added
+  * Improvements to type system
+- Update to version 0.2.6
+  * Support for HDF5 Virtual Dataset API
+  * Add MPI Collective I/O Support
+  * Numerous build/testing/CI improvements
+  * Cleanup of codebase based on pylint
+  * Fixes to low-level API
+  * Documentation improvements
+- Add no_include_opt.patch to avoid including forbidden
+  directories.
+
+---

Old:

  h5py-2.5.0.tar.gz

New:

  h5py-2.7.0.tar.gz
  no_include_opt.patch



Other differences:
--
++ python-h5py.spec ++
--- /var/tmp/diff_new_pack.Niv81b/_old  2017-05-16 14:45:54.624762445 +0200
+++ /var/tmp/diff_new_pack.Niv81b/_new  2017-05-16 14:45:54.628761882 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-h5py
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,25 +16,31 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-h5py
-Version:2.5.0
+Version:2.7.0
 Release:1
 Summary:Python interface to the Hierarchical Data Format library
 License:BSD-3-Clause
 Group:  Development/Libraries/Python
 Url:http://www.h5py.org/
-Source: 
https://pypi.python.org/packages/source/h/h5py/h5py-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version}.tar.gz
+#PATCH-FIX-OPENSUSE no_include_opt.patch -- Don't include /opt/ directory.
+Patch0: no_include_opt.patch
 BuildRequires:  hdf5-devel
-BuildRequires:  python-devel
-BuildRequires:  python-Cython
-BuildRequires:  python-numpy-devel >= 1.6.1
-BuildRequires:  python-pkgconfig
-BuildRequires:  python-six
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module Cython}
+BuildRequires:  %{python_module numpy-devel >= 1.6.1}
+BuildRequires:  %{python_module pkgconfig}
+BuildRequires:  %{python_module six}
 Requires:   hdf5
-Requires:   python-Cython
 Requires:   python-numpy >= 1.6.1
 Requires:   python-six
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%python_subpackages
 
 %description
 H5py provides a simple, robust read/write interface to HDF5 data from Python.
@@ -45,17 +51,27 @@
 
 %prep
 %setup -q -n h5py-%{version}
+%patch0 -p1
 
 %build
-python setup.py build
+export CFLAGS="%{optflags}"
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%check
+export CFLAGS="%{optflags}"
+%python_exec setup.py test
 
-%files
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%files %{python_files}
 %defattr(-,root,root)
 %doc ANN.rst README.rst lzf/LICENSE.txt lzf/README.txt examples licenses/*
 %{python_sitearch}/h5py/

++ h5py-2.5.0.tar.gz -> h5py-2.7.0.tar.gz ++
 21315 lines of diff (skipped)

++ no_include_opt.patch ++
From: toddrme2...@gmail.com
Date: 2017-05-11
Subject: Don't include /opt directories

Including /opt/ directories is not allowed in openSUSE.

---

diff -U 3 -H -d -r -N -- a/setup_build.py b/setup_build.py
--- a/setup_build.py
+++ b/setup_build.py
@@ -49,8 +49,5 @@
 ('H5_BUILT_AS_DYNAMIC_LIB', None)
 ])
-else:
-
COMPILER_SETTINGS['include_dirs'].extend(['/opt/local/include''/usr/local/include'])
-
COMPILER_SETTINGS['library_dirs'].extend(['/opt/local/include''/usr/local/include'])
 
 
 class 

commit python-h5py for openSUSE:Factory

2015-08-01 Thread h_root
Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2015-08-01 11:37:30

Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and  /work/SRC/openSUSE:Factory/.python-h5py.new (New)


Package is python-h5py

Changes:

--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2015-04-12 
00:10:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-h5py.new/python-h5py.changes 
2015-08-01 11:37:35.0 +0200
@@ -1,0 +2,5 @@
+Tue Jul 28 10:34:21 UTC 2015 - toddrme2...@gmail.com
+
+- Fix hdf5 version ambiguity
+
+---



Other differences:
--
++ python-h5py.spec ++
--- /var/tmp/diff_new_pack.RL4usv/_old  2015-08-01 11:37:35.0 +0200
+++ /var/tmp/diff_new_pack.RL4usv/_new  2015-08-01 11:37:35.0 +0200
@@ -30,6 +30,7 @@
 BuildRequires:  python-numpy-devel = 1.6.1
 BuildRequires:  python-pkgconfig
 BuildRequires:  python-six
+Requires:   hdf5
 Requires:   python-Cython
 Requires:   python-numpy = 1.6.1
 Requires:   python-six




commit python-h5py for openSUSE:Factory

2015-04-11 Thread h_root
Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2015-04-12 00:10:49

Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and  /work/SRC/openSUSE:Factory/.python-h5py.new (New)


Package is python-h5py

Changes:

--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2014-07-18 
06:41:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-h5py.new/python-h5py.changes 
2015-04-12 00:10:55.0 +0200
@@ -1,0 +2,34 @@
+Fri Apr 10 14:15:27 UTC 2015 - toddrme2...@gmail.com
+
+- specfile:
+  * changed from 2to3 to six
+  * added build requirement for python3-pkgconfig
+  * added Cython requirement for install
+  * update copyright year
+- update to version 2.5.0:
+  * Experimental SWMR support
+  * Group and AttributeManager classes now inherit from the appropriate ABCs
+  * Fixed an issue with 64-bit float VLENS
+  * Cython warning cleanups related to const
+  * Entire code base ported to six; 2to3 removed from setup.py
+- update to version 2.4.0:
+  * This release incorporates a total re-write of the identifier
+management system in h5py. As part of this refactoring, the entire
+API is also now protected by threading locks.
+  * Files are now automatically closed when all objects within them
+are unreachable. Previously, if File.close() was not explicitly
+closed, files would remain open and leaks were possible if the
+File object was lost.
+  * The entire API is now believed to be thread-safe (feedback
+welcome!).
+  * External links now work if the target file is already
+open. Previously this was not possible because of a mismatch in
+the file close strengths.
+  * The options to setup.py have changed; a new top-level configure
+command handles options like --hdf5=/path/to/hdf5 and
+--mpi. Setup.py now works correctly under Python 3 when these
+options are used.
+  * Cython (0.17+) is now required when building from source.
+  * The minimum NumPy version is now 1.6.1.
+
+---

Old:

  h5py-2.3.1.tar.gz

New:

  h5py-2.5.0.tar.gz



Other differences:
--
++ python-h5py.spec ++
--- /var/tmp/diff_new_pack.iER1cI/_old  2015-04-12 00:10:57.0 +0200
+++ /var/tmp/diff_new_pack.iER1cI/_new  2015-04-12 00:10:57.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-h5py
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -15,17 +15,24 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   python-h5py
-Version:2.3.1
+Version:2.5.0
 Release:1
-License:BSD-3-Clause
 Summary:Python interface to the Hierarchical Data Format library
-Url:http://www.h5py.org/
+License:BSD-3-Clause
 Group:  Development/Libraries/Python
+Url:http://www.h5py.org/
 Source: 
https://pypi.python.org/packages/source/h/h5py/h5py-%{version}.tar.gz
 BuildRequires:  hdf5-devel
 BuildRequires:  python-devel
-BuildRequires:  python-numpy-devel
+BuildRequires:  python-Cython
+BuildRequires:  python-numpy-devel = 1.6.1
+BuildRequires:  python-pkgconfig
+BuildRequires:  python-six
+Requires:   python-Cython
+Requires:   python-numpy = 1.6.1
+Requires:   python-six
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -44,9 +51,12 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(-,root,root)
-%doc ANN.rst README.rst lzf/LICENSE.txt lzf/README.txt examples
+%doc ANN.rst README.rst lzf/LICENSE.txt lzf/README.txt examples licenses/*
 %{python_sitearch}/h5py/
 %{python_sitearch}/h5py-%{version}-py*.egg-info
 

++ h5py-2.3.1.tar.gz - h5py-2.5.0.tar.gz ++
 274854 lines of diff (skipped)