diff options
author | Theo Chatzimichos <tampakrap@gentoo.org> | 2009-09-01 16:32:24 +0000 |
---|---|---|
committer | Theo Chatzimichos <tampakrap@gentoo.org> | 2009-09-01 16:32:24 +0000 |
commit | 0941f8f8b9ab158f571c295f3e1a4db8e2117481 (patch) | |
tree | 395111f62c037d6bc60c879297b61c7bbb00ccc4 /kde-base/pykde4 | |
parent | stable sparc, bug 282379 (diff) | |
download | historical-0941f8f8b9ab158f571c295f3e1a4db8e2117481.tar.gz historical-0941f8f8b9ab158f571c295f3e1a4db8e2117481.tar.bz2 historical-0941f8f8b9ab158f571c295f3e1a4db8e2117481.zip |
Version bump KDE 4.3.1
Package-Manager: portage-2.2_rc38/cvs/Linux x86_64
RepoMan-Options: --force
Diffstat (limited to 'kde-base/pykde4')
-rw-r--r-- | kde-base/pykde4/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/pykde4/pykde4-4.3.1.ebuild | 82 |
2 files changed, 89 insertions, 1 deletions
diff --git a/kde-base/pykde4/ChangeLog b/kde-base/pykde4/ChangeLog index 329f08c60c55..d6c986fe7ad9 100644 --- a/kde-base/pykde4/ChangeLog +++ b/kde-base/pykde4/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for kde-base/pykde4 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.27 2009/08/20 09:14:00 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.28 2009/09/01 16:26:55 tampakrap Exp $ + +*pykde4-4.3.1 (01 Sep 2009) + + 01 Sep 2009; Theo Chatzimichos <tampakrap@gentoo.org> + +pykde4-4.3.1.ebuild: + Version bump 20 Aug 2009; Tomáš Chvátal <scarabeus@gentoo.org> pykde4-4.2.4-r3.ebuild, pykde4-4.3.0.ebuild: diff --git a/kde-base/pykde4/pykde4-4.3.1.ebuild b/kde-base/pykde4/pykde4-4.3.1.ebuild new file mode 100644 index 000000000000..fabf24a49d64 --- /dev/null +++ b/kde-base/pykde4/pykde4-4.3.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.3.1.ebuild,v 1.1 2009/09/01 16:26:55 tampakrap Exp $ + +EAPI="2" + +KMNAME="kdebindings" +KMMODULE="python/${PN}" +OPENGL_REQUIRED="always" +PYTHON_USE_WITH="threads" +inherit python kde4-meta + +DESCRIPTION="Python bindings for KDE4" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" +IUSE="akonadi debug examples policykit semantic-desktop" + +COMMON_DEPEND=" + >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,X] + >=kde-base/kdelibs-${PV}:${SLOT}[kdeprefix=,opengl,semantic-desktop?] + akonadi? ( >=kde-base/kdepimlibs-${PV}:${SLOT}[kdeprefix=] ) + policykit? ( >=sys-auth/policykit-qt-0.9.2 ) +" +DEPEND="${COMMON_DEPEND}" +# blocker added due to compatibility issues and error during compile time +RDEPEND="${COMMON_DEPEND} + !dev-python/pykde +" + +pkg_setup() { + python_pkg_setup + kde4-meta_pkg_setup +} + +src_prepare() { + kde4-meta_src_prepare + + if ! use examples; then + sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i python/${PN}/CMakeLists.txt \ + || die "Failed to disable examples" + fi +} + +src_configure() { + mycmakeargs="${mycmakeargs} + -DWITH_QScintilla=OFF + $(cmake-utils_use_with semantic-desktop Soprano) + $(cmake-utils_use_with semantic-desktop Nepomuk) + $(cmake-utils_use_with akonadi) + $(cmake-utils_use_with akonadi KdepimLibs) + $(cmake-utils_use_with policykit PolkitQt) + " + + kde4-meta_src_configure +} + +src_install() { + kde4-meta_src_install + + python_version + rm -f \ + "${D}/usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4/*.py[co] \ + "${D}${PREFIX}"/share/apps/"${PN}"/*.py[co] +} + +pkg_postinst() { + kde4-meta_pkg_postinst + + python_mod_optimize ${ROOT}"usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4 + + if use examples; then + echo + elog "PyKDE4 examples have been installed to" + elog "${PREFIX}/share/apps/${PN}/examples" + echo + fi +} + +pkg_postrm() { + kde4-meta_pkg_postrm + + python_mod_cleanup ${ROOT}"usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4 +} |