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