{% set name = "flask-mqtt" %}
{% set version = "1.1.0" %}

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

source:
  url: https://github.com/stlehmann/Flask-MQTT/releases/download/{{ version }}/Flask-MQTT-{{ version }}.tar.gz
  sha256: d196c4a7a1fc37a4364e8fe46b3670cc656a851c5b63d69e2836c80e03da88f1

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

requirements:
  host:
    - python
    - pip
    - flask
    - paho-mqtt
  run:
    - python
    - flask
    - paho-mqtt

test:
  imports:
    - flask_mqtt

about:
  home: https://github.com/stlehmann/Flask-MQTT
  license: MIT
  license_family: MIT
  license_file: LICENSE.txt
  summary: Simple, Flask Extension for the MQTT protocol
  description: |
    Flask Extension for the MQTT protocol. Basically it is a thin wrapper
    around paho-mqtt and aimes to simplify MQTT integration in Flask.
    MQTT is a machine-to-machine "Internet of Things" protocol and was
    designed for extremely lightweight publish/subscribe messaging transport.
  doc_url: https://flask-mqtt.readthedocs.io
  dev_url: https://github.com/stlehmann/Flask-MQTT

extra:
  recipe-maintainers:
    - stlehmann

{% set name = "flask-mqtt" %}
{% set version = "1.1.0" %}

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

source:
  url: https://github.com/stlehmann/Flask-MQTT/releases/download/{{ version }}/Flask-MQTT-{{ version }}.tar.gz
  sha256: d196c4a7a1fc37a4364e8fe46b3670cc656a851c5b63d69e2836c80e03da88f1

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

requirements:
  host:
    - python
    - pip
  run:
    - python
    - flask
    - paho-mqtt

test:
  imports:
    - flask_mqtt

about:
  home: https://github.com/stlehmann/Flask-MQTT
  license: MIT
  license_family: MIT
  license_file: LICENSE.txt
  summary: Simple, Flask Extension for the MQTT protocol
  description: |
    Flask Extension for the MQTT protocol. Basically it is a thin wrapper
    around paho-mqtt and aimes to simplify MQTT integration in Flask.
    MQTT is a machine-to-machine "Internet of Things" protocol and was
    designed for extremely lightweight publish/subscribe messaging transport.
  doc_url: https://flask-mqtt.readthedocs.io
  dev_url: https://github.com/stlehmann/Flask-MQTT

extra:
  recipe-maintainers:
    - stlehmann

Remove flask and paho-mqtt from host section
Remove flask and paho-mqtt from host section
