diff --git a/recipes/freestiler/meta.yaml b/recipes/freestiler/meta.yaml new file mode 100644 index 0000000000000..85a5ab5331bb0 --- /dev/null +++ b/recipes/freestiler/meta.yaml @@ -0,0 +1,59 @@ +{% set name = "freestiler" %} +{% set version = "0.1.6" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + sha256: d308dd0f36568b7aa9dbc4891216df0f00fc8a65ddea3bb18ff9a74818b6d161 + +build: + number: 0 + skip: true # [py<39] + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + +requirements: + build: + - {{ compiler('c') }} + - {{ compiler('cxx') }} + - {{ compiler('rust') }} + - {{ stdlib('c') }} + - cargo-bundle-licenses + host: + - python + - pip + - maturin >=1.8,<2 + run: + - python + - geopandas >=0.14 + - shapely >=2.0 + - pyproj >=3.0 + - numpy >=1.24 + +test: + imports: + - freestiler + commands: + - pip check + requires: + - pip + +about: + home: https://walker-data.com/freestiler/ + summary: Rust-powered MLT/MVT vector tile engine for Python + description: | + freestiler is a Rust-powered vector tile engine exposed to Python via + PyO3. It converts GeoDataFrames, GeoParquet, and other spatial inputs into + PMTiles archives encoding MVT or MLT tiles, with optional clustering, + coalescing, and DuckDB-backed SQL preprocessing. + license: MIT + license_family: MIT + license_file: LICENSE.md + dev_url: https://github.com/walkerke/freestiler + doc_url: https://walker-data.com/freestiler/articles/python.html + +extra: + recipe-maintainers: + - walkerke