blob: 793a90998e765221ac100ab1e12add461630414e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgname=python-pyfmi
pkgver=2.21.0
pkgrel=1
pkgdesc="A package for working with dynamic models compliant with the FMI standard"
url="https://github.com/modelon-community/PyFMI"
arch=(x86_64)
license=(LGPL-3.0-only)
makedepends=(python-setuptools cython)
depends=(glibc fmilib python python-numpy python-scipy python-assimulo)
optdepends=('python-matplotlib: plots')
options=(!lto)
source=("https://github.com/modelon/PyFMI/archive/PyFMI-${pkgver}.tar.gz")
sha256sums=('43c8aa643e741682c5fc37b8c1090e1443634a21aff77b9e8a9a9be82bd6dd4c')
prepare() {
cd "${srcdir}"/PyFMI-PyFMI-${pkgver}
}
package() {
cd "${srcdir}"/PyFMI-PyFMI-${pkgver}
python setup.py build_ext ${MAKEFLAGS} install --root=${pkgdir} --fmil-home=/usr/
}
|