Package Details: python-lightning-bolts 0.5.0-3

Git Clone URL: https://aur.archlinux.org/python-lightning-bolts.git (read-only, click to copy)
Package Base: python-lightning-bolts
Description: Toolbox of models, callbacks, and datasets for AI/ML researchers
Upstream URL: https://github.com/Lightning-AI/lightning-bolts
Licenses: Apache
Submitter: hottea
Maintainer: None
Last Packager: lilac
Votes: 0
Popularity: 0.000000
First Submitted: 2021-05-27 14:13 (UTC)
Last Updated: 2022-08-23 04:20 (UTC)

Latest Comments

trougnouf commented on 2021-09-06 09:56 (UTC)

Building fails. Works with update to 0.3.4:

pkgname=python-lightning-bolts
_pkgname=lightning-bolts
pkgver=0.3.4
pkgrel=1
pkgdesc='Toolbox of models, callbacks, and datasets for AI/ML researchers'
arch=('any')
url='https://github.com/PyTorchLightning/lightning-bolts'
license=('Apache')
depends=(
  python-pytorch
  python-pytorch-lightning
  python-torchmetrics
)
makedepends=(
  python-setuptools
)
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/PyTorchLightning/lightning-bolts/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('edc4e3045b1af18905b605c3393ddd82b2107e0f31fc251f1499f20af2e317b5d4a50a9b146e70e735245c0f828a25c0da8486cbc69cdd54fa6545983fe83077')

get_pyver() {
  python -c 'import sys; print(str(sys.version_info[0]) + "." + str(sys.version_info[1]))'
}

build() {
  cd "${_pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${_pkgname}-${pkgver}"
  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
  rm -rf "${pkgdir}/usr/lib/python$(get_pyver)/site-packages/tests"
}
# vim:set ts=2 sw=2 et: