aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sphinxcontrib-testbuild
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-10 09:02:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-02 09:02:52 +0000
commit43507510a87dfa412cc1ce0cb2e25c9fc03e121a (patch)
treeaf24437e932e71f0bd1677101b1921ed89f89b0f /testing/py-sphinxcontrib-testbuild
parentad6db59db19fefb72aa1343dca0ea7928d3fc316 (diff)
downloadaports-43507510a87dfa412cc1ce0cb2e25c9fc03e121a.tar.bz2
aports-43507510a87dfa412cc1ce0cb2e25c9fc03e121a.tar.xz
testing/py-sphinxcontrib-testbuild: new aport
Sphinx testbuild extension https://pypi.python.org/pypi/sphinxcontrib-testbuild
Diffstat (limited to 'testing/py-sphinxcontrib-testbuild')
-rw-r--r--testing/py-sphinxcontrib-testbuild/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-sphinxcontrib-testbuild/APKBUILD b/testing/py-sphinxcontrib-testbuild/APKBUILD
new file mode 100644
index 0000000000..2d59d29726
--- /dev/null
+++ b/testing/py-sphinxcontrib-testbuild/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-sphinxcontrib-testbuild
+_pkgname=sphinxcontrib-testbuild
+pkgver=0.1.3
+pkgrel=0
+pkgdesc="Sphinx testbuild extension"
+url="https://pypi.python.org/pypi/sphinxcontrib-testbuild"
+arch="noarch"
+license="BSD"
+depends="python py-sphinx"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
+
+_builddir="$srcdir"/$_pkgname-$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="b4f2ca908d2daca176b148a712e79d19 sphinxcontrib-testbuild-0.1.3.zip"
+sha256sums="ccbcac7769dbaa260a09106a9d729def505084ee916eb861f963c05b07bfda4d sphinxcontrib-testbuild-0.1.3.zip"
+sha512sums="86eb9f6abbe7b4931fbd90962274d17fe5efdbcdbeff6d77eea9d4dbd8deda1a2ef11cb223ae997fc32297e0625c4c7239b7ab3478552e9ab272b00573e163fc sphinxcontrib-testbuild-0.1.3.zip"