# Contributor: Carlo Landmeter # Maintainer: Fabian Affolter pkgname=py3-sphinx _pkgname=${pkgname#py3-} pkgver=2.2.0 pkgrel=2 pkgdesc="Python Documentation Generator" url="http://sphinx.pocoo.org/" arch="noarch" license="BSD" depends="py3-docutils py3-jinja2 py3-pygments py3-six py3-sphinx_rtd_theme py3-alabaster<0.8 py3-babel py3-snowballstemmer py3-imagesize py3-requests py3-sphinxcontrib-websupport py3-setuptools py3-packaging py3-sphinxcontrib-applehelp py3-sphinxcontrib-devhelp py3-sphinxcontrib-jsmath py3-sphinxcontrib-htmlhelp py3-sphinxcontrib-serializinghtml py3-sphinxcontrib-qthelp py3-attrs make" makedepends="python3-dev py3-setuptools" checkdepends="py3-pytest py3-funcsigs py3-pluggy" options="!check" # py3-pluggy and some other packages needs to be moved to main first source="$_pkgname-$pkgver.tar.gz::https://github.com/sphinx-doc/sphinx/archive/v$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { make PYTHON=python3 test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="0738969dfe73f135eec710e4f6614c23c399778776cfeed0fb3422c25c1072be04c4e666143d902643778ff826dabd32579014df4f048510d03bf762fc1d35d5 sphinx-2.2.0.tar.gz"