View | Details | Raw Unified
Collapse All | Expand All

(-) pygtk-2.10.3.ebuild.orig (-11 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/"
SRC_URI="${SRC_URI}
	doc? ( http://www.pygtk.org/dist/pygtk2reference.tbz2 )"
LICENSE="LGPL-2.1"
LICENSE="LGPL-2.1"
SLOT="2"
SLOT="2"
 Lines 34-42    Link Here 
src_unpack() {
src_unpack() {
	unpack ${A}
	unpack ${A}
	if use doc; then
		unpack pygtk2reference.tbz2
	fi
	# disable pyc compiling
	# disable pyc compiling
	mv "${S}"/py-compile "${S}"/py-compile.orig
	mv "${S}"/py-compile "${S}"/py-compile.orig
 Lines 55-66    Link Here 
	dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO
	dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO
	rm examples/Makefile*
	rm examples/Makefile*
	cp -r examples ${D}/usr/share/doc/${PF}/
	cp -r examples ${D}/usr/share/doc/${PF}/
	if use doc; then
		cd "${S}"/../
		dodir /usr/share/gtk-doc/html
		cp -pPR pygtk2reference	${D}/usr/share/gtk-doc/html/
	fi
}
}
src_test() {
src_test() {