blob: 87b2b1af947e74a960e888e41dbd492d930ff331 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python-hpilo
pkgver=4.3
pkgrel=3
pkgdesc='Accessing the HP iLO XML interface from python'
arch=('any')
url='http://seveas.github.io/python-hpilo/'
license=('GPL3')
depends=(
'python>=3.8'
'python<3.9'
)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/seveas/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=('c339825a42187c2b4e070c4a5a8c29282adfdc349120b09a927e2eadca16aa46d3f1cbb15a36b5d32959dd2ff61dce2d6755ac91040ded8bc05907575ed93700')
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"
}
|