# Contributor: Brandon Bergren <git@bdragon.rtk0.net>
# Maintainer: Brandon Bergren <git@bdragon.rtk0.net>
pkgname=py3-alabaster
_pkgname=alabaster
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=0.7.12
pkgrel=0
pkgdesc="Default theme for Sphinx Documentation Generator"
url="https://pypi.python.org/pypi/alabaster"
arch="noarch"
# Inexact match, due to being derived work of a theme.
license="BSD-3-Clause"
depends="python3 py3-pygments"
makedepends="python3-dev"
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	# Zero tests currently.
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e3bfd0c92ce01f08d5e6d9dc1ef0967ca1f54827e08756f4a0ba7be8d3b8bec7f2e53a169b831ff5ce2d2548f7f52c6e518bcc513e49bb3e4c38274293aebbac  py3-alabaster-0.7.12.tar.gz"