Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
python-h5py
python-h5py.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-h5py.spec of Package python-h5py
# # spec file for package python-h5py # # 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 # 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 https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-h5py Version: 2.9.0 Release: 0 Summary: Python interface to the Hierarchical Data Format library License: BSD-3-Clause Group: Development/Libraries/Python 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 mcepl@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} 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.7 Requires: python-six %python_subpackages %description H5py provides a simple, robust read/write interface to HDF5 data from Python. Existing Python and Numpy concepts are used for the interface; for example, datasets on disk are represented by a proxy class that supports slicing, and has dtype and shape attributes. HDF5 groups are presented using a dictionary metaphor, indexed by name. %prep %setup -q -n h5py-%{version} %autopatch -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" %python_build %install %python_install %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)" } %files %{python_files} %license lzf/LICENSE.txt %doc ANN.rst README.rst lzf/README.txt examples licenses/* %{python_sitearch}/h5py/ %{python_sitearch}/h5py-%{version}-py*.egg-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor