meta.yaml 1.45 KB
Newer Older
1
{% set name = 'beat.editor' %}
2
{% set project_dir = environ.get('RECIPE_DIR') + '/..' %}
3 4 5 6 7 8 9 10 11 12

package:
  name: {{ name }}
  version: {{ environ.get('BOB_PACKAGE_VERSION', '0.0.1') }}

build:
  number: {{ environ.get('BOB_BUILD_NUMBER', 0) }}
  run_exports:
    - {{ pin_subpackage(name) }}
  script:
13
    - cd {{ project_dir }}
14 15 16
    {% if environ.get('BUILD_EGG') %}
    - python setup.py sdist --formats=zip
    {% endif %}
17
    - "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv"
18 19 20

requirements:
  host:
21
    - pip
22 23
    - python {{ python }}
    - setuptools {{ setuptools }}
24

25 26 27 28
  run:
    - python
    - setuptools
    - jinja2
29 30 31
    - pyqt
    - click
    - click-plugins
32
    - docopt
33
    - beat.cmdline >=1.5.1b0
34 35 36 37 38 39

test:
  requires:
    - bob-devel {{ bob_devel }}.*
    - beat-devel {{ beat_devel }}.*
    - bob.extension
40
    - pytest
41 42
    - pytest-qt
    - pytest-cov
43 44 45 46 47 48 49 50
    - coverage
    - sphinx
    - sphinx_rtd_theme

  imports:
    - {{ name }}

  commands:
51
    - beat editor --help
52
    - beat editor start --help
53
    - pytest --cov={{ name }} -vl -rf {{ project_dir }}/
54 55
    - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
    - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx
56 57
    - conda inspect linkages -p $PREFIX {{ name }}  # [not win]
    - conda inspect objects -p $PREFIX {{ name }}  # [osx]
58 59 60

about:
  home: https://www.idiap.ch/software/beat/
61
  license: GPLv3
62
  summary: Local editor for BEAT objects
63
  license_family: GPL