1 |
abcd 10/01/28 06:13:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pykde4-4.3.5-r1.ebuild |
5 |
Removed: pykde4-4.3.5.ebuild |
6 |
Log: |
7 |
Fix pykdeuic4 for recent PyQt4 |
8 |
(Portage version: -svn/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.52 kde-base/pykde4/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.52&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.52&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?r1=1.51&r2=1.52 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v |
20 |
retrieving revision 1.51 |
21 |
retrieving revision 1.52 |
22 |
diff -u -r1.51 -r1.52 |
23 |
--- ChangeLog 27 Jan 2010 07:28:04 -0000 1.51 |
24 |
+++ ChangeLog 28 Jan 2010 06:13:52 -0000 1.52 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for kde-base/pykde4 |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.51 2010/01/27 07:28:04 abcd Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.52 2010/01/28 06:13:52 abcd Exp $ |
30 |
+ |
31 |
+*pykde4-4.3.5-r1 (28 Jan 2010) |
32 |
+ |
33 |
+ 28 Jan 2010; Jonathan Callen <abcd@g.o> -pykde4-4.3.5.ebuild, |
34 |
+ +pykde4-4.3.5-r1.ebuild, +files/pykde4-4.3.5-fix-pykdeuic4.patch: |
35 |
+ Fix pykdeuic4 for recent PyQt4 |
36 |
|
37 |
27 Jan 2010; Jonathan Callen <abcd@g.o> pykde4-4.3.5.ebuild: |
38 |
Patch from 4.3.4 is still needed (compilation fix) - bug 301106 |
39 |
|
40 |
|
41 |
|
42 |
1.1 kde-base/pykde4/pykde4-4.3.5-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.5-r1.ebuild?rev=1.1&view=markup |
45 |
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 |
46 |
|
47 |
Index: pykde4-4.3.5-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $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 $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
KMNAME="kdebindings" |
56 |
KMMODULE="python/pykde4" |
57 |
OPENGL_REQUIRED="always" |
58 |
PYTHON_USE_WITH="threads" |
59 |
inherit python kde4-meta |
60 |
|
61 |
DESCRIPTION="Python bindings for KDE4" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
63 |
IUSE="akonadi debug doc examples policykit semantic-desktop" |
64 |
|
65 |
DEPEND=" |
66 |
$(add_kdebase_dep kdelibs 'opengl,semantic-desktop?') |
67 |
aqua? ( >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,aqua] ) |
68 |
!aqua? ( >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,X] ) |
69 |
akonadi? ( $(add_kdebase_dep kdepimlibs) ) |
70 |
policykit? ( >=sys-auth/policykit-qt-0.9.2 ) |
71 |
" |
72 |
# blocker added due to compatibility issues and error during compile time |
73 |
RDEPEND="${DEPEND} |
74 |
!dev-python/pykde |
75 |
" |
76 |
|
77 |
PATCHES=( |
78 |
"${FILESDIR}"/${PN}-4.3.4-typedefs.sip.patch |
79 |
"${FILESDIR}"/${P}-fix-pykdeuic4.patch |
80 |
) |
81 |
|
82 |
pkg_setup() { |
83 |
python_pkg_setup |
84 |
kde4-meta_pkg_setup |
85 |
} |
86 |
|
87 |
src_prepare() { |
88 |
kde4-meta_src_prepare |
89 |
|
90 |
if ! use examples; then |
91 |
sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i python/${PN}/CMakeLists.txt \ |
92 |
|| die "Failed to disable examples" |
93 |
fi |
94 |
} |
95 |
|
96 |
src_configure() { |
97 |
mycmakeargs=( |
98 |
-DWITH_QScintilla=OFF |
99 |
$(cmake-utils_use_with semantic-desktop Soprano) |
100 |
$(cmake-utils_use_with semantic-desktop Nepomuk) |
101 |
$(cmake-utils_use_with akonadi) |
102 |
$(cmake-utils_use_with akonadi KdepimLibs) |
103 |
$(cmake-utils_use_with policykit PolkitQt) |
104 |
) |
105 |
|
106 |
kde4-meta_src_configure |
107 |
} |
108 |
|
109 |
src_install() { |
110 |
kde4-meta_src_install |
111 |
|
112 |
if use doc; then |
113 |
dohtml -r "${S}"/python/pykde4/docs/html/* || die 'dohtml failed' |
114 |
fi |
115 |
|
116 |
rm -f \ |
117 |
"${ED}$(python_get_sitedir)"/PyKDE4/*.py[co] \ |
118 |
"${ED}${PREFIX}"/share/apps/"${PN}"/*.py[co] |
119 |
} |
120 |
|
121 |
pkg_postinst() { |
122 |
kde4-meta_pkg_postinst |
123 |
|
124 |
python_mod_optimize "$(python_get_sitedir)"/PyKDE4 |
125 |
|
126 |
if use examples; then |
127 |
echo |
128 |
elog "PyKDE4 examples have been installed to" |
129 |
elog "${EKDEDIR}/share/apps/${PN}/examples" |
130 |
echo |
131 |
fi |
132 |
} |
133 |
|
134 |
pkg_postrm() { |
135 |
kde4-meta_pkg_postrm |
136 |
|
137 |
python_mod_cleanup "$(python_get_sitedir)"/PyKDE4 |
138 |
} |