summaryrefslogtreecommitdiff
path: root/kde-base/pykde4/pykde4-4.3.90.ebuild
diff options
context:
space:
mode:
authorMaciej Mrozowski (reavertm) <reavertm@poczta.fm>2010-01-19 13:09:01 +0100
committerMaciej Mrozowski (reavertm) <reavertm@poczta.fm>2010-01-19 13:09:01 +0100
commitacb8b5ee88f30b9d27574e44a720047a9ba9f0bf (patch)
tree9430e785ef5901e998a079fcd9bf9fd370765730 /kde-base/pykde4/pykde4-4.3.90.ebuild
parent778b846b611a37200434098ef5ce78a29aacc739 (diff)
downloadkde-acb8b5ee88f30b9d27574e44a720047a9ba9f0bf.tar.gz
kde-acb8b5ee88f30b9d27574e44a720047a9ba9f0bf.tar.bz2
kde-acb8b5ee88f30b9d27574e44a720047a9ba9f0bf.zip
[kde-base/pykde4] Install API docs (doc USE flag).
Diffstat (limited to 'kde-base/pykde4/pykde4-4.3.90.ebuild')
-rw-r--r--kde-base/pykde4/pykde4-4.3.90.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/kde-base/pykde4/pykde4-4.3.90.ebuild b/kde-base/pykde4/pykde4-4.3.90.ebuild
index 5f566b4292e..22790f2cac9 100644
--- a/kde-base/pykde4/pykde4-4.3.90.ebuild
+++ b/kde-base/pykde4/pykde4-4.3.90.ebuild
@@ -13,13 +13,13 @@ inherit python kde4-meta
DESCRIPTION="Python bindings for KDE4"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="akonadi debug examples semantic-desktop"
+IUSE="akonadi debug doc examples semantic-desktop"
DEPEND="
$(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
akonadi? ( $(add_kdebase_dep kdepimlibs) )
- aqua? ( >=dev-python/PyQt4-4.7_pre[dbus,sql,svg,webkit,aqua] )
- !aqua? ( >=dev-python/PyQt4-4.7_pre[dbus,sql,svg,webkit,X] )
+ aqua? ( >=dev-python/PyQt4-4.7[dbus,sql,svg,webkit,aqua] )
+ !aqua? ( >=dev-python/PyQt4-4.7[dbus,sql,svg,webkit,X] )
"
# blocker added due to compatibility issues and error during compile time
RDEPEND="${DEPEND}
@@ -90,6 +90,10 @@ src_test() {
}
src_install() {
+ if use doc; then
+ dohtml -r "${S}"/python/pykde4/docs/html/* || die 'dohtml failed'
+ fi
+
do_src_install() {
CMAKE_USE_DIR="${S}-${PYTHON_ABI}"
kde4-meta_src_install