pantry/projects/networkx.org/package.yml

22 lines
591 B
YAML
Raw Normal View History

distributable:
url: git+https://github.com/networkx/networkx.git
ref: ${{version.tag}}
versions:
github: networkx/networkx
strip: /^networkx-/
dependencies:
python.org: '>=3.11'
runtime:
env:
PYTHONPATH: $PYTHONPATH:{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages
build:
- python -m pip install --prefix={{prefix}} .
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
working-directory: ${{prefix}}/lib
2024-04-06 20:22:05 +03:00
test: python -c 'import networkx as nx; print(nx.__version__)' | grep {{version.marketing}}