{% set name = "universions" %}
{% set version = "0.2.1" %}

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

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

build:
  noarch: python
  number: 0
  script: "{{ PYTHON }} -m pip install . -vv"

requirements:
  host:
    - python >=3.7
    - pip
  run:
    - python >=3.7

test:
  imports:
    - universions

about:
  home: https://github.com/fabiencelier/universions
  license: Apache-2.0
  license_file: LICENSE.txt
  summary: 'Get version of other tools.'
  doc_url: https://universions.readthedocs.io/
  dev_url: https://github.com/fabiencelier/universions

extra:
  recipe-maintainers:
    - fabiencelier

{% set name = "universions" %}
{% set version = "0.2.1" %}

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

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

build:
  noarch: python
  number: 0
  script: "{{ PYTHON }} -m pip install . -vv"
  entry_points:
    - universions = universions:cli

requirements:
  host:
    - python >=3.7
    - pip
  run:
    - python >=3.7

test:
  imports:
    - universions
  commands:
    - universions --help

about:
  home: https://github.com/fabiencelier/universions
  license: Apache-2.0
  license_file: LICENSE.txt
  summary: 'Get version of other tools.'
  doc_url: https://universions.readthedocs.io/
  dev_url: https://github.com/fabiencelier/universions

extra:
  recipe-maintainers:
    - fabiencelier

Add entry point for command line
Add entry point for command line