Skip to content

Commit

Permalink
Merge pull request #25042 from akhmerov/python-mumps
Browse files Browse the repository at this point in the history
Add python-mumps from pypi
  • Loading branch information
xhochy authored Jan 30, 2024
2 parents bce8c02 + 595dcbb commit 4cd9e85
Showing 1 changed file with 53 additions and 0 deletions.
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

0 comments on commit 4cd9e85

Please sign in to comment.