Skip to content

Commit 887fca3

Browse files
authored
Add passagemath-topcom (#5784)
* recipes/recipes_emscripten/passagemath-topcom: New * recipes/recipes_emscripten/passagemath-topcom: Add run dep passagemath-polyhedra
1 parent c516eb6 commit 887fca3

2 files changed

Lines changed: 74 additions & 0 deletions

File tree

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
context:
2+
version: 10.8.4
3+
4+
package:
5+
name: passagemath-topcom
6+
version: ${{ version }}
7+
8+
source:
9+
- url: https://pypi.org/packages/source/p/passagemath-topcom/passagemath_topcom-${{ version }}.tar.gz
10+
sha256: a46f89a5acc46142fbdb97d6b7fc74b165bc369d47c2413c792aff97973f2723
11+
12+
build:
13+
script: ${{ PYTHON }} -m pip install .
14+
number: 0
15+
16+
requirements:
17+
build:
18+
- python
19+
- crossenv >=1.2
20+
- cross-python_emscripten-wasm32
21+
- ${{ compiler("c") }}
22+
- ${{ compiler("cxx") }}
23+
- pip
24+
- passagemath-setup
25+
- passagemath-environment
26+
- cython
27+
- cysignals
28+
- pkgconfig
29+
- passagemath-abi == ${{ version }}
30+
host:
31+
- python
32+
- topcom
33+
- passagemath-categories
34+
run:
35+
- python
36+
- topcom
37+
- passagemath-categories
38+
- passagemath-environment
39+
- passagemath-polyhedra
40+
- pexpect
41+
42+
tests:
43+
- script: pytester
44+
files:
45+
recipe:
46+
- test_passagemath_topcom.py
47+
requirements:
48+
build:
49+
- pytester
50+
run:
51+
- pytester-run
52+
- passagemath-repl
53+
54+
about:
55+
license: GPL-2.0-or-later
56+
license_file: README.rst
57+
summary: 'passagemath: Triangulations of point configurations and oriented matroids with TOPCOM'
58+
description: |
59+
Distribution of a part of the Sage library.
60+
It provides an interface to TOPCOM, a package for computing triangulations
61+
of point configurations and oriented matroids.
62+
63+
extra:
64+
emscripten_tests:
65+
python:
66+
pytest_files:
67+
- test_passagemath_topcom.py
68+
recipe-maintainers:
69+
- mkoeppe
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import pytest
2+
3+
4+
def test_import_passagemath_topcom():
5+
import passagemath_topcom

0 commit comments

Comments
 (0)