# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-sphinxcontrib-newsfeed
_pyname=sphinxcontrib-newsfeed
pkgver=0.1.4
pkgrel=5
pkgdesc="News Feed extension for Sphinx"
url="https://github.com/prometheusresearch/sphinxcontrib-newsfeed"
arch="noarch"
license="BSD-2-Clause"
options="!check"  # no tests
depends="python3 py3-sphinx"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="96d9d0c15fca8b62f945bafc8f0eafa62df9c471f7510e2f153e47b66534e5f3041e5c01df772e6c35a9f09baa70064642f7f0fa43ccfd33dd64c2604494f2fc  sphinxcontrib-newsfeed-0.1.4.tar.gz"
