summaryrefslogtreecommitdiff
path: root/python-imageio/PKGBUILD
blob: 5e22b55dde1fa1c291fa47f52d5bfbcfde7409ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Erich Eckner <arch at eckner dot net>

pkgname='python-imageio'
_pkgname="${pkgname#*-}"
pkgver=2.13.1
pkgrel=25
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"
}