summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2016-09-08 14:10:49 +0200
committerMarek Szuba <marecki@gentoo.org>2016-09-08 14:11:26 +0200
commit9c3f27570684bb7361652b13f6e6718fbe0ca5b0 (patch)
treea6ffb35e929a4d0c483d34343d67c850d7e17481 /dev-python/pyicu
parentnet-analyzer/wireshark: Old. (diff)
downloadgentoo-9c3f27570684bb7361652b13f6e6718fbe0ca5b0.tar.gz
gentoo-9c3f27570684bb7361652b13f6e6718fbe0ca5b0.tar.bz2
gentoo-9c3f27570684bb7361652b13f6e6718fbe0ca5b0.zip
dev-python/pyicu: use HTML_DOCS instead of deprecated dohtml
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/pyicu')
-rw-r--r--dev-python/pyicu/pyicu-1.9.3.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-python/pyicu/pyicu-1.9.3.ebuild b/dev-python/pyicu/pyicu-1.9.3.ebuild
index 3214426bd3c5..48ae3b42c06a 100644
--- a/dev-python/pyicu/pyicu-1.9.3.ebuild
+++ b/dev-python/pyicu/pyicu-1.9.3.ebuild
@@ -34,8 +34,8 @@ DOCS=(CHANGES CREDITS README.md)
python_compile_all() {
if use doc; then
einfo "Making documentation from ${EPYTHON} build"
- cd "${BEST_BUILD_DIR}" || die
- epydoc --html --verbose \
+ mkdir -p doc/html || die
+ epydoc --html --verbose -o doc/html \
--url="${HOMEPAGE}" --name="${MY_P}" \
icu.py || die "Making the docs failed!"
fi
@@ -46,8 +46,8 @@ python_test() {
}
python_install_all() {
- distutils-r1_python_install_all
if use doc; then
- dohtml -r ../*/html/*
+ local HTML_DOCS=( doc/html/. )
fi
+ distutils-r1_python_install_all
}