Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 76791 | Differences between
and this patch

Collapse All | Expand All

(-)pygtk-2.4.1.ebuild.orig (-4 / +9 lines)
Lines 48-57 Link Here
48
	cp -r examples ${D}/usr/share/doc/${PF}/
48
	cp -r examples ${D}/usr/share/doc/${PF}/
49
49
50
	python_version
50
	python_version
51
	mv ${D}/usr/lib/python${PYVER}/site-packages/pygtk.py \
51
	if [ -d ${D}/usr/lib64 ]; then
52
		${D}/usr/lib/python${PYVER}/site-packages/pygtk.py-2.0
52
		LIBDIR=lib64
53
	mv ${D}/usr/lib/python${PYVER}/site-packages/pygtk.pth \
53
	else
54
		${D}/usr/lib/python${PYVER}/site-packages/pygtk.pth-2.0
54
		LIBDIR=lib
55
	fi
56
	mv ${D}/usr/${LIBDIR}/python${PYVER}/site-packages/pygtk.py \
57
		${D}/usr/${LIBDIR}/python${PYVER}/site-packages/pygtk.py-2.0
58
	mv ${D}/usr/${LIBDIR}/python${PYVER}/site-packages/pygtk.pth \
59
		${D}/usr/${LIBDIR}/python${PYVER}/site-packages/pygtk.pth-2.0
55
60
56
	if use doc; then
61
	if use doc; then
57
		cd ${S}/../pygtk2reference
62
		cd ${S}/../pygtk2reference

Return to bug 76791