{% set version = "1.1.0" %}

package:
  name: tensorflow
  version: {{ version }}

source:
  fn: tensorflow-{{ version }}.tar.gz
  url: https://github.com/tensorflow/tensorflow/archive/v{{ version }}.tar.gz
  sha256: aad4470f52fa59f54de7b9a2da727429e6755d91d756f245f952698c42a60027
  patches:
    # Add -lrt to the link options list
    # https://github.com/tensorflow/tensorflow/issues/121
    - rt_link_arg.patch

build:
  number: 0
  entry_points:
    - tensorboard = tensorflow.tensorboard.tensorboard:main

requirements:
  build:
    - bazel >=0.4.5
    - numpy x.x
    - perl
    - pip
    - python
    - six >=1.10.0
    - swig
    - wheel >=0.26
    - zlib
  run:
    - mock >=2.0.0       [py2k]
    - numpy x.x
    - protobuf >=3.2.0
    - python
    - six >=1.10.0
    - werkzeug >=0.11.10

test:
  imports:
    - tensorflow

about:
  home: http://tensorflow.org/
  license: Apache 2.0
  license_family: Apache
  summary: TensorFlow is a machine learning library
  dev_url: https://github.com/tensorflow/tensorflow
  doc_url: https://www.tensorflow.org/get_started/get_started
