1 |
floppym 12/02/07 22:06:44 |
2 |
|
3 |
Modified: gnome-blog-0.9.2.ebuild ChangeLog |
4 |
Log: |
5 |
Python cleanup. Patch by Arfrever. |
6 |
|
7 |
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 net-misc/gnome-blog/gnome-blog-0.9.2.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/gnome-blog/gnome-blog-0.9.2.ebuild?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/gnome-blog/gnome-blog-0.9.2.ebuild?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/gnome-blog/gnome-blog-0.9.2.ebuild?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: gnome-blog-0.9.2.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/gnome-blog-0.9.2.ebuild,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- gnome-blog-0.9.2.ebuild 24 May 2010 17:38:25 -0000 1.4 |
23 |
+++ gnome-blog-0.9.2.ebuild 7 Feb 2012 22:06:44 -0000 1.5 |
24 |
@@ -1,9 +1,10 @@ |
25 |
-# Copyright 1999-2010 Gentoo Foundation |
26 |
+# Copyright 1999-2012 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/gnome-blog-0.9.2.ebuild,v 1.4 2010/05/24 17:38:25 phajdan.jr Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/gnome-blog-0.9.2.ebuild,v 1.5 2012/02/07 22:06:44 floppym Exp $ |
30 |
|
31 |
-EAPI="2" |
32 |
+EAPI="3" |
33 |
GCONF_DEBUG="no" |
34 |
+PYTHON_DEPEND="2" |
35 |
|
36 |
inherit gnome2 python |
37 |
|
38 |
@@ -31,24 +32,28 @@ |
39 |
|
40 |
DOCS="AUTHORS ChangeLog NEWS README TODO" |
41 |
|
42 |
+pkg_setup() { |
43 |
+ python_set_active_version 2 |
44 |
+ python_pkg_setup |
45 |
+} |
46 |
+ |
47 |
src_prepare() { |
48 |
gnome2_src_prepare |
49 |
+ python_convert_shebangs -r 2 . |
50 |
|
51 |
# Let this file be re-created so the path in the <oaf_server> element is |
52 |
# correct. See bug #93612. |
53 |
rm -f GNOME_BlogApplet.server.in || die "rm failed" |
54 |
|
55 |
- # disable pyc compiling |
56 |
- mv py-compile py-compile.orig |
57 |
- ln -s $(type -P true) py-compile |
58 |
+ python_clean_py-compile_files |
59 |
} |
60 |
|
61 |
pkg_postinst() { |
62 |
gnome2_pkg_postinst |
63 |
- python_mod_optimize $(python_get_sitedir)/gnomeblog |
64 |
+ python_mod_optimize gnomeblog |
65 |
} |
66 |
|
67 |
pkg_postrm() { |
68 |
gnome2_pkg_postrm |
69 |
- python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/gnomeblog |
70 |
+ python_mod_cleanup gnomeblog |
71 |
} |
72 |
|
73 |
|
74 |
|
75 |
1.30 net-misc/gnome-blog/ChangeLog |
76 |
|
77 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/gnome-blog/ChangeLog?rev=1.30&view=markup |
78 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/gnome-blog/ChangeLog?rev=1.30&content-type=text/plain |
79 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/gnome-blog/ChangeLog?r1=1.29&r2=1.30 |
80 |
|
81 |
Index: ChangeLog |
82 |
=================================================================== |
83 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/ChangeLog,v |
84 |
retrieving revision 1.29 |
85 |
retrieving revision 1.30 |
86 |
diff -u -r1.29 -r1.30 |
87 |
--- ChangeLog 8 Oct 2010 23:08:03 -0000 1.29 |
88 |
+++ ChangeLog 7 Feb 2012 22:06:44 -0000 1.30 |
89 |
@@ -1,6 +1,9 @@ |
90 |
# ChangeLog for net-misc/gnome-blog |
91 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
92 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/ChangeLog,v 1.29 2010/10/08 23:08:03 eva Exp $ |
93 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
94 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/ChangeLog,v 1.30 2012/02/07 22:06:44 floppym Exp $ |
95 |
+ |
96 |
+ 07 Feb 2012; Mike Gilbert <floppym@g.o> gnome-blog-0.9.2.ebuild: |
97 |
+ Python cleanup. Patch by Arfrever. |
98 |
|
99 |
08 Oct 2010; Gilles Dartiguelongue <eva@g.o> |
100 |
-gnome-blog-0.9.1.ebuild: |