Add sphinx build commands to setup.py

This commit is contained in:
Eric Torres
2019-04-19 09:46:13 -07:00
parent 991d0977aa
commit eb2d8e1512
2 changed files with 7 additions and 2 deletions

View File

@ -7,7 +7,7 @@ arch=('any')
url="https://github.com/etorres4/rbackup"
license=('MIT')
depends=(python rsync)
makedepends=(python-setuptools)
makedepends=(python-sphinx python-setuptools)
checkdepends=(python-hypothesis python-pytest)
backup=(etc/$pkgname/backup.conf
etc/$pkgname/etc-include.conf
@ -19,6 +19,8 @@ sha512sums=('4d389c1669b54f8da3567420d786de065c81c732263068e3ac79f8dab539cf13a35
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py build
python setup.py sphinx_build
}
check() {