diff options
| author | Jonathan Callen <abcd@gentoo.org> | 2011-05-30 22:09:36 -0400 |
|---|---|---|
| committer | Jonathan Callen <abcd@gentoo.org> | 2011-05-30 22:09:36 -0400 |
| commit | bf9293c2ec0b9aafece15af4373ad42e0ceea414 (patch) | |
| tree | dc29a18e344cf4f327829a614922f0a1851fdefb /kde-base/pykde4/pykde4-9999.ebuild | |
| parent | d57390797626f7565463f33479cbc2e8903a5eb5 (diff) | |
| download | kde-bf9293c2ec0b9aafece15af4373ad42e0ceea414.tar.gz kde-bf9293c2ec0b9aafece15af4373ad42e0ceea414.tar.bz2 kde-bf9293c2ec0b9aafece15af4373ad42e0ceea414.zip | |
[kde-base] General cleanup, remove some conditionals from :live (as we want the :live version for 4.7 now as well)
(Portage version: 2.2.0_alpha35/git/Linux x86_64, signed Manifest commit with key 229E5838)
Diffstat (limited to 'kde-base/pykde4/pykde4-9999.ebuild')
| -rw-r--r-- | kde-base/pykde4/pykde4-9999.ebuild | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/kde-base/pykde4/pykde4-9999.ebuild b/kde-base/pykde4/pykde4-9999.ebuild index 671b1b0512d..cda5b5cf659 100644 --- a/kde-base/pykde4/pykde4-9999.ebuild +++ b/kde-base/pykde4/pykde4-9999.ebuild @@ -4,19 +4,12 @@ EAPI=3 -KMNAME="kdebindings" -if [[ ${PV} != *9999 ]]; then - KMMODULE="python/pykde4" -else - # HACK HACK HACK - KMMODULE="." -fi OPENGL_REQUIRED="always" PYTHON_USE_WITH="threads" RESTRICT_PYTHON_ABIS="2.4" KDE_SCM="git" EGIT_REPONAME="pykde4" -inherit python kde4-meta +inherit python kde4-base DESCRIPTION="Python bindings for KDE4" KEYWORDS="" @@ -35,14 +28,14 @@ RDEPEND="${DEPEND}" pkg_setup() { python_pkg_setup - kde4-meta_pkg_setup + kde4-base_pkg_setup } src_prepare() { - kde4-meta_src_prepare + kde4-base_src_prepare if ! use examples; then - sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i ${KMMODULE}/CMakeLists.txt \ + sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i CMakeLists.txt \ || die "Failed to disable examples" fi @@ -62,20 +55,20 @@ src_configure() { $(cmake-utils_use_with semantic-desktop KdepimLibs) ) - kde4-meta_src_configure + kde4-base_src_configure } src_install() { - use doc && HTML_DOCS=("${S}/${KMMODULE}/docs/html/") + use doc && HTML_DOCS=("${S}/docs/html/") - kde4-meta_src_install + kde4-base_src_install python_convert_shebangs -q -r $(python_get_version) "${ED}" python_clean_installation_image -q } pkg_postinst() { - kde4-meta_pkg_postinst + kde4-base_pkg_postinst python_mod_optimize PyKDE4 PyQt4 @@ -88,7 +81,7 @@ pkg_postinst() { } pkg_postrm() { - kde4-meta_pkg_postrm + kde4-base_pkg_postrm python_mod_cleanup PyKDE4 PyQt4 } |
