https://github.com/ESMValGroup/ESMValTool
Raw File
Tip revision: d5cc08afcb104232d0947c4b7b0b18309ac8bcbb authored by Lee de Mora on 21 May 2020, 14:59:22 UTC
Merge branch 'version2_development_OMZ_irregular_2d_regridding' of github.com:/ESMValGroup/ESMValTool into version2_development_OMZ_irregular_2d_regridding
Tip revision: d5cc08a
meta.yaml
# Conda build recipe
---

# Build commmand:
# conda build . -c conda-forge -c birdhouse

# Package version number
{% set version = "2.0a1" %}

package:
  name: esmvaltool
  version: {{ version }}

source:
  # Use these two lines to build a release:
  # git_rev: v{{ version }}
  # git_url: https://github.com/ESMValGroup/ESMValTool.git
  # Use this line instead of the above to test building without a release:
  path: .

build:
  # Increment the build number when building a new conda package of the same
  # esmvaltool version, reset to 0 when building a new version.
  number: 1
  script: |
      python setup.py install --single-version-externally-managed --record=/tmp/record.txt
      POST_LINK="${PREFIX}/bin/.esmvaltool-post-link.sh"
      cp -v ${RECIPE_DIR}/language_support.sh ${POST_LINK};
      chmod +x ${POST_LINK};

requirements:
  build:
    - git
    - python {{ python }}
    # Normally installed via pip:
    - setuptools_scm
    - r-base
    - r-rcpp
    - libgfortran-ng
  run:
    # esmvaltool
    - python
    - iris=1.13
    - python-stratify
    # Normally installed via pip:
    - cartopy
    - cf_units
    - cython
    - matplotlib<3
    - netCDF4
    - numba
    - numpy
    - pillow
    - psutil
    - python-cdo
    - pyyaml
    - shapely
    - six
    - vmprof
    - yamale  # in birdhouse channel
    # Multi language support:
    - ncl
    - ncurses=6.1=hfc679d8_1
    - gcc
    - r-base
    - r-rcpp
    - libgfortran-ng
    # TODO: add julia
test:
  # TODO: add unit tests? This seems to require installing the tests
  imports:
    - esmvaltool
  commands:
    - esmvaltool -h

about:
  home: https://www.esmvaltool.org
  license: Apache License, Version 2.0
  license_file: LICENSE
back to top