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