{% set name = "weave" %}
{% set version = "0.15.0" %}
{% set sha256 = "4b7ac15abe2d1c0901c33db79d4bdcad8f2261198da36a48707b0023bca72f83" %}
package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  skip: True  # [py3k]  # Python2-only package
  script: python setup.py install --record record.txt

requirements:
  build:
    - python <3
    - numpy
  run:
    - python <3
    - numpy
    - bsddb # [not win]

test:
  imports:
    - weave
  commands:
    - python -c 'import weave;assert weave.inline("int x=42; return_val=x;") == 42'

about:
  home: https://pypi.python.org/pypi/weave
  license: BSD
  license_file: LICENSE.txt
  summary: 'Weave: a C++ compiler for Python.'
  description: |
    Weave provides tools for including C/C++ code within Python code. Inlining
    C/C++ code within Python generally results in speedups of 1.5x to 30x over
    algorithms written in pure Python.
    Weave is the stand-alone version of the deprecated Scipy submodule
    ``scipy.weave``.   It is Python 2.x only, and is provided for users that need
    new versions of Scipy (from which the ``weave`` submodule may be removed) but
    have existing code that still depends on ``scipy.weave``.  For new code, users
    are recommended to use Cython.
  dev_url: http://www.github.com/scipy/weave

extra:
  recipe-maintainers:
    - mstimberg

Add recipe for weave (formerly part of scipy as scipy.weave)
Add recipe for weave (formerly part of scipy as scipy.weave)

https://pypi.python.org/pypi/weave
