# Maintainer: Erich Eckner # Contributor: Leonid B # Upstream contact: silx at esrf dot fr pkgname=python-pyfai _pkgname=pyFAI pkgver=0.21.3 pkgrel=3 pkgdesc="Fast Azimuthal Integration in Python." arch=('i686' 'pentium4' 'x86_64') url="http://www.silx.org" license=('GPLv3' 'BSD' 'MIT') _pinned_dependencies=( 'gcc-libs=12.1.1' 'glibc>=2.31' ) depends=( "${_pinned_dependencies[@]}" 'cython' 'python>=3.10' 'python<3.11' 'python-bash_kernel' 'python-fabio' 'python-h5py' # 'python-hdf5plugin' 'python-ipympl' 'python-matplotlib' # 'python-nbsphinx' 'python-numexpr' 'python-numpy' 'python-pyfai' 'python-opengl' 'python-pyqt5' 'python-scipy' 'python-silx>=0.15.2' # 'python-transformations' 'python-wheel') makedepends=( 'python-setuptools') source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/silx-kit/${_pkgname}/archive/v${pkgver}.tar.gz") sha512sums=('606197b81aefd76d41cae781b742b961509915c6cd3beaac861d63a21d1a4dedf2d543d11dbb952babc325219a1658a4527a49c67d3f54e69c431bcd6fa96ee6') build() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 install -D LICENSES.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -D copyright "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT" }