summaryrefslogtreecommitdiff
path: root/python-hpilo/PKGBUILD
blob: 7a3aad4b2d85e7b6b75681be51afe99868de0f2b (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
26
27
28
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python-hpilo
pkgver=4.4.3
pkgrel=1
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"
}