diff --git a/recipes/recipes_emscripten/bw2calc/recipe.yaml b/recipes/recipes_emscripten/bw2calc/recipe.yaml new file mode 100644 index 000000000..91665af65 --- /dev/null +++ b/recipes/recipes_emscripten/bw2calc/recipe.yaml @@ -0,0 +1,51 @@ +context: + name: "bw2calc" + version: "2.0.dev13" + +package: + name: "{{ name }}" + version: "{{ version }}" + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + sha256: fb3e8076d6048d3acda147c83534dced9568079cf9d8d8b7fb0153731a0f8d87 + +build: + script: "{{ PYTHON }} -m pip install . -vv" + number: 0 + +requirements: + build: + - python # [build_platform != target_platform] + - cross-python_{{ target_platform }} + - pip + - bw_processing + host: + - python >=3.7 + - pip + - setuptools + run: + - python >=3.7 + - bw_processing + - matrix_utils + - numpy <1.25.0 + - pandas + - scipy + - stats_arrays + +about: + home: https://github.com/brightway-lca/brightway2-calc + summary: 'The calculation engine for the Brightway2 life cycle assessment framework.' + license: BSD-3-Clause + license_family: BSD + license_file: LICENSE.txt + dev_url: https://github.com/brightway-lca/brightway2-calc + +extra: + emscripten_tests: + python: + pytest_files: + - test_import_bw2calc.py + recipe-maintainers: + - michaelweinold + - cmutel \ No newline at end of file diff --git a/recipes/recipes_emscripten/bw2calc/test_import_bw2calc.py b/recipes/recipes_emscripten/bw2calc/test_import_bw2calc.py new file mode 100644 index 000000000..4ef8c956b --- /dev/null +++ b/recipes/recipes_emscripten/bw2calc/test_import_bw2calc.py @@ -0,0 +1,2 @@ +def test_import_bw2calc(): + import bw2calc \ No newline at end of file