{% set version = "0.5.2" %}
{% set name = "pyrosm" %}

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

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

build:
  number: 0
  script: "{{ PYTHON }} -m pip install . --no-deps -vv"

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - python
    - pip
    - cython >=0.28
    - pyrobuf >=0.9.3
    - cykhash
    - python-rapidjson
    - geopandas ==0.7.0
    - shapely
    - pygeos
  run:
    - python

test:
  imports:
    - pyrosm

about:
  home: https://github.com/HTenkanen/pyrosm
  license: MIT
  license_file: 'LICENSE'
  summary: 'A Python tool to parse OSM data from Protobuf format into GeoDataFrame.'

extra:
  recipe-maintainers:
    - htenkanen

{% set version = "0.5.2" %}
{% set name = "pyrosm" %}

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

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

build:
  number: 0
  script: "{{ PYTHON }} -m pip install . --no-deps -vv"

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - python
    - pip
    - cython >=0.28
    - pyrobuf >=0.9.3
    - cykhash
    - python-rapidjson
    - geopandas
    - shapely
    - pygeos
  run:
    - python
    - shapely

test:
  imports:
    - pyrosm

about:
  home: https://github.com/HTenkanen/pyrosm
  license: MIT
  license_file: 'LICENSE'
  summary: 'A Python tool to parse OSM data from Protobuf format into GeoDataFrame.'

extra:
  recipe-maintainers:
    - htenkanen

Add shapely as run dependency
Add shapely as run dependency
