Apache CloudStack for Arch Linux
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
802 B

  1. # Maintainer: Pekka Helenius <pekka dot helenius at fjordtek dot com>
  2. pkgname=python-ipmisim-git
  3. _pkgname=ipmisim
  4. pkgver=0.10.r0.g62dd7c0
  5. pkgrel=1
  6. pkgdesc='Fake IPMI server based on conpot and pyghmi'
  7. arch=('any')
  8. url='https://pypi.org/project/ipmisim/'
  9. license=('Apache2')
  10. depends=(
  11. 'python'
  12. 'python-pycrypto' #AUR package
  13. 'python-future'
  14. 'python-pyghmi'
  15. )
  16. makedepends=('python-setuptools')
  17. provides=(python-ipmisim)
  18. conflicts=(python-ipmisim)
  19. source=(
  20. ${pkgname}::git+https://github.com/shapeblue/${_pkgname}
  21. )
  22. sha256sums=('SKIP')
  23. pkgver() {
  24. cd $pkgname
  25. git describe --long --tags | sed 's/^[a-z]//;s/\([^-]*-g\)/r\1/;s/-/./g'
  26. }
  27. build() {
  28. cd $pkgname
  29. python setup.py build
  30. }
  31. package() {
  32. cd $pkgname
  33. python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
  34. }