Skip to content

Commit c516eb6

Browse files
authored
Add passagemath-nauty (#5783)
* recipes/recipes_emscripten/passagemath-nauty: New * recipes/recipes_emscripten/passagemath-nauty: Add run dep passagemath-graphs * recipes/recipes_emscripten/passagemath-nauty: Add run dep nauty
1 parent 510dbd1 commit c516eb6

2 files changed

Lines changed: 72 additions & 0 deletions

File tree

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
context:
2+
version: 10.8.4
3+
4+
package:
5+
name: passagemath-nauty
6+
version: ${{ version }}
7+
8+
source:
9+
- url: https://pypi.org/packages/source/p/passagemath-nauty/passagemath_nauty-${{ version }}.tar.gz
10+
sha256: 17c20f475241f3a44970f665fcdf8eb321b74e105ce946f96df453971fb05180
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+
- nauty
33+
- passagemath-categories
34+
run:
35+
- python
36+
- nauty
37+
- passagemath-categories
38+
- passagemath-graphs
39+
40+
tests:
41+
- script: pytester
42+
files:
43+
recipe:
44+
- test_passagemath_nauty.py
45+
requirements:
46+
build:
47+
- pytester
48+
run:
49+
- pytester-run
50+
- passagemath-repl
51+
52+
about:
53+
license: GPL-2.0-or-later
54+
license_file: README.rst
55+
summary: 'passagemath: Find automorphism groups of graphs, generate non-isomorphic graphs with nauty'
56+
description: |
57+
Distribution of a part of the Sage library.
58+
It provides an interface to nauty and traces, the programs for computing
59+
automorphism groups of graphs and digraphs.
60+
61+
extra:
62+
emscripten_tests:
63+
python:
64+
pytest_files:
65+
- test_passagemath_nauty.py
66+
recipe-maintainers:
67+
- 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_nauty():
5+
import passagemath_nauty

0 commit comments

Comments
 (0)