# Maintainer: Erich Eckner pkgname=python-fisx _pkgname="${pkgname#*-}" pkgver=1.3.1 pkgrel=3 pkgdesc='Enhanced C++ port of the Physics routines used by PyMca' arch=('i686' 'pentium4' 'x86_64') url='https://github.com/vasole/fisx' license=('MIT License') _pinned_dependencies=( 'gcc-libs=13.2.1' 'glibc>=2.31' ) depends=( "${_pinned_dependencies[@]}" 'python>=3.12' 'python<3.13' 'python-numpy') makedepends=( 'cython>=0.17' 'python-setuptools') source=( "${_pkgname}-v${pkgver}.tar.gz::https://github.com/vasole/${_pkgname}/archive/v${pkgver}.tar.gz" ) sha512sums=('572f85e87a6a7d03e3042413863093951c57ad254b9f902ffb2c46843eea54e80113a6bd2550c0c662563cdc6142f80762b2a51f1adb952060173abd39ade7ce') build() { cd "${_pkgname}-${pkgver}" python setup.py build } package() { cd "${_pkgname}-${pkgver}" python setup.py install --skip-build --root="${pkgdir}" --prefix=/usr }