Compare commits

...

41 Commits
f27 ... rawhide

Author SHA1 Message Date
Orion Poplawski 1fe1d2021a Update to 1.6.1 2022-09-23 07:46:53 -06:00
Fedora Release Engineering eb797687a5 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 00:25:23 +00:00
Orion Poplawski 35c7c02054 Update to 1.6.0 2022-06-26 17:51:39 -06:00
Charalampos Stratakis 51e08da4dd Fix FTBFS with the latest setuptools
Resolves: rhbz#2097125
2022-06-21 01:45:18 +02:00
Python Maint 62adccb2a9 Rebuilt for Python 3.11 2022-06-13 19:25:22 +02:00
Troy Dawson 3f6a5436d6 Remove package.cfg; Part of epel8-playground decommission 2022-01-28 09:00:40 -08:00
Orion Poplawski 2eb4375c6b Update to 1.5.8 2022-01-19 22:27:05 -07:00
Orion Poplawski 48a0d84136 Rebuild for hdf5 1.12.1 2021-11-20 21:43:16 -07:00
Orion Poplawski 20612440ee Update to 1.5.7 2021-08-29 22:19:37 -06:00
Orion Poplawski 2de96a13f4 Rebuild for netcdf 4.8.0 2021-08-09 20:27:04 -06:00
Fedora Release Engineering b31b2fb917 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 16:00:00 +00:00
Python Maint e01baa3a22 Rebuilt for Python 3.10 2021-06-04 20:12:38 +02:00
Orion Poplawski 470bfd4652 Update to 1.5.6 2021-02-13 22:03:20 -07:00
Fedora Release Engineering 190f00179a - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 21:23:39 +00:00
Orion Poplawski 9d41214e31 Update to 1.5.5.1 2021-01-24 13:23:17 -07:00
Orion Poplawski 132e7c4d9b Update to 1.5.4 2020-09-17 20:45:45 -06:00
Fedora Release Engineering ffd186f254 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 09:01:35 +00:00
Miro Hrončok 62dca30dce Rebuilt for Python 3.9 2020-05-26 02:53:57 +02:00
Fedora Release Engineering f3671dccf9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 14:49:02 +00:00
Orion Poplawski 89e0cd510d Fix patches 2019-10-24 17:26:22 -06:00
Orion Poplawski d2deb3d153 Update to 1.5.3 2019-10-24 17:12:43 -06:00
Miro Hrončok 9df8def6f6 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 13:57:10 +02:00
Orion Poplawski 4b8062a92b Fix conditionals for EPEL8 2019-09-11 20:38:23 -06:00
Orion Poplawski 113157cf8f Merge branch 'master' into epel8 2019-09-11 20:09:05 -06:00
Igor Gnatenko 4a1ea95449 "Adding package.cfg file" 2019-09-11 08:53:43 +02:00
Orion Poplawski bbad65a4b5 Update to 1.5.2 2019-09-10 20:10:41 -06:00
Miro Hrončok bf4e66f61a Rebuilt for Python 3.8 2019-08-19 10:20:32 +02:00
Fedora Release Engineering f3d2daf797 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 18:30:48 +00:00
Orion Poplawski 23cdf0333d Update to 1.5.1.2 2019-05-06 19:23:11 -06:00
Orion Poplawski e0101c1263 Update to 1.5.1 2019-05-01 11:42:41 -06:00
Orion Poplawski 20f48a67ce Update to 1.5.0.1 2019-04-02 19:38:49 -06:00
Orion Poplawski 8ae04a2212 Rebuild for netcdf 4.6.3 2019-03-17 20:44:06 -06:00
Orion Poplawski 5d77751126 Update to 1.4.3.2 2019-03-09 14:24:13 -07:00
Fedora Release Engineering f45df361e6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 12:12:37 +00:00
Igor Gnatenko bbe653a433 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:18 +01:00
Orion Poplawski 9ab8811013 Test fails on s390x, ignore for now 2018-10-07 12:13:49 -06:00
Orion Poplawski cf4c2afffa Update to 1.3.1
Drop Python 2 in Fedora (bugz #1634978)
2018-10-07 11:29:08 -06:00
Fedora Release Engineering dba91d13cb - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 11:30:49 +00:00
Miro Hrončok 31f65b99b3 Rebuilt for Python 3.7 2018-06-19 10:48:21 +02:00
Iryna Shcherbina fbfa33d124 Update Python 2 dependency declarations to new packaging standards 2018-03-13 21:17:52 +01:00
Fedora Release Engineering b50d6e2dfa - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 04:02:46 +00:00
5 changed files with 169 additions and 47 deletions

15
.gitignore vendored
View File

@ -14,3 +14,18 @@
/netcdf4-python-1.2.6.tar.gz
/netcdf4-python-1.2.7.tar.gz
/netcdf4-python-1.2.9.tar.gz
/netcdf4-python-1.3.1.tar.gz
/netcdf4-python-1.4.1.tar.gz
/netcdf4-python-1.4.3.2.tar.gz
/netcdf4-python-1.5.0.1.tar.gz
/netcdf4-python-1.5.1.tar.gz
/netcdf4-python-1.5.1.2.tar.gz
/netcdf4-python-1.5.2.tar.gz
/netcdf4-python-1.5.3.tar.gz
/netcdf4-python-1.5.4.tar.gz
/netcdf4-python-1.5.5.1.tar.gz
/netcdf4-python-1.5.6.tar.gz
/netcdf4-python-1.5.7.tar.gz
/netcdf4-python-1.5.8.tar.gz
/netcdf4-python-1.6.0.tar.gz
/netcdf4-python-1.6.1.tar.gz

View File

@ -1,12 +0,0 @@
diff -up netcdf4-python-1.2.9rel/setup.py.libs netcdf4-python-1.2.9rel/setup.py
--- netcdf4-python-1.2.9rel/setup.py.libs 2017-06-20 12:43:57.950231729 -0600
+++ netcdf4-python-1.2.9rel/setup.py 2017-06-20 12:48:52.764137258 -0600
@@ -308,7 +308,7 @@ NETCDF4_DIR environment variable not set
if sys.platform=='win32':
libs = ['netcdf', 'hdf5_hl', 'hdf5', 'zlib']
else:
- libs = ['netcdf', 'hdf5_hl', 'hdf5', 'z']
+ libs = ['netcdf']
if netCDF4_libdir is not None: lib_dirs = [netCDF4_libdir]
if HDF5_libdir is not None: lib_dirs.append(HDF5_libdir)

View File

@ -1,15 +1,12 @@
diff -up netcdf4-python-1.2.9rel/setup.py.norpath netcdf4-python-1.2.9rel/setup.py
--- netcdf4-python-1.2.9rel/setup.py.norpath 2017-06-20 12:41:14.139838454 -0600
+++ netcdf4-python-1.2.9rel/setup.py 2017-06-20 12:42:50.727480710 -0600
@@ -353,10 +353,7 @@ NETCDF4_DIR environment variable not set
lib_dirs.append(curl_libdir)
inc_dirs.append(curl_incdir)
-if sys.platform=='win32':
- runtime_lib_dirs = []
-else:
diff -up netcdf4-python-1.5.8rel/setup.py.norpath netcdf4-python-1.5.8rel/setup.py
--- netcdf4-python-1.5.8rel/setup.py.norpath 2021-10-31 07:25:17.000000000 -0600
+++ netcdf4-python-1.5.8rel/setup.py 2022-01-19 19:37:47.204865578 -0700
@@ -493,7 +493,7 @@ NETCDF4_DIR environment variable not set
if sys.platform == 'win32':
runtime_lib_dirs = []
else:
- runtime_lib_dirs = lib_dirs
+runtime_lib_dirs = []
+ runtime_lib_dirs = []
# Do not require numpy for just querying the package
# Taken from the h5py setup file.

View File

@ -1,35 +1,37 @@
Name: netcdf4-python
Version: 1.2.9
Release: 3%{?dist}
Version: 1.6.1
Release: 1%{?dist}
Summary: Python/numpy interface to netCDF
Group: Development/Languages
License: MIT
URL: https://github.com/Unidata/netcdf4-python
Source0: https://github.com/Unidata/netcdf4-python/archive/v%{version}rel/%{name}-%{version}.tar.gz
# No rpath for library
# http://code.google.com/p/netcdf4-python/issues/detail?id=138
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
%if ! ( 0%{?fedora} >= 30 || 0%{?rhel} >= 8 )
BuildRequires: python2-devel
BuildRequires: python2-setuptools >= 18.0
BuildRequires: Cython
BuildRequires: python-dateutil
# Added in 1.4.0
#BuildRequires: python2-cftime
BuildRequires: python2-Cython
BuildRequires: python2-dateutil
# EL6 has python 2.6 and needs ordereddict
%if 0%{?rhel} && 0%{?rhel} <= 6
BuildRequires: python-ordereddict
%endif
BuildRequires: numpy
BuildRequires: python2-numpy
%endif
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools >= 18
BuildRequires: python%{python3_pkgversion}-cftime
BuildRequires: python%{python3_pkgversion}-Cython
BuildRequires: python%{python3_pkgversion}-dateutil
BuildRequires: python%{python3_pkgversion}-numpy
BuildRequires: netcdf-devel
# python3 is default in fedora, but not EPEL
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?rhel} >= 8
Requires: python%{python3_pkgversion}-netcdf4 = %{version}-%{release}
%else
Requires: python2-netcdf4 = %{version}-%{release}
@ -52,13 +54,14 @@ containing vlens, and vlens containing compound types) are not supported.
%package -n python2-netcdf4
Summary: Python/numpy interface to netCDF
Group: Development/Languages
# EL6 has python 2.6 and needs ordereddict
%if 0%{?rhel} && 0%{?rhel} <= 6
Requires: python-ordereddict
%endif
Requires: Cython
Requires: numpy
# Added in 1.4.0
#Requires: python2-cftime
Requires: python2-Cython
Requires: python2-numpy
%{?python_provide:%python_provide python2-netcdf4}
Provides: netcdf4-python2 = %{version}-%{release}
@ -79,7 +82,7 @@ containing vlens, and vlens containing compound types) are not supported.
%package -n python%{python3_pkgversion}-netcdf4
Summary: Python/numpy interface to netCDF
Group: Development/Languages
Requires: python%{python3_pkgversion}-cftime
Requires: python%{python3_pkgversion}-Cython
Requires: python%{python3_pkgversion}-numpy
%{?python_provide:%python_provide python%{python3_pkgversion}-netcdf4}
@ -104,20 +107,24 @@ containing vlens, and vlens containing compound types) are not supported.
%prep
%setup -q -n %{name}-%{version}rel
%patch0 -p1 -b .norpath
%patch1 -p1 -b .libs
# This uses the network
rm test/tst_dap.py
%build
# Set to get libs from ncconfig to avoid directly linking to -lhdf5
export USE_NCCONFIG=1
%if ! ( 0%{?fedora} >= 30 || 0%{?rhel} >= 8 )
%py2_build
%endif
%py3_build
%install
# python3 is default in fedora, but not EPEL
%if 0%{?fedora}
# python3 is default in fedora, but not EPEL7
%if 0%{?fedora} || 0%{?rhel} >= 8
%if ! ( 0%{?fedora} >= 30 || 0%{?rhel} >= 8 )
%py2_install
%endif
%py3_install
%else
%py3_install
@ -127,28 +134,143 @@ rm test/tst_dap.py
%check
cd test
export NO_NET=1
%if ! ( 0%{?fedora} >= 30 || 0%{?rhel} >= 8 )
PYTHONPATH=$(echo ../build/lib.*%{python2_version}) %{__python2} run_all.py
PYTHONPATH=$(echo ../build/lib.*%{python3_version}) %{__python3} run_all.py
%endif
%ifarch s390x
# FAIL: runTest (tst_compoundvar.VariablesTestCase) -> assert (cmptype4 == dtype4a) # data type should be aligned
PYTHONPATH=$(echo ../build/lib.linux-*) %{__python3} run_all.py || :
%else
PYTHONPATH=$(echo ../build/lib.linux-*) %{__python3} run_all.py
%endif
%files
%license COPYING
%license LICENSE
%{_bindir}/nc3tonc4
%{_bindir}/nc4tonc3
%{_bindir}/ncinfo
%if ! ( 0%{?fedora} >= 30 || 0%{?rhel} >= 8 )
%files -n python2-netcdf4
%license COPYING
%license LICENSE
%doc Changelog docs examples README.md
%{python2_sitearch}/*
%endif
%files -n python%{python3_pkgversion}-netcdf4
%license COPYING
%license LICENSE
%doc Changelog docs examples README.md
%{python3_sitearch}/*
%changelog
* Fri Sep 23 2022 Orion Poplawski <orion@nwra.com> - 1.6.1-1
- Update to 1.6.1
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sun Jun 26 2022 Orion Poplawski <orion@nwra.com> - 1.6.0-1
- Update to 1.6.0
* Mon Jun 20 2022 Charalampos Stratakis <cstratak@redhat.com> - 1.5.8-3
- Fix FTBFS with the latest setuptools
Resolves: rhbz#2097125
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.5.8-2
- Rebuilt for Python 3.11
* Thu Jan 20 2022 Orion Poplawski <orion@nwra.com> - 1.5.8-1
- Update to 1.5.8
* Sun Nov 21 2021 Orion Poplawski <orion@nwra.com> - 1.5.7-2
- Rebuild for hdf5 1.12.1
* Mon Aug 30 2021 Orion Poplawski <orion@nwra.com> - 1.5.7-1
- Update to 1.5.7
* Tue Aug 10 2021 Orion Poplawski <orion@nwra.com> - 1.5.6-4
- Rebuild for netcdf 4.8.0
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.5.6-2
- Rebuilt for Python 3.10
* Sun Feb 14 2021 Orion Poplawski <orion@nwra.com> - 1.5.6-1
- Update to 1.5.6
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Jan 24 2021 Orion Poplawski <orion@nwra.com> - 1.5.5.1-1
- Update to 1.5.5.1
* Thu Sep 17 20:16:46 MDT 2020 Orion Poplawski <orion@nwra.com> - 1.5.4-1
- Update to 1.5.4
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.3-3
- Rebuilt for Python 3.9
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Oct 24 2019 Orion Poplawski <orion@nwra.com> - 1.5.3-1
- Update to 1.5.3
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.2-2
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Tue Sep 10 2019 Orion Poplawski <orion@nwra.com> - 1.5.2-1
- Update to 1.5.2
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.1.2-3
- Rebuilt for Python 3.8
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon May 6 2019 Orion Poplawski <orion@nwra.com> - 1.5.1.2-1
- Update to 1.5.1.2
* Wed May 1 2019 Orion Poplawski <orion@nwra.com> - 1.5.1-1
- Update to 1.5.1
* Tue Apr 2 2019 Orion Poplawski <orion@nwra.com> - 1.5.0.1-1
- Update to 1.5.0.1
* Mon Mar 18 2019 Orion Poplawski <orion@nwra.com> - 1.4.3.2-2
- Rebuild for netcdf 4.6.3
* Sat Mar 9 2019 Orion Poplawski <orion@nwra.com> - 1.4.3.2-1
- Update to 1.4.3.2
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Oct 7 2018 Orion Poplawski <orion@nwra.com> - 1.3.1-1
- Update to 1.3.1
- Drop Python 2 in Fedora (bugz #1634978)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.9-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.9-6
- Rebuilt for Python 3.7
* Tue Mar 13 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.9-5
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.9-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (netcdf4-python-1.2.9.tar.gz) = 3479cc835761811bf15665e00f5391740b6f2988c3f0f822cfe7c42d98f5b38030eaaf989b8c30891e2acac0ed6df86e4dd06bb15fd8ef695ed66e74fb83d2c2
SHA512 (netcdf4-python-1.6.1.tar.gz) = 867fc264df7d2151cf3a684bd6f0f0c1e1efd48c3cae4c2c0f529697f3c2235c8bc87e859f88209ba59e33793a81899a12a794e5ca1522fa53cebf348592f022