# Maintainer: Butui Hu _pkgname=albumentations pkgname=python-albumentations pkgver=1.4.6 pkgrel=1 pkgdesc='Fast image augmentation library and easy to use wrapper around other libraries' arch=('any') url='https://github.com/albumentations-team/albumentations' license=('MIT') depends=( python-imgaug python-numpy python-opencv python-pillow python-qudida python-tqdm python-yaml ) makedepends=( python-setuptools ) source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/albumentations-team/albumentations/archive/${pkgver}.tar.gz") sha512sums=('c322e6a6bb39ae872f43cdf7e93b3d29bd06f61bdc673031eab40b81a76d30928b84f27477f1acef65b2561c7797d8e47b7ff3d174e4b53dfb4ab10d67a8ce9a') build() { cd "${_pkgname}-${pkgver}" python setup.py build } package() { cd "${_pkgname}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 --skip-build install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } # vim:set ts=2 sw=2 et: