{% set name = "posthog" %}
{% set version = "1.4.0" %}

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

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

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

requirements:
  host:
    - python >=3.7.0,<4.0.0
    - pip
  run:
    - python >=3.7.0,<4.0.0
    - requests >=2.7.0,<3.0.0
    - six >=1.5.0,<2.0.0
    - monotonic >=1.5.0,<2.0.0
    - backoff >=1.6.0,<2.0.0
    - python-dateutil >=2.1.0,<3.0.0

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

about:
  home: https://github.com/PostHog/posthog-python
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: Integrate PostHog into any python application

extra:
  recipe-maintainers:
    - mands

{% set name = "posthog" %}
{% set version = "1.4.0" %}

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

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

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

requirements:
  host:
    - python >=3.7.0,<4.0.0
    - pip
  run:
    - python >=3.7.0,<4.0.0
    - requests >=2.7.0,<3.0.0
    - six >=1.5.0,<2.0.0
    - monotonic >=1.5.0,<2.0.0
    - backoff >=1.6.0,<2.0.0
    - python-dateutil >=2.1.0,<3.0.0

test:
  imports:
    - posthog
  requires:
    - pip

about:
  home: https://github.com/PostHog/posthog-python
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: Integrate PostHog into any python application

extra:
  recipe-maintainers:
    - mands

Remove pip check due to old version of backoff
Remove pip check due to old version of backoff
