# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=python-oslosphinx
pkgver=4.18.0
pkgrel=6
pkgdesc="OpenStack Sphinx Extensions and Theme"
arch=('any')
url="https://github.com/openstack/oslosphinx"
license=('Apache')
depends=('python-six' 'python-requests')
makedepends=('python-pbr')
checkdepends=('python-sphinx')
source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/oslosphinx/archive/$pkgver.tar.gz")
sha512sums=('47bd8912c47400538839e5b9ac0a81ecb2b7bbf30e83daade32046b3a1a70d892b53b7418ee59270fb36cddf6103214cef64d86c52602070c04ade2af29b3122')

export PBR_VERSION=$pkgver

build() {
  cd oslosphinx-$pkgver
  python setup.py build
}

package() {
  cd oslosphinx-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1
}

# vim:set ts=2 sw=2 et:
