aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory M. Tuner <gmt@be-evil.net>2014-04-24 01:19:18 -0700
committerGregory M. Tuner <gmt@be-evil.net>2014-04-24 01:19:18 -0700
commit6bcf08a5320a359b83884fa3e1a48ed20fcc37d9 (patch)
tree423d7f3ffde6a2887cef1f83dda34db2498af314 /kde-base
parentdev-python/numpy: oops, update Manifest (diff)
downloadgmt-6bcf08a5320a359b83884fa3e1a48ed20fcc37d9.tar.gz
gmt-6bcf08a5320a359b83884fa3e1a48ed20fcc37d9.tar.bz2
gmt-6bcf08a5320a359b83884fa3e1a48ed20fcc37d9.zip
kde-base/pykde4-4.{12.4,13.0}-r1: revbump/merge
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/pykde4/ChangeLog69
-rw-r--r--kde-base/pykde4/Manifest6
-rw-r--r--kde-base/pykde4/pykde4-4.12.4-r1.ebuild163
-rw-r--r--kde-base/pykde4/pykde4-4.13.0-r1.ebuild163
4 files changed, 399 insertions, 2 deletions
diff --git a/kde-base/pykde4/ChangeLog b/kde-base/pykde4/ChangeLog
index 014c482..5c355a0 100644
--- a/kde-base/pykde4/ChangeLog
+++ b/kde-base/pykde4/ChangeLog
@@ -1,6 +1,73 @@
# ChangeLog for kde-base/pykde4
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.255 2014/01/10 04:32:17 creffett Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.273 2014/04/17 00:43:37 johu Exp $
+
+ 16 Apr 2014; Johannes Huber <johu@gentoo.org> pykde4-4.13.0.ebuild:
+ Restore KEYWORDS for KDE SC 4.13.0
+
+*pykde4-4.13.0 (16 Apr 2014)
+
+ 16 Apr 2014; Johannes Huber <johu@gentoo.org> +pykde4-4.13.0.ebuild:
+ Version bump KDE SC 4.13.0
+
+ 01 Apr 2014; Johannes Huber <johu@gentoo.org>
+ files/kpythonpluginfactorywrapper.c-r1, files/pykde4-4.10.1-arm-sip.patch:
+ Version bump KDE Workspace 4.11.8
+
+*pykde4-4.12.4 (01 Apr 2014)
+
+ 01 Apr 2014; Johannes Huber <johu@gentoo.org> +pykde4-4.12.4.ebuild:
+ Version bump KDE SC 4.12.4
+
+ 11 Mar 2014; Johannes Huber <johu@gentoo.org> -pykde4-4.12.2.ebuild:
+ Remove KDE SC 4.12.2
+
+ 04 Mar 2014; Johannes Huber <johu@gentoo.org>
+ files/kpythonpluginfactorywrapper.c-r1, files/pykde4-4.10.1-arm-sip.patch:
+ Version bump KDE Workspace 4.11.7
+
+*pykde4-4.12.3 (04 Mar 2014)
+
+ 04 Mar 2014; Johannes Huber <johu@gentoo.org> +pykde4-4.12.3.ebuild:
+ Version bump KDE SC 4.12.3
+
+ 25 Feb 2014; Chris Reffett <creffett@gentoo.org> pykde4-4.11.5.ebuild,
+ pykde4-4.12.2.ebuild:
+ Change base_src_install_docs calls to einstalldocs calls wrt bug 501544
+
+ 23 Feb 2014; Agostino Sarubbo <ago@gentoo.org> -pykde4-4.11.2-r1.ebuild:
+ Remove old
+
+ 23 Feb 2014; Agostino Sarubbo <ago@gentoo.org> pykde4-4.11.5.ebuild:
+ Stable for ppc64, wrt bug #493782
+
+ 20 Feb 2014; Agostino Sarubbo <ago@gentoo.org> pykde4-4.11.5.ebuild:
+ Stable for ppc, wrt bug #493782
+
+ 16 Feb 2014; Agostino Sarubbo <ago@gentoo.org> pykde4-4.11.5.ebuild:
+ Stable for x86, wrt bug #493782
+
+ 14 Feb 2014; Johannes Huber <johu@gentoo.org> -pykde4-4.12.1.ebuild:
+ Remove KDE SC 4.12.1
+
+ 09 Feb 2014; Agostino Sarubbo <ago@gentoo.org> pykde4-4.11.5.ebuild:
+ Stable for amd64, wrt bug #493782
+
+*pykde4-4.12.2 (06 Feb 2014)
+
+ 06 Feb 2014; Andreas K. Huettel <dilfridge@gentoo.org> +pykde4-4.12.2.ebuild:
+ Version bump KDE SC 4.12.2
+
+ 20 Jan 2014; Michael Palimaka <kensington@gentoo.org> -pykde4-4.12.0.ebuild:
+ Remove KDE SC 4.12.0
+
+ 20 Jan 2014; Michael Palimaka <kensington@gentoo.org> pykde4-4.11.5.ebuild:
+ Restore keywords that were accidentally omitted.
+
+*pykde4-4.12.1 (18 Jan 2014)
+
+ 18 Jan 2014; Andreas K. Huettel <dilfridge@gentoo.org> +pykde4-4.12.1.ebuild:
+ Version bump KDE SC 4.12.1
10 Jan 2014; Chris Reffett <creffett@gentoo.org> -pykde4-4.11.4.ebuild:
Remove KDE SC 4.11.4
diff --git a/kde-base/pykde4/Manifest b/kde-base/pykde4/Manifest
index 4b9939e..9a15c2a 100644
--- a/kde-base/pykde4/Manifest
+++ b/kde-base/pykde4/Manifest
@@ -1,6 +1,10 @@
AUX kpythonpluginfactorywrapper.c-r1 1255 SHA256 f89773e5b44515093a0434a2c8925097d0dc358b58fa11a125e732d191727576 SHA512 aa167083a56dc0f7d03c282cc4adec062f56d610ed39c55fbe1dea918d08427e86da392b25b0982c7db6c69adeb342bd6e53b290f24c1de028d9f945e0df1229 WHIRLPOOL 96a08f80bc88cf1d278dc7980a585d8e7b29945a6a9df1cdf6d685434996f861cc9b50a849848415298953a922892e7096d32b2d37aa8edc47755b9506d6b77d
AUX pykde4-4.10.1-arm-sip.patch 630 SHA256 0697830f7207838640e3f47b13c5996260b7e1c742e965dff0ed6e2cfe66ffa2 SHA512 8d976e65cea346a7bf3b8af1e8d3fc8b59fbabd05515daa63b13943317b8d8b1f99e39fdb07c43d64017dafea94def1b6c4c95aefa37fe2ca025f93f28e67741 WHIRLPOOL d6d8a7d259afc2cae26dd905d72721523868142817edee868300a7a4f98311bce844739bb42b09ab0a91f2cb81a15db83a162b1d8deacfadf33c55df62ce40ab
DIST pykde4-4.12.3.tar.xz 2005056 SHA256 500573236af1a08279b02c1c8342d73a8e3596611cf2a9b602e160367960a1b8 SHA512 a87c35ebdeb183396d312eaac37fc7a76ecd58eafd49a39fb8fdc12c26a613d330c54bc180197e1ac9fd51bc6512ed1dfe72cfbcd516ed98e978210a73e94d8d WHIRLPOOL bf516a5ce0fa44c4ee6250f4e635026abd37360d9bb640e81b3b25bb4be20e1f562c983f95b1f708790d211e859ebb2e9fe2fc24495acdf8e4b33b1ac0427ed0
+DIST pykde4-4.12.4.tar.xz 2005196 SHA256 af7666962c79bfd1160ece925a0063c9523118caf4d51ea6eb036da71f96f701 SHA512 e35f919bdc4f6bb65f4d317e3867cc0ebebe51403ba92dc12d88505db3ff0967a4d84a708a2f38a2864ce66de7b9c063c37bb429305bc341a93878845fbfdb70 WHIRLPOOL 019d7fc2b513a8ad3a993ed9e8f16f443f66f931e6e6ce3646860694cca7e26f5f7dda52b60a84dbacc2f3b871b77bd78ea8b03d28aaa9c396ba24354cf3331b
+DIST pykde4-4.13.0.tar.xz 2005396 SHA256 089f75794b5559ddd7541713d134e9455c31a57ebb8143c11c5860c62a72ea5d SHA512 d8e9d8bc32fd215235231c3c02de2efe9b93bed97159cb629755944f591b53c7ddbbfdd442595ae8b86df5f9bacb2e05f08a3f1e925e26b13af3887d7db1efc6 WHIRLPOOL bea3533be45577584f5e3a28a2331684900a26cfd4b3d72822824ea4bfda376e1fd8dd65b3bb8e26122601cdd66387762f564e8635dd1ece8767ff4294681068
EBUILD pykde4-4.12.3-r1.ebuild 4223 SHA256 0a094eea12de3147a2eb9a642631d0f85b40fa1a2dded68c6ba1efde4a32adff SHA512 1581195b5360852bbe328a6c268f14301793a3720a5f088112a091274d41fedf1f8dec5d25fa7eb1633657b9569b7cdc58c0e2046c0758746672e590e8f77927 WHIRLPOOL 3938daf0f2292ce51f82f72b6c2a8ac21b4665a8940e3d9fa93e4a044c019e350157077a882d32d296eae9c83939e4f1a76359fdcaa0ce39cd1455fff452b8f2
-MISC ChangeLog 33126 SHA256 0e3dd167ae0991ba5d7f8840e365be0afe27222c6bf3ce3e0be61f3d6a3eaff5 SHA512 fb2d95ff39931a6d3ab731d91aeda1a34ef59359576cf5c90fd4ab7068fc6b08efe145979539975107fab0415698e045062b16dd46d4646fced9c741d5a7adbd WHIRLPOOL 7571a5b1bfe5f42e16affc44ff928c76b00f2b4c29b211e896d8f9564f6e7a344b880a62296b009402fe09ec362adfb50ab3fd98bfee6c3379ec9dcb8bad3cea
+EBUILD pykde4-4.12.4-r1.ebuild 4223 SHA256 0a094eea12de3147a2eb9a642631d0f85b40fa1a2dded68c6ba1efde4a32adff SHA512 1581195b5360852bbe328a6c268f14301793a3720a5f088112a091274d41fedf1f8dec5d25fa7eb1633657b9569b7cdc58c0e2046c0758746672e590e8f77927 WHIRLPOOL 3938daf0f2292ce51f82f72b6c2a8ac21b4665a8940e3d9fa93e4a044c019e350157077a882d32d296eae9c83939e4f1a76359fdcaa0ce39cd1455fff452b8f2
+EBUILD pykde4-4.13.0-r1.ebuild 4223 SHA256 0a094eea12de3147a2eb9a642631d0f85b40fa1a2dded68c6ba1efde4a32adff SHA512 1581195b5360852bbe328a6c268f14301793a3720a5f088112a091274d41fedf1f8dec5d25fa7eb1633657b9569b7cdc58c0e2046c0758746672e590e8f77927 WHIRLPOOL 3938daf0f2292ce51f82f72b6c2a8ac21b4665a8940e3d9fa93e4a044c019e350157077a882d32d296eae9c83939e4f1a76359fdcaa0ce39cd1455fff452b8f2
+MISC ChangeLog 35339 SHA256 7be77c8e7e02a93d70e6841040d281efb99cf3e26487244331a0cae5fc560706 SHA512 766a052889d22b8609cb35d3a208d1f0dcc7df71519ba71be026e1b5363867c816ff5bed2a78c5390c11c5148c16d18d731049e264856845a1933ea2595e6f97 WHIRLPOOL 40f80b2870b4fcb8336e8fa57e5e94ef66f03f26feb5d4eed49992201f524cdd6b5597446f50fb9c3febf45f2614a3ac0c76583e9d2421f8109046bd04828cd9
MISC metadata.xml 260 SHA256 0ca2c4d395d5a18420e2afaa9701549afc4e584b5b9be90e4b6ff5db89d66369 SHA512 2371a6075a0873610a53d4337fab9e368d607cb63cb924520c02149612934e7d1d8a5131f8d1c8ae01cac380e3a17f01b0105acda382ebb6da058fc2a561e1aa WHIRLPOOL 097f71b3d076f2c2a7091f0f89b05d8bc7f24d453d2e3c876fd95f91068b634ace21a5f53afc14be9f061f5b2e996aa18c3ef827eb16ad23f9c260a950a0eae8
diff --git a/kde-base/pykde4/pykde4-4.12.4-r1.ebuild b/kde-base/pykde4/pykde4-4.12.4-r1.ebuild
new file mode 100644
index 0000000..0daee2c
--- /dev/null
+++ b/kde-base/pykde4/pykde4-4.12.4-r1.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+PYTHON_REQ_USE="threads"
+OPENGL_REQUIRED="always"
+
+inherit python-r1 portability kde4-base multilib eutils
+
+DESCRIPTION="Python bindings for KDE4"
+KEYWORDS="~amd64"
+IUSE="debug doc examples semantic-desktop test"
+HOMEPAGE="http://techbase.kde.org/Development/Languages/Python"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE} test? ( semantic-desktop )"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ >=dev-python/PyQt4-4.9.5[${PYTHON_USEDEP},dbus,declarative,script(+),sql,svg,webkit,X]
+ >=dev-python/sip-4.14:=[${PYTHON_USEDEP}]
+ $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
+ semantic-desktop? (
+ $(add_kdebase_dep kdepimlibs)
+ >=dev-libs/soprano-2.9.0
+ )
+"
+DEPEND="${RDEPEND}
+ dev-lang/python-exec:0[${PYTHON_USEDEP}]
+ sys-devel/libtool
+"
+
+pkg_setup() {
+ kde4-base_pkg_setup
+
+ have_python2=false
+
+ scan_python_versions() {
+ if [[ ${EPYTHON} == python2.* ]]; then
+ have_python2=true
+ fi
+ }
+ python_foreach_impl scan_python_versions
+
+ if ! ${have_python2}; then
+ ewarn "You do not have a Python 2 version selected."
+ ewarn "kpythonpluginfactory will not be built"
+ fi
+}
+
+src_prepare() {
+ kde4-base_src_prepare
+
+ if ! use examples; then
+ sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i CMakeLists.txt \
+ || die "Failed to disable examples"
+ fi
+
+ # See bug 322351
+ use arm && epatch "${FILESDIR}/${PN}-4.10.1-arm-sip.patch"
+
+ sed -e 's/kpythonpluginfactory /kpython${PYTHON_SHORT_VERSION}pluginfactory /g' \
+ -i kpythonpluginfactory/CMakeLists.txt || die
+
+ if ${have_python2}; then
+ mkdir -p "${WORKDIR}/wrapper" || die "failed to copy wrapper"
+ cp "${FILESDIR}/kpythonpluginfactorywrapper.c-r1" "${WORKDIR}/wrapper/kpythonpluginfactorywrapper.c" || die "failed to copy wrapper"
+ fi
+ python_copy_sources
+
+}
+
+src_configure() {
+ configuration() {
+ local CFLAGS="${CFLAGS} $(python_get_CFLAGS)" CXXFLAGS="${CXXFLAGS} $(python_get_CFLAGS)"
+ export CFLAGS CXXFLAGS
+ local mycmakeargs=(
+ -DWITH_PolkitQt=OFF
+ -DWITH_QScintilla=OFF
+ $(cmake-utils_use_with semantic-desktop Soprano)
+ $(cmake-utils_use_with semantic-desktop Nepomuk)
+ $(cmake-utils_use_with semantic-desktop KdepimLibs)
+ -DPYTHON_EXECUTABLE=${PYTHON}
+ -DPYKDEUIC4_ALTINSTALL=TRUE
+ )
+ local CMAKE_BUILD_DIR=${S}_build-${PYTHON_ABI}
+ kde4-base_src_configure
+ }
+
+ python_foreach_impl run_in_build_dir configuration
+}
+
+echo_and_run() {
+ echo "$@"
+ "$@"
+}
+
+src_compile() {
+ compilation() {
+ local CMAKE_BUILD_DIR=${S}_build-${PYTHON_ABI}
+ kde4-base_src_compile
+ }
+ python_foreach_impl run_in_build_dir compilation
+
+ if ${have_python2}; then
+ pushd "${WORKDIR}/wrapper" > /dev/null
+ echo_and_run libtool --tag=CC --mode=compile $(tc-getCC) \
+ -shared \
+ ${CFLAGS} ${CPPFLAGS} \
+ -DEPREFIX="\"${EPREFIX}\"" \
+ -DPLUGIN_DIR="\"/usr/$(get_libdir)/kde4\"" -c \
+ -o kpythonpluginfactorywrapper.lo \
+ kpythonpluginfactorywrapper.c
+ echo_and_run libtool --tag=CC --mode=link $(tc-getCC) \
+ -shared -module -avoid-version \
+ ${CFLAGS} ${LDFLAGS} \
+ -o kpythonpluginfactory.la \
+ -rpath "${EPREFIX}/usr/$(get_libdir)/kde4" \
+ kpythonpluginfactorywrapper.lo \
+ $(dlopen_lib)
+ popd > /dev/null
+ fi
+}
+
+src_test() {
+ python_foreach_impl run_in_build_dir kde4-base_src_test
+}
+
+src_install() {
+ installation() {
+ emake DESTDIR="${D}" install
+
+ mv "${ED}"/usr/bin/pykdeuic4-{${EPYTHON/python/},${EPYTHON}} || die
+ python_optimize
+ }
+ python_foreach_impl run_in_build_dir installation
+
+ dosym python-exec /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})
+ use doc && HTML_DOCS=("${S}/docs/html/")
+ einstalldocs
+
+ if ${have_python2}; then
+ pushd "${WORKDIR}/wrapper" > /dev/null
+ echo_and_run libtool --mode=install install kpythonpluginfactory.la "${ED}/usr/$(get_libdir)/kde4/kpythonpluginfactory.la"
+ rm "${ED}/usr/$(get_libdir)/kde4/kpythonpluginfactory.la"
+ popd > /dev/null
+ fi
+}
+
+pkg_postinst() {
+ kde4-base_pkg_postinst
+
+ if use examples; then
+ echo
+ elog "PyKDE4 examples have been installed to"
+ elog "${EPREFIX}/usr/share/apps/${PN}/examples"
+ echo
+ fi
+}
diff --git a/kde-base/pykde4/pykde4-4.13.0-r1.ebuild b/kde-base/pykde4/pykde4-4.13.0-r1.ebuild
new file mode 100644
index 0000000..0daee2c
--- /dev/null
+++ b/kde-base/pykde4/pykde4-4.13.0-r1.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+PYTHON_REQ_USE="threads"
+OPENGL_REQUIRED="always"
+
+inherit python-r1 portability kde4-base multilib eutils
+
+DESCRIPTION="Python bindings for KDE4"
+KEYWORDS="~amd64"
+IUSE="debug doc examples semantic-desktop test"
+HOMEPAGE="http://techbase.kde.org/Development/Languages/Python"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE} test? ( semantic-desktop )"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ >=dev-python/PyQt4-4.9.5[${PYTHON_USEDEP},dbus,declarative,script(+),sql,svg,webkit,X]
+ >=dev-python/sip-4.14:=[${PYTHON_USEDEP}]
+ $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
+ semantic-desktop? (
+ $(add_kdebase_dep kdepimlibs)
+ >=dev-libs/soprano-2.9.0
+ )
+"
+DEPEND="${RDEPEND}
+ dev-lang/python-exec:0[${PYTHON_USEDEP}]
+ sys-devel/libtool
+"
+
+pkg_setup() {
+ kde4-base_pkg_setup
+
+ have_python2=false
+
+ scan_python_versions() {
+ if [[ ${EPYTHON} == python2.* ]]; then
+ have_python2=true
+ fi
+ }
+ python_foreach_impl scan_python_versions
+
+ if ! ${have_python2}; then
+ ewarn "You do not have a Python 2 version selected."
+ ewarn "kpythonpluginfactory will not be built"
+ fi
+}
+
+src_prepare() {
+ kde4-base_src_prepare
+
+ if ! use examples; then
+ sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i CMakeLists.txt \
+ || die "Failed to disable examples"
+ fi
+
+ # See bug 322351
+ use arm && epatch "${FILESDIR}/${PN}-4.10.1-arm-sip.patch"
+
+ sed -e 's/kpythonpluginfactory /kpython${PYTHON_SHORT_VERSION}pluginfactory /g' \
+ -i kpythonpluginfactory/CMakeLists.txt || die
+
+ if ${have_python2}; then
+ mkdir -p "${WORKDIR}/wrapper" || die "failed to copy wrapper"
+ cp "${FILESDIR}/kpythonpluginfactorywrapper.c-r1" "${WORKDIR}/wrapper/kpythonpluginfactorywrapper.c" || die "failed to copy wrapper"
+ fi
+ python_copy_sources
+
+}
+
+src_configure() {
+ configuration() {
+ local CFLAGS="${CFLAGS} $(python_get_CFLAGS)" CXXFLAGS="${CXXFLAGS} $(python_get_CFLAGS)"
+ export CFLAGS CXXFLAGS
+ local mycmakeargs=(
+ -DWITH_PolkitQt=OFF
+ -DWITH_QScintilla=OFF
+ $(cmake-utils_use_with semantic-desktop Soprano)
+ $(cmake-utils_use_with semantic-desktop Nepomuk)
+ $(cmake-utils_use_with semantic-desktop KdepimLibs)
+ -DPYTHON_EXECUTABLE=${PYTHON}
+ -DPYKDEUIC4_ALTINSTALL=TRUE
+ )
+ local CMAKE_BUILD_DIR=${S}_build-${PYTHON_ABI}
+ kde4-base_src_configure
+ }
+
+ python_foreach_impl run_in_build_dir configuration
+}
+
+echo_and_run() {
+ echo "$@"
+ "$@"
+}
+
+src_compile() {
+ compilation() {
+ local CMAKE_BUILD_DIR=${S}_build-${PYTHON_ABI}
+ kde4-base_src_compile
+ }
+ python_foreach_impl run_in_build_dir compilation
+
+ if ${have_python2}; then
+ pushd "${WORKDIR}/wrapper" > /dev/null
+ echo_and_run libtool --tag=CC --mode=compile $(tc-getCC) \
+ -shared \
+ ${CFLAGS} ${CPPFLAGS} \
+ -DEPREFIX="\"${EPREFIX}\"" \
+ -DPLUGIN_DIR="\"/usr/$(get_libdir)/kde4\"" -c \
+ -o kpythonpluginfactorywrapper.lo \
+ kpythonpluginfactorywrapper.c
+ echo_and_run libtool --tag=CC --mode=link $(tc-getCC) \
+ -shared -module -avoid-version \
+ ${CFLAGS} ${LDFLAGS} \
+ -o kpythonpluginfactory.la \
+ -rpath "${EPREFIX}/usr/$(get_libdir)/kde4" \
+ kpythonpluginfactorywrapper.lo \
+ $(dlopen_lib)
+ popd > /dev/null
+ fi
+}
+
+src_test() {
+ python_foreach_impl run_in_build_dir kde4-base_src_test
+}
+
+src_install() {
+ installation() {
+ emake DESTDIR="${D}" install
+
+ mv "${ED}"/usr/bin/pykdeuic4-{${EPYTHON/python/},${EPYTHON}} || die
+ python_optimize
+ }
+ python_foreach_impl run_in_build_dir installation
+
+ dosym python-exec /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})
+ use doc && HTML_DOCS=("${S}/docs/html/")
+ einstalldocs
+
+ if ${have_python2}; then
+ pushd "${WORKDIR}/wrapper" > /dev/null
+ echo_and_run libtool --mode=install install kpythonpluginfactory.la "${ED}/usr/$(get_libdir)/kde4/kpythonpluginfactory.la"
+ rm "${ED}/usr/$(get_libdir)/kde4/kpythonpluginfactory.la"
+ popd > /dev/null
+ fi
+}
+
+pkg_postinst() {
+ kde4-base_pkg_postinst
+
+ if use examples; then
+ echo
+ elog "PyKDE4 examples have been installed to"
+ elog "${EPREFIX}/usr/share/apps/${PN}/examples"
+ echo
+ fi
+}