summaryrefslogtreecommitdiff
path: root/python-imageio/PKGBUILD
blob: 2113b6add2201a7ae1b517ef665384b997b0d10b (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.25.0
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=('e887d8572f4698b6cd6fad832054cbce2550a4165e65704c2f990b500234cc938c68b9840bc8961a7258cf4cfa91c3ac909c7965de689b00b04195ab1120850c')
depends=(
  'python>=3.10'
  'python<3.11'
)
makedepends=(
  'python-setuptools'
)

build() {
  cd "$_pkgname-$pkgver"
  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"
  python setup.py install --root="$pkgdir"
}