View | Details | Raw Unified
Collapse All | Expand All

(-) pygtk-2.10.3.ebuild.orig (-5 / +5 lines)
 Lines 6-13    Link Here 
DESCRIPTION="GTK+2 bindings for Python"
DESCRIPTION="GTK+2 bindings for Python"
HOMEPAGE="http://www.pygtk.org/"
HOMEPAGE="http://www.pygtk.org/"
DOC_FILE="pygtk2reference-2.9.0.tar.bz2"
SRC_URI="${SRC_URI}
SRC_URI="${SRC_URI}
	doc? ( http://www.pygtk.org/dist/pygtk2reference.tbz2 )"
	doc? ( mirror://gnome/sources/pygtk2reference/2.9/${DOC_FILE} )"
LICENSE="LGPL-2.1"
LICENSE="LGPL-2.1"
SLOT="2"
SLOT="2"
 Lines 35-41    Link Here 
src_unpack() {
src_unpack() {
	unpack ${A}
	unpack ${A}
	if use doc; then
	if use doc; then
		unpack pygtk2reference.tbz2
		unpack ${DOC_FILE}
	fi
	fi
	# disable pyc compiling
	# disable pyc compiling
 Lines 57-65    Link Here 
	cp -r examples ${D}/usr/share/doc/${PF}/
	cp -r examples ${D}/usr/share/doc/${PF}/
	if use doc; then
	if use doc; then
		cd "${S}"/../
		cp -r ${WORKDIR}/pygtk2reference/{cursors,icons,images} ${D}/usr/share/gtk-doc/html/pygtk/
		dodir /usr/share/gtk-doc/html
		cp -pPR pygtk2reference	${D}/usr/share/gtk-doc/html/
	fi
	fi
}
}