From 949c1299118873103e53add4618b37aec2a3ca5a Mon Sep 17 00:00:00 2001 From: KGB99 Date: Thu, 20 Jun 2024 11:21:18 +0100 Subject: [PATCH] add first build and recipe --- recipes/recipes_emscripten/shapely/build.sh | 3 ++ .../recipes_emscripten/shapely/recipe.yaml | 43 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 recipes/recipes_emscripten/shapely/build.sh create mode 100644 recipes/recipes_emscripten/shapely/recipe.yaml diff --git a/recipes/recipes_emscripten/shapely/build.sh b/recipes/recipes_emscripten/shapely/build.sh new file mode 100644 index 000000000..b6c9722b0 --- /dev/null +++ b/recipes/recipes_emscripten/shapely/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +${PYTHON} -m pip install . -vv diff --git a/recipes/recipes_emscripten/shapely/recipe.yaml b/recipes/recipes_emscripten/shapely/recipe.yaml new file mode 100644 index 000000000..34f369092 --- /dev/null +++ b/recipes/recipes_emscripten/shapely/recipe.yaml @@ -0,0 +1,43 @@ +context: + name: shapely + version: 2.0.4 + +package: + name: ${{ name }} + version: ${{ version }} + +source: + url: https://pypi.io/packages/source/S/Shapely/shapely-${{ version }}.tar.gz + sha256: 5dc736127fac70009b8d309a0eeb74f3e08979e530cf7017f2f507ef62e6cfb8 + +build: + number: 0 + +requirements: + build: + - python + - pip + - cross-python_${{ target_platform }} + - cython + - numpy + - geos + - ${{ compiler('c') }} + host: + - python + - pip + #- cython + - numpy + - geos + run: + - python + + +about: + homepage: https://github.com/shapely/shapely + license: BSD-3-Clause + license_file: LICENSE.txt + summary: Python package for manipulation and analysis of geometric objects in the Cartesian plane + +extra: + recipe-maintainers: + - KGB99