{% set name = "hatch-requirements-txt" %}
{% set version = "0.1.1" %}

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

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

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

requirements:
  host:
    - python >=3.6
    - pip
  run:
    - python >=3.6
    - hatchling >=0.21.0
    - packaging >=21.3

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

about:
  home: https://pypi.org/project/hatch-requirements-txt/
  summary: Hatchling plugin to read project dependencies from requirements.txt
  license: MIT
  license_file:
    - LICENSE

extra:
  recipe-maintainers:
    - maresb

{% set name = "hatch-requirements-txt" %}
{% set version = "0.1.1" %}

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

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

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

requirements:
  host:
    - python >=3.6
    - pip
    - hatchling >=0.21.0
  run:
    - python >=3.6
    - hatchling >=0.21.0
    - packaging >=21.3

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

about:
  home: https://pypi.org/project/hatch-requirements-txt/
  summary: Hatchling plugin to read project dependencies from requirements.txt
  license: MIT
  license_file:
    - LICENSE

extra:
  recipe-maintainers:
    - maresb

Add hatchling as host dependency
Add hatchling as host dependency