# Maintainer: acxz pkgname=python-gpytorch pkgver=1.3.1 pkgrel=1 pkgdesc='A highly efficient and modular implementation of GPs, with GPU acceleration. Implemented in PyTorch.' arch=('x86_64') url='https://gpytorch.ai' license=('MIT') depends=('python' 'python-pytorch' 'python-scikit-learn' 'python-scipy') makedepends=('python' 'python-setuptools') optdepends=( 'python-black: for [dev] module' 'twine: for [dev] module' 'python-pre-commit: for [dev] module' 'ipython: for [docs/examples] module' 'python-ipykernel: for [docs] module' 'python-sphinx: for [docs] module' 'python-sphinx_rtd_theme: for [docs] module' 'python-nbsphinx: for [docs] module' 'm2r: for [docs] module' 'jupyter: for [examples] module' 'python-matplotlib: for [examples] module' 'python-scipy: for [examples] module' 'python-torchvision: for [examples] module' 'python-tqdm: for [examples] module' 'python-pyro-ppl: for [pyro] module' 'python-pykeops: for [keops] module' 'python-flake8: for [test] module' 'python-flake8-print: for [test] module' 'python-pytest: for [test] module' 'python-nbval: for [test] module' ) source=("$pkgname-$pkgver::https://github.com/cornellius-gp/gpytorch/archive/v$pkgver.tar.gz") sha256sums=('107bd9bf7b8c84d1b9364d91d6e422c9c6b08b6e1b549680cf79a2c4dbdda68e') _pkgname=gpytorch build() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py install --root="$pkgdir"/ --optimize=1 }