Browse Source

Updated recipe to add tests

main
Bill Ladwig 8 years ago
parent
commit
6e029d10b7
  1. 20
      conda_recipe/meta.yaml

20
conda_recipe/meta.yaml

@ -1,4 +1,4 @@
{% set version = "1.0b2" %} {% set version = "1.0b3" %}
package: package:
name: wrf-python name: wrf-python
@ -7,32 +7,40 @@ package:
source: source:
fn: wrf-python-{{ version }}.tar.gz fn: wrf-python-{{ version }}.tar.gz
url: https://github.com/NCAR/wrf-python/archive/{{ version }}.tar.gz url: https://github.com/NCAR/wrf-python/archive/{{ version }}.tar.gz
sha256: 7038de3e8cf77147cfafaa41e9797521dd1b4bff9130baacd25850ae38a7c3a3 sha256: 26aab5fc36f1a84cdb09b68cf77d70c7e16a893b50ecd6711d07ddf8f1b6968b
build: build:
number: 1 number: 0
detect_binary_files_with_prefix: true detect_binary_files_with_prefix: true
skip: True # [win32 or (win and py>=35)] skip: True # [(win and py>=35)]
requirements: requirements:
build: build:
- setuptools - setuptools
- numpy x.x - numpy x.x
- wrapt - wrapt
- m2w64-toolchain # [win] - mingwpy # [win]
- gcc # [unix] - gcc # [unix]
- python - python
run: run:
- numpy x.x - numpy x.x
- python - python
- wrapt - wrapt
- m2w64-toolchain # [win] - mingwpy # [win]
- libgfortran # [unix] - libgfortran # [unix]
- libgcc # [unix] - libgcc # [unix]
test: test:
requires:
- netcdf4
- xarray
source_files:
- test/ci_tests
imports: imports:
- wrf - wrf
- netCDF4
commands:
- cd test/ci_tests && python utests.py
about: about:
home: https://github.com/NCAR/wrf-python home: https://github.com/NCAR/wrf-python

Loading…
Cancel
Save