{% set name = "django-tables2" %}
{% set version = "2.4.0" %}

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

source:
  url: https://github.com/jieter/django-tables2/archive/v{{ version }}.tar.gz
  sha256: e06bf2b66016bf56ec906828842ec7f1c03c70477d3fd6c1d7341f46230cbb49`

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

requirements:
  host:
    - python >=3.5
    - pip
  run:
    - python >=3.5
    - django >=2.2

test:
  imports:
    - django_tables2
  requires:
    - pip
  commands:
    - pip check
    - python -c "import django; from django.conf import settings; settings.configure(); django.setup(); import django_tables2;"

about:
  home: https://github.com/jieter/django-tables2
  license: Simplified BSD
  license_family: BSD
  license_file: LICENSE
  summary: django-tables2 simplifies the task of turning sets of data into HTML tables.
  doc_url: https://django-tables2.readthedocs.io/en/latest/
  dev_url: https://github.com/jieter/django-tables2

extra:
  recipe-maintainers:
    - gscoppino

{% set name = "django-tables2" %}
{% set version = "2.4.0" %}

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

source:
  url: https://github.com/jieter/django-tables2/archive/v{{ version }}.tar.gz
  sha256: e06bf2b66016bf56ec906828842ec7f1c03c70477d3fd6c1d7341f46230cbb49

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

requirements:
  host:
    - python >=3.5
    - pip
  run:
    - python >=3.5
    - django >=2.2

test:
  imports:
    - django_tables2
  requires:
    - pip
  commands:
    - pip check
    - python -c "import django; from django.conf import settings; settings.configure(); django.setup(); import django_tables2;"

about:
  home: https://github.com/jieter/django-tables2
  license: Simplified BSD
  license_family: BSD
  license_file: LICENSE
  summary: django-tables2 simplifies the task of turning sets of data into HTML tables.
  doc_url: https://django-tables2.readthedocs.io/en/latest/
  dev_url: https://github.com/jieter/django-tables2

extra:
  recipe-maintainers:
    - gscoppino

Remove stray character at the end of django-tables2 tarball sha256.
Remove stray character at the end of django-tables2 tarball sha256.
