Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 484404
Collapse All | Expand All

(-)PyQt4-4.10.3-r2.ebuild (-6 / +8 lines)
Lines 5-11 Link Here
5
EAPI=5
5
EAPI=5
6
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
6
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
7
7
8
inherit eutils python-r1 qmake-utils toolchain-funcs
8
inherit eutils multibuild python-r1 qmake-utils toolchain-funcs
9
9
10
DESCRIPTION="Python bindings for the Qt toolkit"
10
DESCRIPTION="Python bindings for the Qt toolkit"
11
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/ http://pypi.python.org/pypi/PyQt"
11
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/ http://pypi.python.org/pypi/PyQt"
Lines 42-48 Link Here
42
42
43
RDEPEND="
43
RDEPEND="
44
	${PYTHON_DEPS}
44
	${PYTHON_DEPS}
45
	dev-lang/python-exec:2[${PYTHON_USEDEP}]
46
	>=dev-python/sip-4.15.0:=[${PYTHON_USEDEP}]
45
	>=dev-python/sip-4.15.0:=[${PYTHON_USEDEP}]
47
	>=dev-qt/qtcore-${QT_PV}
46
	>=dev-qt/qtcore-${QT_PV}
48
	X? (
47
	X? (
Lines 185-199 Link Here
185
184
186
src_install() {
185
src_install() {
187
	installation() {
186
	installation() {
187
		local tmp_root=${D}/tmp
188
		# INSTALL_ROOT is used by designer/Makefile, other Makefiles use DESTDIR.
188
		# INSTALL_ROOT is used by designer/Makefile, other Makefiles use DESTDIR.
189
		emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
189
		emake DESTDIR="${tmp_root}" INSTALL_ROOT="${tmp_root}" install
190
		mkdir -p "${ED}"/usr/lib/python-exec/${EPYTHON} || die
190
191
		mv "${ED}"/usr/bin/pyuic4 "${ED}"/usr/lib/python-exec/${EPYTHON}/ || die
191
		python_doexe "${tmp_root}"/usr/bin/pyuic4
192
		rm "${tmp_root}"/usr/bin/pyuic4 || die
193
194
		multibuild_merge_root "${tmp_root}" "${D}"
192
		python_optimize
195
		python_optimize
193
	}
196
	}
194
	python_foreach_impl run_in_build_dir installation
197
	python_foreach_impl run_in_build_dir installation
195
198
196
	dosym ../lib/python-exec/python-exec2 /usr/bin/pyuic4
197
	dodoc NEWS THANKS
199
	dodoc NEWS THANKS
198
200
199
	if use doc; then
201
	if use doc; then

Return to bug 484404