package:
  name: psi4
  #version: 0.0.10
  #version: {{ environ.get('GIT_DESCRIBE_TAG', '') }}
  version: {{ environ.get('GIT_DESCRIBE_TAG', '') + '.' + environ.get('GIT_DESCRIBE_NUMBER', 0)|string }}
#  version: 0.1.5

source:
  git_url: git@github.com:psi4/psi4.git
#  path: ../../

build:
  #number: 3                                  [linux]
  #string: {{ environ.get('GIT_BUILD_STR', '') }}
  #{% if environ.get('GIT_DESCRIBE_NUMBER', '0') == '0' %}string: py{{ environ.get('PY_VER').replace('.', '') }}_local
  #{% else %}string: py{{ environ.get('PY_VER').replace('.', '') }}_{{ environ.get('GIT_BUILD_STR', 'GIT_STUB').split('-g')[-1] }}{% endif %}
  string: py{{ environ.get('PY_VER').replace('.', '') }}_{{ environ.get('GIT_DESCRIBE_HASH', 'GIT_STUB') }}
  binary_relocation: true
#  binary_has_prefix_files:
#    - bin/psi4
  has_prefix_files:
    - share/psi/scripts/setenv.py
    - bin/psi4

requirements:
  build:
    - cmake >3                               [linux]
    - python 2.7*
  run:
    - python 2.7*

#test:
#  commands:
#    - psi4 --help

about:
  home: http://www.psicode.org
  license: GNU General Public License v2 or later (GPLv2+)
  summary: "open-source quantum chemistry"

