summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/py-sphinx/APKBUILD22
1 files changed, 12 insertions, 10 deletions
diff --git a/testing/py-sphinx/APKBUILD b/testing/py-sphinx/APKBUILD
index 921a6b743..c8c1bb534 100644
--- a/testing/py-sphinx/APKBUILD
+++ b/testing/py-sphinx/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=py-sphinx
_pkgname=Sphinx
-pkgver=1.0.6
+pkgver=1.0.7
pkgrel=0
pkgdesc="Python Documentation Generator"
url="http://sphinx.pocoo.org/"
@@ -28,27 +28,29 @@ build() {
package() {
cd "$_builddir"
- python setup.py install --root "$pkgdir"
+ python setup.py install --root "$pkgdir" || return 1
}
doc() {
cd "$_builddir"
- mkdir -p "$subpkgdir"/usr/share/doc/$pkgname
- for doc in AUTHORS CHANGES EXAMPLES LICENSE README TODO; do
- install -Dm644 $doc "$subpkgdir"/usr/share/doc/$pkgname/
+ mkdir -p "$subpkgdir"/usr/share/doc/$pkgname || return 1
+ for _doc in AUTHORS CHANGES EXAMPLES LICENSE README TODO; do
+ install -Dm644 $_doc "$subpkgdir"/usr/share/doc/$pkgname/ \
+ || return 1
done
# Note: Documentation in the 'doc' directory (below), needs to be built
# with sphinx-build once sphinx is installed (see README for details).
#
# Leaving as-is; will be up to the individual user that's interested.
- mkdir -p "$subpkgdir"/usr/share/doc/$pkgname/doc/
- cp -R ./doc/* "$subpkgdir"/usr/share/doc/$pkgname/doc/
- chmod -R 644 "$subpkgdir"/usr/share/doc/$pkgname/doc/
+ mkdir -p "$subpkgdir"/usr/share/doc/$pkgname/doc/ || return 1
+ cp -R ./doc/* "$subpkgdir"/usr/share/doc/$pkgname/doc/ || return 1
+ chmod -R 644 "$subpkgdir"/usr/share/doc/$pkgname/doc/ || return 1
# Fix subdir perms
- find "$subpkgdir"/usr/share/doc/$pkgname/ -type d -exec chmod 755 '{}' \;
+ find "$subpkgdir"/usr/share/doc/$pkgname/ -type d \
+ -exec chmod 755 '{}' \; || return 1
}
-md5sums="4cdb86c7bb7fa2498ac12db844784769 Sphinx-1.0.6.tar.gz"
+md5sums="42c722d48e52d4888193965dd473adb5 Sphinx-1.0.7.tar.gz"