Files
python-h5py/no_include_opt.patch
Dominique Leuenberger 45bde9a895 Accepting request 628931 from devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/628931
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=8
2018-08-15 08:36:16 +00:00

21 lines
542 B
Diff

From: toddrme2178@gmail.com
Date: 2017-05-11
Subject: Don't include /opt directories
Including /opt/ directories is not allowed in openSUSE.
---
--- a/setup_build.py
+++ b/setup_build.py
@@ -53,9 +53,6 @@ if sys.platform.startswith('win'):
('_HDF5USEDLL_', None),
('H5_BUILT_AS_DYNAMIC_LIB', None)
])
-else:
- 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):