# Maintainer: Butui Hu pkgname=python-pytorch-lightning _pkgname=pytorch-lightning pkgver=1.1.0 pkgrel=1 pkgdesc="The lightweight PyTorch wrapper for high-performance AI research" arch=('any') url='https://github.com/PyTorchLightning/pytorch-lightning' license=('Apache') depends=( 'python-fsspec' 'python-pandas' 'python-pyaml' 'python-numpy' 'python-scikit-learn' 'python-pytorch' 'python-torchvision' 'python-twine' 'python-tqdm' ) optdepends=( 'python-apex: mixed precision support' 'tensorboard: tensorboard support' 'python-horovod: for distributed training' ) makedepends=('python-setuptools') source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/PyTorchLightning/pytorch-lightning/archive/${pkgver}.tar.gz") sha512sums=('744168124f626b0ee783973985a28f1e238d68867b6ae07c852515e965a9008b411f6c389b321ece6e619272ae60329dbb6802cabbb3f217e04eee1e31df44c6') build() { cd "${_pkgname}-${pkgver}" python setup.py build } package() { cd "${_pkgname}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 --skip-build } # vim:set ts=2 sw=2 et: