blob: ac7150c3d88c0c90c8e7ea3a98a3ff2e57abe981 (
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
|
# Maintainer: Alexander Bocken <alexander@bocken.org>
# Contributor: dianlujitao <dianlujitao at gmail dot com>
pkgname=python-imgaug
pkgver=0.4.0
pkgrel=2
pkgdesc="Image augmentation for machine learning experiments"
url="https://github.com/aleju/imgaug"
depends=('python' 'python-six' 'python-numpy' 'python-scipy' 'python-scikit-image')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("imgaug-$pkgver.tar.gz::https://github.com/aleju/imgaug/archive/$pkgver.tar.gz")
sha256sums=('fae8ed6e038b57fd7d8f55d813dee3f3784da36368bdf902879fd40ecf5ed7e2')
build() {
cd $srcdir/imgaug-$pkgver
python setup.py build
}
package() {
cd $srcdir/imgaug-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|