Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions recipes/recipes_emscripten/passagemath-planarity/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
context:
version: 10.8.6

package:
name: passagemath-planarity
version: ${{ version }}

source:
- url: https://pypi.org/packages/source/p/passagemath-planarity/passagemath_planarity-${{ version }}.tar.gz
sha256: 585780e08837cc2cb1655cadf7dc5c7245aea171e802ea4b1d7d2d4497d045fd

build:
script: ${{ PYTHON }} -m pip install .
number: 0

requirements:
build:
- python
- crossenv >=1.2
- cross-python_emscripten-wasm32
- ${{ compiler("c") }}
- ${{ compiler("cxx") }}
- pip
- passagemath-setup
- passagemath-environment
- cython
- cysignals
- pkgconfig
- passagemath-abi == ${{ version }}
host:
- python
- planarity
run:
- python
- cysignals
- passagemath-graphs

tests:
- script: pytester
files:
recipe:
- test_passagemath_planarity.py
requirements:
build:
- pytester
run:
- pytester-run
- passagemath-repl

about:
license: GPL-2.0-or-later
license_file: README.rst
summary: 'passagemath: Graph planarity with the edge addition planarity suite'
description: |
Distribution of a part of the Sage library.
It provides a Cython interface to the Edge Addition Planarity Suite.

extra:
emscripten_tests:
python:
pytest_files:
- test_passagemath_planarity.py
recipe-maintainers:
- mkoeppe
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import pytest


def test_import_passagemath_planarity():
import passagemath_planarity