# Maintainer: Butui Hu pkgname=python-pytorch-lightning _pkgname=pytorch-lightning pkgver=1.0.7 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=('039abdf83069753fa67063a073573cea9b57ee6efa84c2c02987ef74b950ec95c8d149bfdf8cacf5020a00bd5629b800ec605075864554ef9e5d0f3b594917ae') 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: