diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 0514965..78a7219 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,5 @@ {% set version = "1.7.1" %} -{% set build = 0 %} +{% set build = 1 %} # recipe-lint fails if mpi is undefined {% set mpi = mpi or 'nompi' %} @@ -13,8 +13,8 @@ package: version: {{ version }} source: - url: https://pypi.io/packages/source/n/netCDF4/netcdf4-{{ version }}.tar.gz - sha256: 87d666093870ebbc0153c8eb42a4a70d6a1d33b47fa3d8fd2e01b6d8de52023e + url: https://github.com/Unidata/netcdf4-python/archive/refs/tags/v{{ version }}rel.tar.gz + sha256: 42c189fb646a2993f15791b3835797389d7d0791de033ed4347955c673194605 build: skip: true # [(win and vc<14) or (win and mpi != 'nompi')] @@ -43,7 +43,7 @@ requirements: - cross-python_{{ target_platform }} # [build_platform != target_platform] - cython # [build_platform != target_platform] - numpy # [build_platform != target_platform] - - {{ compiler('c') }} + - {{ compiler("c") }} - {{ stdlib("c") }} host: - python @@ -76,17 +76,23 @@ requirements: - openssh # [mpi == 'openmpi'] test: + source_files: + - test files: - parallel_test.py # [mpi != 'nompi'] imports: - netCDF4 - cftime + requires: + - cython + - packaging commands: - ncinfo -h - nc4tonc3 -h - nc3tonc4 -h - mpirun -np 4 python parallel_test.py # [mpi == 'mpich'] - mpirun --oversubscribe -np 4 python parallel_test.py # [mpi == 'openmpi'] + - cd test && python run_all.py about: home: http://github.com/Unidata/netcdf4-python