{% set name = "pydivert" %}
{% set version = "2.1.0" %}

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

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

build:
  script: {{ PYTHON }} -m pip install . -vv
  number: 0
  skip: True  # [not win]

requirements:
  host:
    - pip
    - python
  run:
    - enum34 >=1.1.6  # [py==27 or py==33]
    - python
    - win_inet_pton >=1.0.1  # [py==27 or py==33]

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

about:
  home: https://github.com/ffalcinelli/pydivert
  summary: Python binding to windivert driver
  doc_url: https://pythonhosted.org/pydivert/
  license: LGPL-3.0
  license_file:
    - LICENSE

extra:
  recipe-maintainers:
    - freundTech

{% set name = "pydivert" %}
{% set version = "2.1.0" %}

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

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

build:
  script: {{ PYTHON }} -m pip install . -vv
  number: 0
  skip: True  # [not win]

requirements:
  host:
    - pip
    - python
  run:
    - enum34 >=1.1.6  # [py==27 or py==33]
    - python
    - win_inet_pton >=1.0.1  # [py==27 or py==33]

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

about:
  home: https://github.com/ffalcinelli/pydivert
  summary: Python binding to windivert driver
  doc_url: https://pythonhosted.org/pydivert/
  license: LGPL-3.0-or-later
  license_file:
    - LICENSE

extra:
  recipe-maintainers:
    - freundTech

Fix grayskull generated license on pydiverse
Fix grayskull generated license on pydiverse
