{% set name = "bigdft-suite" %}
{% set version = "1.9.3_dev" %}
{% set build = 0 %}
{% set mpi = mpi %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  git_url: https://gitlab.com/l_sim/bigdft-suite.git

build:
  number: {{ build }}
  skip: true  # [win or osx]

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - {{ compiler('fortran') }}
    - cmake
    - llvm-openmp  # [osx]
    - libgomp  # [linux]
    - autoconf
    - automake
    - binutils
    - make
    - pip
    - {{ mpi }}  # [mpi == "openmpi" and build_platform != target_platform]
  host:
    - {{ mpi }}
    - libblas
    - liblapack
    - yaml
    - python
    - ntpoly
    - setuptools
  run:
    - {{ mpi }}
    - python
    - scipy
    - numpy
    - pyyaml

test:
  files:
    - test.py

about:
  home: https://bigdft.org
  license: GPL-3.0-only
  license_family: GPL
  license_file: LICENSE
  summary: Density Functional Theory calculations based on wavelets
  doc_url: https://l_sim.gitlab.io/bigdft-suite/
  dev_url: https://gitlab.com/l_sim/bigdft-suite

extra:
  recipe-maintainers:
    - william-dawson
    - luigigenovese

{% set name = "bigdft-suite" %}
{% set version = "1.9.3_dev" %}
{% set build = 0 %}
{% set mpi = mpi %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  git_url: https://gitlab.com/l_sim/bigdft-suite.git

build:
  number: {{ build }}
  skip: true  # [win or osx]

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - {{ compiler('fortran') }}
    - cmake
    - llvm-openmp  # [osx]
    - libgomp  # [linux]
    - autoconf
    - automake
    - binutils
    - make
    - pip
    - {{ mpi }}  # [mpi == "openmpi" and build_platform != target_platform]
  host:
    - {{ mpi }}
    - libblas
    - liblapack
    - yaml
    - python
    - ntpoly
  run:
    - {{ mpi }}
    - python
    - scipy
    - numpy
    - pyyaml

test:
  files:
    - test.py

about:
  home: https://bigdft.org
  license: GPL-3.0-only
  license_family: GPL
  license_file: LICENSE
  summary: Density Functional Theory calculations based on wavelets
  doc_url: https://l_sim.gitlab.io/bigdft-suite/
  dev_url: https://gitlab.com/l_sim/bigdft-suite

extra:
  recipe-maintainers:
    - william-dawson
    - luigigenovese

Revert "Maybe setuptools has to be in host"
Revert "Maybe setuptools has to be in host"

This reverts commit 37f86590421bca42071721943c28fa6dc0e4d3c1.
