aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-10-01 18:42:55 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-10-01 18:42:55 +0200
commitd105ec287b0144d1ef52b3da575f7bf3443cd39f (patch)
tree62eb937662c60b60bfa22fc43e5d1d3bc384b5dd
parent5c65085353ab4369191d78a1b803b5e5ff1cb39b (diff)
downloadaports-d105ec287b0144d1ef52b3da575f7bf3443cd39f.tar.bz2
aports-d105ec287b0144d1ef52b3da575f7bf3443cd39f.tar.xz
testing/py-sphinx-autobuild: new aport
-rw-r--r--testing/py-sphinx-autobuild/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-sphinx-autobuild/APKBUILD b/testing/py-sphinx-autobuild/APKBUILD
new file mode 100644
index 000000000..b7c71bbd4
--- /dev/null
+++ b/testing/py-sphinx-autobuild/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=py-sphinx-autobuild
+pkgver=0.5.2
+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="a330faad4e325fa377d513a92c466198 sphinx-autobuild-0.5.2.tar.gz"
+sha256sums="a3c990a662dd84072ed359e08e488ddb2a8479d81e1b0dd7a4429ec99442e136 sphinx-autobuild-0.5.2.tar.gz"
+sha512sums="b241157402fc958929949b85b126211668d45849f3aa845cd4948b93259a0c96797b4555fba2666da44d25faaa0230d27db26ff06c53b32338a7ac269d356e8b sphinx-autobuild-0.5.2.tar.gz"