aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-sphinx/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-sphinx/APKBUILD')
-rw-r--r--main/py-sphinx/APKBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/main/py-sphinx/APKBUILD b/main/py-sphinx/APKBUILD
index a9a97ed13f..8c596e5fd9 100644
--- a/main/py-sphinx/APKBUILD
+++ b/main/py-sphinx/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=py-sphinx
_pkgname=${pkgname#py-}
-pkgver=1.6.4
+pkgver=1.6.5
pkgrel=0
pkgdesc="Python Documentation Generator"
url="http://sphinx.pocoo.org/"
@@ -18,19 +18,19 @@ source="$_pkgname-$pkgver.tar.gz::https://github.com/sphinx-doc/sphinx/archive/$
builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
# Soure files are modified during build with 2to3 tool, so we cannot
# build it for both Python versions in the same location.
local python; for python in python2 python3; do
- cp -r "$builddir" "$builddir-$python" || return 1
+ cp -r "$builddir" "$builddir-$python"
done
}
build() {
local python; for python in python2 python3; do
cd "$builddir"-$python
- $python setup.py build || return 1
+ $python setup.py build
done
}
@@ -38,7 +38,7 @@ package() {
mkdir -p "$pkgdir"/usr/bin
local name; for name in apidoc autogen build quickstart; do
- ln -s sphinx-$name-3 "$pkgdir"/usr/bin/sphinx-$name || return 1
+ ln -s sphinx-$name-3 "$pkgdir"/usr/bin/sphinx-$name
done
}
@@ -61,12 +61,12 @@ _py() {
install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"-$python
- $python setup.py install --prefix=/usr --root="$subpkgdir" || return 1
+ $python setup.py install --prefix=/usr --root="$subpkgdir"
# Add version suffix to executable files.
local path; for path in "$subpkgdir"/usr/bin/*; do
- mv "$path" "$path-$pyver" || return 1
+ mv "$path" "$path-$pyver"
done
}
-sha512sums="5440c6fea47b93e78d452d40992c4dd677ce05b0b5396bc23eee4059ec83cbcb309e5d40a7a6810624ea3363bc45f078fe9a10bd36f7981c0719cc8bfd0afe09 sphinx-1.6.4.tar.gz"
+sha512sums="3d2ceb17b67db87e235e5601788b0bd0e67d55b392a4ad116b1987a229cdbd46d00517f36c924bc7db0fdbbab63f9f80fd41691ece0ec219e04c0e3ab47866b3 sphinx-1.6.5.tar.gz"