# Maintainer: Andrew Sun _pkgname=lifelines pkgname=python-lifelines pkgver=0.23.9 pkgrel=1 pkgdesc="Survival analysis in Python" url="https://github.com/CamDavidsonPilon/lifelines" arch=('any') license=('MIT') depends=('python-autograd-gamma' 'python-matplotlib' 'python-pandas') makedepends=('python-setuptools') options=(!emptydirs) source=("${_pkgname}-${pkgver}.tar.gz"::"https://github.com/CamDavidsonPilon/lifelines/archive/v${pkgver}.tar.gz") sha256sums=('11c5025583c1e2bc6475dee80f9c3839a2b3942dfe6f99adea36a1293e265167') build() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }