commit: 12003265b0ac60fa20eb59fce66b93f9ab67b64a Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Tue Sep 2 08:33:06 2014 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Tue Sep 2 08:33:06 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=12003265
[kde-base/pykde4] Sync with portage. Package-Manager: portage-2.2.10 --- kde-base/pykde4/pykde4-4.14.49.9999.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/kde-base/pykde4/pykde4-4.14.49.9999.ebuild b/kde-base/pykde4/pykde4-4.14.49.9999.ebuild index 1c76427..1e1ebf3 100644 --- a/kde-base/pykde4/pykde4-4.14.49.9999.ebuild +++ b/kde-base/pykde4/pykde4-4.14.49.9999.ebuild @@ -25,7 +25,7 @@ RDEPEND=" nepomuk? ( >=dev-libs/soprano-2.9.0 ) " DEPEND="${RDEPEND} - dev-lang/python-exec:0[${PYTHON_USEDEP}] + dev-lang/python-exec:2[${PYTHON_USEDEP}] sys-devel/libtool " @@ -127,12 +127,16 @@ src_install() { installation() { emake DESTDIR="${D}" install - mv "${ED}"/usr/bin/pykdeuic4-{${EPYTHON/python/},${EPYTHON}} || die + mkdir -p "${D%/}$(python_get_scriptdir)" || die + mv "${ED%/}/usr/bin/pykdeuic4-${EPYTHON/python/}" \ + "${D%/}$(python_get_scriptdir)"/pykdeuic4 || die + + python_fix_shebang "${D%/}$(python_get_scriptdir)"/pykdeuic4 python_optimize } python_foreach_impl run_in_build_dir installation - dosym python-exec /usr/bin/pykdeuic4 + dosym ../lib/python-exec/python-exec2 /usr/bin/pykdeuic4 # As we don't call the eclass's src_install, we have to install the docs manually DOCS=("${S}"/{AUTHORS,NEWS,README})