Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add python-mumps from pypi #25042

Merged
merged 11 commits into from
Jan 30, 2024
53 changes: 53 additions & 0 deletions recipes/python-mumps/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{% set name = "python-mumps" %}
{% set version = "0.0.1.post1" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/python_mumps-{{ version }}.tar.gz
sha256: 58bf081147c7a4c8fb80ca30a5f5008bd816bc6349fd969edad8dda058648bdb

build:
skip: true # [py<39]
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
build:
- {{ compiler('c') }}
host:
- python
- cython >=3.0.2
- meson >=1.1.0
- meson-python >=0.15.0
- numpy 1.23
- mumps-seq >=5.6
- setuptools-scm
- pip
run:
- python
- {{ pin_compatible('numpy') }}
- scipy >=1.9
- mumps-seq >=5.6

test:
imports:
- mumps
commands:
- pip check
- python -c "import mumps; mumps.test()"
requires:
- pip
- pytest

about:
home: https://gitlab.kwant-project.org/kwant/python-mumps
summary: Bindings and Python interface for the MUMPS sparse solver
license: BSD-2-Clause
license_file: LICENSE

extra:
recipe-maintainers:
- akhmerov