# Maintainer: Erich Eckner pkgname='python-imageio' _pkgname="${pkgname#*-}" pkgver=2.36.1 pkgrel=1 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=('05695cb1530612ecbc002de3560fe6bafd11c6ad3fcff570b0309a4a9793820109163819fce4763052b8e442daec13ae09e0e2666b2deaea6c52ca76a9ae5386') depends=( 'python>=3.12' 'python<3.13' ) makedepends=( 'python-setuptools' ) build() { cd "$_pkgname-$pkgver" python setup.py build } package() { cd "$_pkgname-$pkgver" python setup.py install --root="$pkgdir" }