diff options
author | Erich Eckner <git@eckner.net> | 2020-02-24 10:05:52 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-24 10:23:52 +0100 |
commit | 4a1b33e63eec5ae9ffe3931af5de782e55c8355f (patch) | |
tree | b36da15e206596dcb0c6f9d065e32c5d1667b582 | |
parent | 8ef5fd6ef2c60959568e8fafd179cdf8eba181f9 (diff) | |
download | archlinuxewe-4a1b33e63eec5ae9ffe3931af5de782e55c8355f.tar.xz |
python-imageio neu
-rw-r--r-- | python-imageio/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/python-imageio/PKGBUILD b/python-imageio/PKGBUILD new file mode 100644 index 000000000..94a70a8f8 --- /dev/null +++ b/python-imageio/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> + +pkgname='python-imageio' +_pkgname="${pkgname#*-}" +pkgver=2.8.0 +pkgrel=1 +arch=('i686' 'pentium4' 'x86_64') +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=('679cad2be0e4e360e0c42f9cd330d9d6660ccb86202846b15170f52b684560f3b4fa72f477ad8fd9be7acb4aa532d880b1f1174066eebc453fb9e9858de92700') +depends=( + 'python>=3.8' + 'python<3.9' +) +makedepends=( + 'python-setuptools' +) + +build() { + cd "$_pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$_pkgname-$pkgver" + python setup.py install --root="$pkgdir" +} |