{% set name = "cwl-utils" %}
{% set version = "0.14" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

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

build:
  # Copied from schema-salad
  skip: true  # [py2k or win]
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  host:
    - pip
    - python
  run:
    - cwl-upgrader >=1.2
    - packaging
    - python
    - requests
    - schema-salad >=8.2,<9

test:
  imports:
    - cwl_utils
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://github.com/common-workflow-language/cwl-utils
  license: Apache-2.0
  license_file:
    - LICENSE
  summary: Python utilities for CWL
  dev_url: https://github.com/common-workflow-language/cwl-utils/

extra:
  recipe-maintainers:
    - mr-c
    - kinow

{% set name = "cwl-utils" %}
{% set version = "0.18" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

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

build:
  # Copied from schema-salad
  skip: true  # [py2k or win]
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  host:
    - pip
    - python
  run:
    - cwl-upgrader >=1.2
    - packaging
    - python
    - requests
    - schema-salad >=8.2,<9

test:
  imports:
    - cwl_utils
  commands:
    - pip check
    - cwl-cite-extract --help
    - cwl-docker-extract --help
    - cwl-expression-refactor --help
    - cwl-graph-split --help
    - cwl-normalizer --help
  requires:
    - pip

about:
  home: https://github.com/common-workflow-language/cwl-utils
  license: Apache-2.0
  license_file:
    - LICENSE
  summary: Python utilities for CWL
  dev_url: https://github.com/common-workflow-language/cwl-utils/

extra:
  recipe-maintainers:
    - mr-c
    - kinow

Use 0.18, test the scripts in Conda
Use 0.18, test the scripts in Conda
