{% set version = "1.1" %}
{% set buildnumber = 3 %}

package:
  name: theano
  version: {{version}}

source:
  git_url: https://github.com/intel/Theano.git
  git_rev: ver-{{version}}
  patches:
    - intel_defaults.patch
    - intel_test_fixes.patch

build:
  number: {{buildnumber}}
  features:
    - intel

requirements:
  build:
    - python
    - setuptools
    - six >=1.9.0
    - numpy >=1.3.0
    - scipy >=0.7.0
    - cython
    - mkl-devel

  run:
    - intelpython
    - python
    - setuptools
    - six >=1.9.0
    - numpy >=1.3.0
    - scipy >=0.7.0
    - icc_rt
    - mkl

test:
  # files:
  #   - intel_tester_config.py
  # commands:
  #   - python -c "from intel_tester import test_routine; test_routine.test_exec()"
  requires:
    - intel_tester
    - nose >=1.3.0
    - nose-parameterized >=0.5.0
  imports:
    - theano
    - theano.compile
    - theano.compile.sandbox
    - theano.compile.tests
    - theano.gof
    - theano.gof.tests
    - theano.misc
    - theano.sandbox
    - theano.sandbox.cuda
    - theano.sandbox.cuda.tests
    - theano.scalar
    - theano.scalar.tests
    - theano.sparse
    - theano.sparse.tests
    - theano.tensor
    - theano.tensor.nnet
    - theano.tensor.nnet.tests
    - theano.tensor.signal
    - theano.tensor.signal.tests
    - theano.tensor.tests
    - theano.tests

about:
  home: http://deeplearning.net/software/theano/
  license: BSD 3-Clause
  summary: Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs.
