Add upstream patch for python 3.6 support

This commit is contained in:
Orion Poplawski 2016-12-21 19:53:50 -07:00
parent 2d3e5ac5ff
commit 0f63f2a419
2 changed files with 24862 additions and 0 deletions

24856
625.patch Normal file

File diff suppressed because one or more lines are too long

View File

@ -15,6 +15,8 @@ Patch0: netcdf4-python-norpath.patch
# Don't link against hdf5 and z libraries
# http://code.google.com/p/netcdf4-python/issues/detail?id=139
Patch1: netcdf4-python-libs.patch
# Upstream patch for python 3.6
Patch2: https://patch-diff.githubusercontent.com/raw/Unidata/netcdf4-python/pull/625.patch
BuildRequires: python2-devel
BuildRequires: Cython
@ -92,6 +94,7 @@ containing vlens, and vlens containing compound types) are not supported.
%setup -q -n %{name}-%{version}rel
%patch0 -p1 -b .norpath
%patch1 -p1 -b .libs
%patch2 -p1 -b .py36
# This uses the network
rm test/tst_dap.py
@ -141,6 +144,9 @@ PYTHONPATH=$(echo ../build/lib.*%{python3_version}) %{__python3} run_all.py
%changelog
* Wed Dec 21 2016 Orion Poplawski <orion@cora.nwra.com> - 1.2.6-2
- Add upstream patch for python 3.6 support
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.2.6-2
- Rebuild for Python 3.6