summaryrefslogtreecommitdiff
path: root/user/py3-docutils
diff options
context:
space:
mode:
Diffstat (limited to 'user/py3-docutils')
-rw-r--r--user/py3-docutils/APKBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/user/py3-docutils/APKBUILD b/user/py3-docutils/APKBUILD
index 30e60456d..c07253ad7 100644
--- a/user/py3-docutils/APKBUILD
+++ b/user/py3-docutils/APKBUILD
@@ -4,21 +4,20 @@ pkgname=py3-docutils
_pkgname=docutils
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
-pkgver=0.14
+pkgver=0.15.2
pkgrel=0
pkgdesc="Documentation utilities for Python"
url="https://pypi.python.org/pypi/docutils"
arch="noarch"
# Certified net clean
license="Custom"
-depends="python3 py3-pillow py3-roman"
+depends="python3 py3-pillow"
makedepends="python3-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$builddir"
python3 setup.py build
}
@@ -28,7 +27,6 @@ check() {
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
# Remove .py extension from executable files.
@@ -38,8 +36,9 @@ package() {
}
doc() {
- cd "$builddir"
+ default_doc
+ cd "$builddir"
local docdir="$subpkgdir/usr/share/doc/$pkgname"
mkdir -p "$docdir"
cp -R docs/* "$docdir"
@@ -51,4 +50,4 @@ doc() {
cp licenses/* "$licdir"
}
-sha512sums="1ed72c2ef7d2ca38d1c6f3154b7986ea46f599d9bd826405a5257fdd7740c8626957d6298aa95fb0edea8a24515de22f1ad9b2ecbd59341a1ab7a2bab30f500c py3-docutils-0.14.tar.gz"
+sha512sums="b4528c7eba5a27e40f290a9df6894c277d11906d02f6842b9f364b29af9aa1e46f6008c87e4355947bcfa9f2db1cae9f38cf9fa7b8008ba45fa6d685922003a6 py3-docutils-0.15.2.tar.gz"