# Maintainer: Erich Eckner # Contributor: Leonid B # Upstream contact: silx at esrf dot fr pkgname=python-pyfai _pkgname=pyFAI pkgver=0.20.0 pkgrel=32 pkgdesc="Fast Azimuthal Integration in Python." arch=('i686' 'pentium4' 'x86_64') url="http://www.silx.org" license=('GPLv3' 'BSD' 'MIT') _pinned_dependencies=( 'gcc-libs=11.1.0' 'glibc>=2.31' ) depends=( "${_pinned_dependencies[@]}" 'cython' 'python<3.10' 'python>=3.9' 'python-bash_kernel' 'python-fabio>=0.5' 'python-h5py' # 'python-hdf5plugin' 'python-ipympl' 'python-matplotlib' # 'python-nbsphinx' 'python-numexpr' 'python-numpy' 'python-opengl' 'python-pyqt5' 'python-scipy' 'python-setuptools' 'python-silx>=0.10' # 'python-transformations' 'python-wheel') makedepends=( 'python-setuptools') source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/silx-kit/${_pkgname}/archive/v${pkgver}.tar.gz") sha512sums=('fcc1821bb60ef01fa3811b6cf9834621378a0b67a513504c3246044a1208bd1122913a3e51965304baa3c5b157202b09eeb19b8d920aad0f6f6a5064eb8e9977') 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" }