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

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

build:
  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

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

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

# to conda build package from local source rather than github, substitute like below
#package/version: 0.1.6
#source/path: ../../psi4mangle/psi4
#build/number: 1
#build/string: abc
