# Maintainer: Erich Eckner # Contributor: Jaroslav Lichtblau # Contributor: Andrzej Giniewicz pkgname='python-scikit-image' _pkgname="${pkgname#*-}" pkgver=0.19.3 pkgrel=15 pkgdesc="Image processing routines for SciPy" arch=('i686' 'pentium4' 'x86_64') url="http://scikit-image.org/" license=('BSD') _pinned_dependencies=( 'gcc-libs=14.1.1+r1+g43b730b9134' 'glibc>=2.31' ) depends=( "${_pinned_dependencies[@]}" 'cython>=0.29.13' 'python>=3.12' 'python<3.13' 'python-cloudpickle>=0.2.1' 'python-dask>=0.15.0' 'python-pandas>=0.23.0' 'python-pythran' 'python-scikit-learn' 'python-seaborn>=0.7.1' 'python-wheel') makedepends=( 'cython>=0.23') optdepends=( 'python-pyqt4: for imshow(x, fancy=True) and skivi' 'freeimage: for reading various types of image file formats' 'python-pyamg: fast cg_mg mode of random walker segmentation' ) options=('!emptydirs') source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/v${pkgver}.tar.gz") sha512sums=('1e62456075de8daaf44a4e86e260ba4f22b17f6636d4154844af5d705232345bdb5165ba777ea0f4db90a61fe58beb27ae9246cbb855cedf82355115214bef4e') build() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py install --root="${pkgdir}"/ --optimize=1 install -D LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE }