diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-07-12 12:35:33 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-07-12 12:35:33 +0000 |
commit | 473cb9135da3635f6bcc8056d1c5d9e30f1f2119 (patch) | |
tree | 410e77723e03c14df400907815d449a0354c682e /community/py-sphinx-autobuild | |
parent | a867f96b891b615548dd35f5c1b12644cf7c0186 (diff) | |
download | aports-473cb9135da3635f6bcc8056d1c5d9e30f1f2119.tar.bz2 aports-473cb9135da3635f6bcc8056d1c5d9e30f1f2119.tar.xz |
community/py-sphinx-autobuild: moved from testing. Upgraded to 0.6.0
Diffstat (limited to 'community/py-sphinx-autobuild')
-rw-r--r-- | community/py-sphinx-autobuild/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/py-sphinx-autobuild/APKBUILD b/community/py-sphinx-autobuild/APKBUILD new file mode 100644 index 0000000000..bcacdb59bd --- /dev/null +++ b/community/py-sphinx-autobuild/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=py-sphinx-autobuild +pkgver=0.6.0 +pkgrel=0 +pkgdesc="Watch a Sphinx directory and rebuild the documentation when a change is detected" +url="https://github.com/GaretJax/sphinx-autobuild" +arch="noarch" +license="BSD" +depends="py-argh py-livereload py-pathtools py-yaml py-sphinx py-tornado py-watchdog" +depends_dev="" +makedepends="$depends_dev python-dev" +install="" +subpackages="" +source="sphinx-autobuild-$pkgver.tar.gz::https://github.com/GaretJax/sphinx-autobuild/archive/v$pkgver.tar.gz" + +_builddir="$srcdir"/sphinx-autobuild-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="afa9cf28690436923921d8a2556ccbe8 sphinx-autobuild-0.6.0.tar.gz" +sha256sums="5d9e7032c8c8e3f744fd62b1f707a4cecf4c4bd2c3a0e10fdf611183c2e0936b sphinx-autobuild-0.6.0.tar.gz" +sha512sums="a99d6716a661e5ddb106de2f58dc913ddb15731c1c607d869b19cf69b3fed706b68b02df6dfadfd5093bdaf43fdc38fbc78939c148c3dabcd704d5d52e614e39 sphinx-autobuild-0.6.0.tar.gz" |