{% set name = "pydeck" %}
{% set version = "0.7.1" %}
{% set sha256 = "907601c99f7510e16d27d7cb62bfa145216d166a2b5c9c50cfe2b65b032ebd2e" %}

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

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

build:
  number: 0
  script: {{ PYTHON }} -m pip install . --no-deps -vv
  # noarch: python
  skip: true  # [py<37]

requirements:
  host:
    - python 
    - pip
    - setuptools <61
    - jinja2 >=2.10.1
    - wheel
  run:
    - python
    - ipykernel >=5.1.2
    - ipywidgets >=7.0.0
    - jinja2 >=2.10.1
    - traitlets >=4.3.2
    - {{ pin_compatible('numpy') }}

test:
  imports:
    - pydeck
    - pydeck.bindings
    - pydeck.data_utils
    - pydeck.io
    - pydeck.nbextension
    - pydeck.widget

about:
  home: https://github.com/uber/deck.gl/tree/master/bindings/pydeck
  license: Apache-2.0
  license_family: Apache
  license_file: LICENSE.txt
  summary: Widget for deck.gl maps
  description: |
    The pydeck library is a set of Python bindings for making spatial visualizations
    with deck.gl, optimized for a Jupyter environment.
  doc_url: https://pydeck.gl
  doc_source_url: https://github.com/visgl/deck.gl/tree/master/bindings/pydeck/docs
  dev_url: https://github.com/uber/deck.gl/tree/master/bindings/pydeck

extra:
  recipe-maintainers:
    - ajduberstein
