# Maintainer: Erich Eckner pkgname='python-imageio' _pkgname="${pkgname#*-}" pkgver=2.13.1 pkgrel=13 arch=('any') url='https://github.com/xraypy/XrayDB' license=('BSD') pkgdesc='Python library that provides an easy interface to read and write a wide range of image data' source=("$pkgname-$pkgver.tar.gz::https://github.com/imageio/imageio/archive/v$pkgver.tar.gz") sha512sums=('3c5ca6b96a26fc19801d571af3e0d804b4946bf34d8d3ed52b946bdde595a90ff8c0da7fb2949f6a1d2d6ba5799c2feff6bade04de40cb9a807c7cd30e57eaac') depends=( 'python>=3.9' 'python<3.10' ) makedepends=( 'python-setuptools' ) build() { cd "$_pkgname-$pkgver" python setup.py build } package() { cd "$_pkgname-$pkgver" python setup.py install --root="$pkgdir" }