Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/pykde4/
Date: Tue, 02 Sep 2014 08:33:26
Message-Id: 1409646786.12003265b0ac60fa20eb59fce66b93f9ab67b64a.kensington@gentoo
1 commit: 12003265b0ac60fa20eb59fce66b93f9ab67b64a
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 2 08:33:06 2014 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 2 08:33:06 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=12003265
7
8 [kde-base/pykde4] Sync with portage.
9
10 Package-Manager: portage-2.2.10
11
12 ---
13 kde-base/pykde4/pykde4-4.14.49.9999.ebuild | 10 +++++++---
14 1 file changed, 7 insertions(+), 3 deletions(-)
15
16 diff --git a/kde-base/pykde4/pykde4-4.14.49.9999.ebuild b/kde-base/pykde4/pykde4-4.14.49.9999.ebuild
17 index 1c76427..1e1ebf3 100644
18 --- a/kde-base/pykde4/pykde4-4.14.49.9999.ebuild
19 +++ b/kde-base/pykde4/pykde4-4.14.49.9999.ebuild
20 @@ -25,7 +25,7 @@ RDEPEND="
21 nepomuk? ( >=dev-libs/soprano-2.9.0 )
22 "
23 DEPEND="${RDEPEND}
24 - dev-lang/python-exec:0[${PYTHON_USEDEP}]
25 + dev-lang/python-exec:2[${PYTHON_USEDEP}]
26 sys-devel/libtool
27 "
28
29 @@ -127,12 +127,16 @@ src_install() {
30 installation() {
31 emake DESTDIR="${D}" install
32
33 - mv "${ED}"/usr/bin/pykdeuic4-{${EPYTHON/python/},${EPYTHON}} || die
34 + mkdir -p "${D%/}$(python_get_scriptdir)" || die
35 + mv "${ED%/}/usr/bin/pykdeuic4-${EPYTHON/python/}" \
36 + "${D%/}$(python_get_scriptdir)"/pykdeuic4 || die
37 +
38 + python_fix_shebang "${D%/}$(python_get_scriptdir)"/pykdeuic4
39 python_optimize
40 }
41 python_foreach_impl run_in_build_dir installation
42
43 - dosym python-exec /usr/bin/pykdeuic4
44 + dosym ../lib/python-exec/python-exec2 /usr/bin/pykdeuic4
45
46 # As we don't call the eclass's src_install, we have to install the docs manually
47 DOCS=("${S}"/{AUTHORS,NEWS,README})