summaryrefslogtreecommitdiff
path: root/python-imageio/PKGBUILD
blob: 74634ad105b68c9bc6d12c3ea6d5b27c3576520b (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.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"
}