summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c7ec73076be85c68e688e4f1d1cef3711a64495a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Maintainer: Peter Oehme <oehme.pb at gmail dot com>

pkgname=python-pymor
_pkgname=pymor
pkgver=2023.2.0
pkgrel=1
pkgdesc="pyMOR is a software library for building model order reduction applications with the Python programming language"
arch=('x86_64')
url="https://www.pymor.org"
license=('custom')
makedepends=(
  'python-setuptools'
  'python-wheel'
  'python-pytest-runner'
  'python-packaging'
  'python-build'
  'python-installer'
  'python-hatchling'
)
depends=(
  'python-qtpy'
  'python-typer'
  'python-numpy'
  'python-scipy'
  'python-pygments'
  'python-matplotlib'
  'python-pillow'
)
optdepends=(
  'ipython: an enhanced interactive python shell'
  'python-ipyparallel: required for pymor.parallel.ipython'
  'python-opengl: fast solution visualization for builtin discretizations (PySide also required)'
  'python-pyside: Provides LGPL Qt bindings for Python and related tools for binding generation (Python 3 version)'
  'python-sympy: symbolic mathematics'
  'python-pytest: testing framework required to execute unit tests'
  'pyside2: solution visualization for builtin discretizations'
  'python-ipywidgets: notebook GUI elements'
  'python-pytorch: PyTorch open source machine learning framework'
  'jupyter_contrib_nbextensions: modular collection of jupyter extensions'
  'python-pyevtk'
  'python-xmljson'
  'python-meshio'
  'python-lxml'
  'gmsh'
  'python-sphinx'
  'python-slugify'
  'jupyter-bash_kernel'
  'python-sphinx_materialdesign_theme'
  'python-sphinxcontrib-bibtex'
  'python-sphinx-autoapi'
  'python-myst-nb'
  'python-slycot'
  'python-mpi4py'
  'python-docutils'
  'pybind11'
  'python-hypothesis'
  'python-pytest-cov'
  'python-pytest-datadir'
  'ruff'
  'python-hatch'
  'python-ipympl'
  'jupyter-server'
  'qt6-quick3d'
  'python-scikit-fem'
)
source=(https://github.com/pymor/pymor/archive/tags/${pkgver}.tar.gz)
changelog=ChangeLog
sha256sums=('c91e3335ce29605b7c6c36b878940ab58a62d12e0365788632334f947f4bc2e8')

build() {
  echo $(ls)
  cd "${_pkgname}-tags-${pkgver}"
  python -m build --wheel --no-isolation
}

package() {
  cd "${_pkgname}-tags-${pkgver}"
  python -m installer --destdir="${pkgdir}" dist/*.whl
  install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}