aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-sphinx-autobuild/APKBUILD
blob: f9c5265767ae230946381ef45501c4ca4f4f5683 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-sphinx-autobuild
_pkgname=sphinx-autobuild
pkgver=0.7.1
pkgrel=1
pkgdesc="Watch a Sphinx directory and rebuild the documentation when a change is detected"
url="https://github.com/GaretJax/sphinx-autobuild"
arch="noarch"
license="MIT"
replaces="py-sphinx-autobuild" #for backwards compatibility
provides="py-sphinx-autobuild=$pkgver-r$pkgrel" #for backwards compatibility
depends="py3-argh py3-livereload py3-pathtools py3-port-for py3-sphinx
	py3-tornado py3-watchdog py3-yaml"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
	fix-requires.patch"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

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

sha512sums="6ecd4cccfcf1f6ecd15ffe39ad166436bc628e9ffb215b96b979cf10a56352640aefb22a858ab05e1fa9153c684af162bf89813331e1c2b12450a0cf2fcd3646  sphinx-autobuild-0.7.1.tar.gz
a5ce0b1c725a1844aa5e62a8f9e5157f34c2a36b08a178cbdeeeedf780494e1f0934bdd9ef1bc1d96893d36879c7f513b14d8789f8cb133949a832d6f11ee2b9  fix-requires.patch"