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.

32 lines
738 B

  1. # Maintainer: Pekka Helenius <pekka dot helenius at fjordtek dot com>
  2. pkgname=python-solidfire-sdk-git
  3. _pkgname=solidfire-sdk-python
  4. pkgver=12.3.1.r0.g49fe23e
  5. pkgrel=1
  6. pkgdesc='SolidFire Python SDK for application integration'
  7. arch=('any')
  8. url='https://solidfire.github.io/solidfire-sdk-python/'
  9. license=('Apache2')
  10. depends=('python')
  11. makedepends=('python-setuptools')
  12. provides=(python-solidfire-sdk)
  13. source=(
  14. ${pkgname}::git+https://github.com/solidfire/${_pkgname}
  15. )
  16. sha256sums=('SKIP')
  17. pkgver() {
  18. cd $pkgname
  19. git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
  20. }
  21. build() {
  22. cd $pkgname
  23. python setup.py build
  24. }
  25. package() {
  26. cd $pkgname
  27. python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
  28. }