diff options
| author | Michael Palimaka <kensington@gentoo.org> | 2014-09-02 18:33:06 +1000 |
|---|---|---|
| committer | Michael Palimaka <kensington@gentoo.org> | 2014-09-02 18:33:06 +1000 |
| commit | 12003265b0ac60fa20eb59fce66b93f9ab67b64a (patch) | |
| tree | bb3b9e41bcaef75991806d373f3790e6bf558e48 /kde-base/pykde4/pykde4-4.14.49.9999.ebuild | |
| parent | be646859f4831056a3e2b0eecb40885159c3bfd9 (diff) | |
| download | kde-12003265b0ac60fa20eb59fce66b93f9ab67b64a.tar.gz kde-12003265b0ac60fa20eb59fce66b93f9ab67b64a.tar.bz2 kde-12003265b0ac60fa20eb59fce66b93f9ab67b64a.zip | |
[kde-base/pykde4] Sync with portage.
Package-Manager: portage-2.2.10
Diffstat (limited to 'kde-base/pykde4/pykde4-4.14.49.9999.ebuild')
| -rw-r--r-- | kde-base/pykde4/pykde4-4.14.49.9999.ebuild | 10 |
1 files 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 1c76427ec7a..1e1ebf36297 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}) |
