# Maintainer: Erich Eckner pkgname='python-imageio' _pkgname="${pkgname#*-}" pkgver=2.34.2 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=('07e5f2fbb46ba653eb3de4f59d4c04d77405e4c7d680a4f853b9b95bc7de48f33866a53f37f56cc8ae0b9e0f505771ab1aa57db9dd975db90077ce8ba0060f9f') 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" }