{% set name = "pymumps" %}
{% set version = "0.0" %}

package:
  name: {{ name|lower }}
  version: {{ version }}
  
source:
  fn: {{ version }}.tar.gz
  url: https://github.com/santiagoropb/pymumps/archive/v{{ version }}.tar.gz
  sha256: b1e3a2852d25ef4e46cac04094880ee04c1f6a97534c24007768fa81ec341db4

build:
  number: 1000
  script: python setup.py install
  skip: true  # [win]
  
requirements:
  build:
    - cython
    - mumps
    - setuptools
    
  host:
    - python
    - pip
    - numpy
    
  run:
    - python
    - {{ pin_compatible('numpy') }}
    - setuptools

test:
  imports:
    - mumps

about:
  home: https://github.com/santiagoropb/pymumps.git
  license: BSD-3
  license_file: COPYING
  summary: 'PyMUMPS: Python parallel sparse direct solver'

extra:
  recipe-maintainers:
    - santiagoropb

{% set name = "pymumps" %}
{% set version = "0.1" %}

package:
  name: {{ name|lower }}
  version: {{ version }}
  
source:
  fn: {{ version }}.tar.gz
  url: https://github.com/santiagoropb/pymumps/archive/v{{ version }}.tar.gz
  sha256: dddfc13eb6af56a9bcd8e42fd42c3293dc50fd155fe3847c3dd84a403edba8ba

build:
  number: 1000
  script: python setup.py install --include-dirs $BUILD_PREFIX/include --library-dirs $BUILD_PREFIX/lib
  skip: true  # [win]
  
requirements:
  build:
    - cython
    - python
    - mumps
    - setuptools
    - mpi4py
    
  run:
    - python
    - cython
    - mumps
    - mpi4py
    - {{ pin_compatible('numpy') }}
    - setuptools

test:
  imports:
    - mumps

about:
  home: https://github.com/santiagoropb/pymumps.git
  license: BSD-3
  license_file: COPYING
  summary: 'PyMUMPS: Python parallel sparse direct solver'

extra:
  recipe-maintainers:
    - santiagoropb

Add option to parse include and library directories
Add option to parse include and library directories
