1 |
eva 08/02/24 14:54:43 |
2 |
|
3 |
Modified: notify-python-0.1.1.ebuild ChangeLog |
4 |
Log: |
5 |
fix python eclass use, bug #207667 |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.7 dev-python/notify-python/notify-python-0.1.1.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/notify-python/notify-python-0.1.1.ebuild?rev=1.7&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/notify-python/notify-python-0.1.1.ebuild?rev=1.7&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/notify-python/notify-python-0.1.1.ebuild?r1=1.6&r2=1.7 |
14 |
|
15 |
Index: notify-python-0.1.1.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/notify-python/notify-python-0.1.1.ebuild,v |
18 |
retrieving revision 1.6 |
19 |
retrieving revision 1.7 |
20 |
diff -u -r1.6 -r1.7 |
21 |
--- notify-python-0.1.1.ebuild 22 Dec 2007 14:00:16 -0000 1.6 |
22 |
+++ notify-python-0.1.1.ebuild 24 Feb 2008 14:54:42 -0000 1.7 |
23 |
@@ -1,6 +1,6 @@ |
24 |
-# Copyright 1999-2007 Gentoo Foundation |
25 |
+# Copyright 1999-2008 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/notify-python-0.1.1.ebuild,v 1.6 2007/12/22 14:00:16 dertobi123 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/notify-python-0.1.1.ebuild,v 1.7 2008/02/24 14:54:42 eva Exp $ |
29 |
|
30 |
NEED_PYTHON=2.3.5 |
31 |
|
32 |
@@ -20,7 +20,26 @@ |
33 |
DEPEND="${RDEPEND} |
34 |
>=dev-util/pkgconfig-0.9" |
35 |
|
36 |
+src_unpack() { |
37 |
+ unpack ${A} |
38 |
+ cd "${S}" |
39 |
+ |
40 |
+ # disable pyc compiling |
41 |
+ mv py-compile py-compile.orig |
42 |
+ ln -s $(type -P true) py-compile |
43 |
+} |
44 |
+ |
45 |
src_install() { |
46 |
emake DESTDIR="${D}" install || die "emake install failed" |
47 |
dodoc AUTHORS ChangeLog NEWS README |
48 |
} |
49 |
+ |
50 |
+pkg_postinst() { |
51 |
+ python_version |
52 |
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0/pynotify |
53 |
+} |
54 |
+ |
55 |
+pkg_postrm() { |
56 |
+ python_version |
57 |
+ python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0/pynotify |
58 |
+} |
59 |
|
60 |
|
61 |
|
62 |
1.7 dev-python/notify-python/ChangeLog |
63 |
|
64 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/notify-python/ChangeLog?rev=1.7&view=markup |
65 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/notify-python/ChangeLog?rev=1.7&content-type=text/plain |
66 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/notify-python/ChangeLog?r1=1.6&r2=1.7 |
67 |
|
68 |
Index: ChangeLog |
69 |
=================================================================== |
70 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/notify-python/ChangeLog,v |
71 |
retrieving revision 1.6 |
72 |
retrieving revision 1.7 |
73 |
diff -u -r1.6 -r1.7 |
74 |
--- ChangeLog 22 Dec 2007 14:00:16 -0000 1.6 |
75 |
+++ ChangeLog 24 Feb 2008 14:54:42 -0000 1.7 |
76 |
@@ -1,6 +1,10 @@ |
77 |
# ChangeLog for dev-python/notify-python |
78 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
79 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/ChangeLog,v 1.6 2007/12/22 14:00:16 dertobi123 Exp $ |
80 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
81 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/ChangeLog,v 1.7 2008/02/24 14:54:42 eva Exp $ |
82 |
+ |
83 |
+ 24 Feb 2008; Gilles Dartiguelongue <eva@g.o> |
84 |
+ notify-python-0.1.1.ebuild: |
85 |
+ fix python eclass use, bug #207667 |
86 |
|
87 |
22 Dec 2007; Tobias Scherbaum <dertobi123@g.o> |
88 |
notify-python-0.1.1.ebuild: |
89 |
|
90 |
|
91 |
|
92 |
-- |
93 |
gentoo-commits@l.g.o mailing list |