# Maintainer: Erich Eckner pkgname=python-hpilo pkgver=4.4.3 pkgrel=20 pkgdesc='Accessing the HP iLO XML interface from python' arch=('any') url='http://seveas.github.io/python-hpilo/' license=('GPL3') depends=( 'python>=3.9' 'python<3.10' ) makedepends=( 'python-setuptools' ) source=("${pkgname}-${pkgver}.tar.gz::https://github.com/seveas/${pkgname}/archive/${pkgver}.tar.gz") sha512sums=('a5618e20e95f2a584fb2c5a5e82274cc2492a8773eb5d5da9428057d964a42c8c09ebfda8c30129fdb232cca33ae6b8a59cf65faee643a5cb7e69861348ad6f6') build() { cd "${srcdir}/${pkgname}-${pkgver}" python setup.py build } package() { cd "${srcdir}/${pkgname}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 install -D COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }