From: | "Ali Polatel (hawking)" <hawking@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/notify-python: ChangeLog notify-python-0.1.1-r1.ebuild |
Date: | Tue, 09 Sep 2008 22:44:48 |
Message-Id: | E1KdBwy-0007oS-Ky@stork.gentoo.org |
1 | hawking 08/09/09 22:44:44 |
2 | |
3 | Modified: ChangeLog |
4 | Added: notify-python-0.1.1-r1.ebuild |
5 | Log: |
6 | Remove src/pynotify.c so it's regenerated, #212128. Fix python_mod_cleanup. |
7 | (Portage version: -svn/cvs/Linux 2.6.26-gentoo x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.11 dev-python/notify-python/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/notify-python/ChangeLog?rev=1.11&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/notify-python/ChangeLog?rev=1.11&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/notify-python/ChangeLog?r1=1.10&r2=1.11 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/notify-python/ChangeLog,v |
19 | retrieving revision 1.10 |
20 | retrieving revision 1.11 |
21 | diff -u -r1.10 -r1.11 |
22 | --- ChangeLog 8 Aug 2008 19:04:17 -0000 1.10 |
23 | +++ ChangeLog 9 Sep 2008 22:44:44 -0000 1.11 |
24 | @@ -1,6 +1,13 @@ |
25 | # ChangeLog for dev-python/notify-python |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/ChangeLog,v 1.10 2008/08/08 19:04:17 corsair Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/ChangeLog,v 1.11 2008/09/09 22:44:44 hawking Exp $ |
29 | + |
30 | +*notify-python-0.1.1-r1 (09 Sep 2008) |
31 | + |
32 | + 09 Sep 2008; Ali Polatel <hawking@g.o> |
33 | + +notify-python-0.1.1-r1.ebuild: |
34 | + Remove src/pynotify.c so it's regenerated, #212128. Fix |
35 | + python_mod_cleanup. |
36 | |
37 | 08 Aug 2008; Markus Rothe <corsair@g.o> notify-python-0.1.1.ebuild: |
38 | Stable on ppc64; bug #233766 |
39 | |
40 | |
41 | |
42 | 1.1 dev-python/notify-python/notify-python-0.1.1-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/notify-python/notify-python-0.1.1-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/notify-python/notify-python-0.1.1-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: notify-python-0.1.1-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2008 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/notify-python-0.1.1-r1.ebuild,v 1.1 2008/09/09 22:44:44 hawking Exp $ |
52 | |
53 | NEED_PYTHON=2.3.5 |
54 | |
55 | inherit python |
56 | |
57 | DESCRIPTION="Python bindings for libnotify" |
58 | HOMEPAGE="http://www.galago-project.org/" |
59 | SRC_URI="http://www.galago-project.org/files/releases/source/${PN}/${P}.tar.bz2" |
60 | |
61 | LICENSE="LGPL-2.1" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
64 | IUSE="" |
65 | |
66 | RDEPEND=">=dev-python/pygtk-2.4.0 |
67 | >=x11-libs/libnotify-0.4.3" |
68 | DEPEND="${RDEPEND} |
69 | >=dev-util/pkgconfig-0.9" |
70 | |
71 | src_unpack() { |
72 | unpack ${A} |
73 | cd "${S}" |
74 | |
75 | # disable pyc compiling |
76 | mv py-compile py-compile.orig |
77 | ln -s $(type -P true) py-compile |
78 | |
79 | # Remove the old pynotify.c to ensure it's properly regenerated #212128. |
80 | rm -f src/pynotify.c |
81 | } |
82 | |
83 | src_install() { |
84 | emake DESTDIR="${D}" install || die "emake install failed" |
85 | dodoc AUTHORS ChangeLog NEWS README |
86 | } |
87 | |
88 | pkg_postinst() { |
89 | python_version |
90 | python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0/pynotify |
91 | } |
92 | |
93 | pkg_postrm() { |
94 | python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/gtk-2.0/pynotify |
95 | } |