{% set name = "nbgitpuller-link" %}
{% set version = "0.2" %}

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

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

build:
  noarch: python
  number: 0
  script: "{{ PYTHON }} -m pip install . -vv"
  entry-points:
    - nbgitpuller-link=nbgitpuller_link.cli:main

requirements:
  host:
    - python
    - pip
  run:
    - python
    - click
    - validators

test:
  imports:
    - nbgitpuller_link
  requires:
    - pip
  commands:
    - pip check
    - nbgitpuller-link --version
    - nbgitpuller-link --help

about:
  home: https://github.com/mdpiper/nbgitpuller-link
  license: MIT
  license_family: MIT
  license_file: LICENSE.md
  summary: |
    Generate an nbgitpuller link through a command-line interface or Python code
  description: |
    Use nbgitpuller-link to create an URL used by nbgitpuller
    <https://jupyterhub.github.io/nbgitpuller> to provision files from a git
    repository on a JupyterHub. nbgitpuller-link has a handy, scriptable CLI
    and a Python API.
  doc_url: https://bmi-topography.readthedocs.io
  dev_url: https://github.com/csdms/bmi-topography

extra:
  recipe-maintainers:
    - mdpiper

Add recipe for nbgitpuller-link package
Add recipe for nbgitpuller-link package
