package:
  name: dataportal
  version: {{ environ['GIT_DESCRIBE_TAG'] }}.post{{ environ['GIT_DESCRIBE_NUMBER'] }}

source:
  git_url: ../
  patches:
    - setup_py.patch
build:
  number: 0

  # Note that this will override the default build string with the Python
  # and NumPy versions
  string: {{ environ.get('GIT_BUILD_STR', '') }}_np{{ np }}py{{ py }}

requirements:
  build:
    - python
    - numpy
    - six

  run:
    - python
    - pandas
    - matplotlib
    - pyyaml
    - scikit-xray
    - pims
    - metadatastore
    - filestore
    - channelarchiver
    - six
    - humanize

test:
  imports:
    - 'dataportal'
    - 'dataportal.api'
    - 'dataportal.testing'
    - 'dataportal.examples'
    - 'dataportal.examples.sample_data'
    - 'dataportal.broker'
    - 'dataportal.muxer'
    - 'dataportal.sources'
    - 'dataportal.sources.dummy_sources'
    - 'dataportal.utils'

about:
  home: https://github.com/NSLS-II/dataportal
  license: BSD

package:
  name: dataportal
  version: {{ environ['GIT_DESCRIBE_TAG'] }}.post{{ environ['GIT_DESCRIBE_NUMBER'] }}

source:
  git_url: ../
  patches:
    - setup_py.patch
build:
  number: 0

  # Note that this will override the default build string with the Python
  # and NumPy versions
  string: {{ environ.get('GIT_BUILD_STR', '') }}_np{{ np }}py{{ py }}

requirements:
  build:
    - python
    - numpy
    - six

  run:
    - python
    - pandas
    - matplotlib
    - pyyaml
    - scikit-xray
    - pims
    - metadatastore >=0.1.0
    - filestore >=0.1.0
    - channelarchiver
    - six
    - humanize

test:
  imports:
    - 'dataportal'
    - 'dataportal.api'
    - 'dataportal.testing'
    - 'dataportal.examples'
    - 'dataportal.examples.sample_data'
    - 'dataportal.broker'
    - 'dataportal.muxer'
    - 'dataportal.sources'
    - 'dataportal.sources.dummy_sources'
    - 'dataportal.utils'

about:
  home: https://github.com/NSLS-II/dataportal
  license: BSD

Set min versions of mds and fs.
BLD: Set min versions of mds and fs.
