public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in kde-base/pykde4: pykde4-4.3.5-r1.ebuild ChangeLog pykde4-4.3.5.ebuild
@ 2010-01-28  6:13 Jonathan Callen (abcd)
  0 siblings, 0 replies; only message in thread
From: Jonathan Callen (abcd) @ 2010-01-28  6:13 UTC (permalink / raw
  To: gentoo-commits

abcd        10/01/28 06:13:52

  Modified:             ChangeLog
  Added:                pykde4-4.3.5-r1.ebuild
  Removed:              pykde4-4.3.5.ebuild
  Log:
  Fix pykdeuic4 for recent PyQt4
  (Portage version: -svn/cvs/Linux i686)

Revision  Changes    Path
1.52                 kde-base/pykde4/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.52&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.52&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?r1=1.51&r2=1.52

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- ChangeLog	27 Jan 2010 07:28:04 -0000	1.51
+++ ChangeLog	28 Jan 2010 06:13:52 -0000	1.52
@@ -1,6 +1,12 @@
 # ChangeLog for kde-base/pykde4
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.51 2010/01/27 07:28:04 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.52 2010/01/28 06:13:52 abcd Exp $
+
+*pykde4-4.3.5-r1 (28 Jan 2010)
+
+  28 Jan 2010; Jonathan Callen <abcd@gentoo.org> -pykde4-4.3.5.ebuild,
+  +pykde4-4.3.5-r1.ebuild, +files/pykde4-4.3.5-fix-pykdeuic4.patch:
+  Fix pykdeuic4 for recent PyQt4
 
   27 Jan 2010; Jonathan Callen <abcd@gentoo.org> pykde4-4.3.5.ebuild:
   Patch from 4.3.4 is still needed (compilation fix) - bug 301106



1.1                  kde-base/pykde4/pykde4-4.3.5-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.5-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.5-r1.ebuild?rev=1.1&content-type=text/plain

Index: pykde4-4.3.5-r1.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.3.5-r1.ebuild,v 1.1 2010/01/28 06:13:52 abcd Exp $

EAPI="2"

KMNAME="kdebindings"
KMMODULE="python/pykde4"
OPENGL_REQUIRED="always"
PYTHON_USE_WITH="threads"
inherit python kde4-meta

DESCRIPTION="Python bindings for KDE4"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="akonadi debug doc examples policykit semantic-desktop"

DEPEND="
	$(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
	aqua? ( >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,aqua] )
	!aqua? ( >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,X] )
	akonadi? ( $(add_kdebase_dep kdepimlibs) )
	policykit? ( >=sys-auth/policykit-qt-0.9.2 )
"
# blocker added due to compatibility issues and error during compile time
RDEPEND="${DEPEND}
	!dev-python/pykde
"

PATCHES=(
	"${FILESDIR}"/${PN}-4.3.4-typedefs.sip.patch
	"${FILESDIR}"/${P}-fix-pykdeuic4.patch
)

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=(
		-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

	if use doc; then
		dohtml -r "${S}"/python/pykde4/docs/html/* || die 'dohtml failed'
	fi

	rm -f \
		"${ED}$(python_get_sitedir)"/PyKDE4/*.py[co] \
		"${ED}${PREFIX}"/share/apps/"${PN}"/*.py[co]
}

pkg_postinst() {
	kde4-meta_pkg_postinst

	python_mod_optimize "$(python_get_sitedir)"/PyKDE4

	if use examples; then
		echo
		elog "PyKDE4 examples have been installed to"
		elog "${EKDEDIR}/share/apps/${PN}/examples"
		echo
	fi
}

pkg_postrm() {
	kde4-meta_pkg_postrm

	python_mod_cleanup "$(python_get_sitedir)"/PyKDE4
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-28  6:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-28  6:13 [gentoo-commits] gentoo-x86 commit in kde-base/pykde4: pykde4-4.3.5-r1.ebuild ChangeLog pykde4-4.3.5.ebuild Jonathan Callen (abcd)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox