1 |
ssuominen 10/06/29 19:04:07 |
2 |
|
3 |
Modified: ChangeLog nfoview-9999.ebuild |
4 |
Log: |
5 |
Improve python.eclass usage wrt #312113 by Arfrever Frehtes Taifersar Arahesis. |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.11 app-text/nfoview/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/nfoview/ChangeLog?rev=1.11&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/nfoview/ChangeLog?rev=1.11&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/nfoview/ChangeLog?r1=1.10&r2=1.11 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/app-text/nfoview/ChangeLog,v |
18 |
retrieving revision 1.10 |
19 |
retrieving revision 1.11 |
20 |
diff -u -r1.10 -r1.11 |
21 |
--- ChangeLog 29 Dec 2009 16:54:26 -0000 1.10 |
22 |
+++ ChangeLog 29 Jun 2010 19:04:07 -0000 1.11 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for app-text/nfoview |
25 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/ChangeLog,v 1.10 2009/12/29 16:54:26 vapier Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/ChangeLog,v 1.11 2010/06/29 19:04:07 ssuominen Exp $ |
29 |
+ |
30 |
+ 29 Jun 2010; Samuli Suominen <ssuominen@g.o> nfoview-9999.ebuild: |
31 |
+ Improve python.eclass usage wrt #312113 by Arfrever Frehtes Taifersar |
32 |
+ Arahesis. |
33 |
|
34 |
*nfoview-1.8 (29 Dec 2009) |
35 |
|
36 |
|
37 |
|
38 |
|
39 |
1.7 app-text/nfoview/nfoview-9999.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/nfoview/nfoview-9999.ebuild?rev=1.7&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/nfoview/nfoview-9999.ebuild?rev=1.7&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/nfoview/nfoview-9999.ebuild?r1=1.6&r2=1.7 |
44 |
|
45 |
Index: nfoview-9999.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/app-text/nfoview/nfoview-9999.ebuild,v |
48 |
retrieving revision 1.6 |
49 |
retrieving revision 1.7 |
50 |
diff -u -r1.6 -r1.7 |
51 |
--- nfoview-9999.ebuild 29 Dec 2009 16:51:28 -0000 1.6 |
52 |
+++ nfoview-9999.ebuild 29 Jun 2010 19:04:07 -0000 1.7 |
53 |
@@ -1,15 +1,21 @@ |
54 |
-# Copyright 1999-2009 Gentoo Foundation |
55 |
+# Copyright 1999-2010 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/nfoview-9999.ebuild,v 1.6 2009/12/29 16:51:28 vapier Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/nfoview-9999.ebuild,v 1.7 2010/06/29 19:04:07 ssuominen Exp $ |
59 |
|
60 |
-inherit distutils |
61 |
+EAPI=3 |
62 |
+ |
63 |
+PYTHON_DEPEND="2" |
64 |
+SUPPORT_PYTHON_ABIS="1" |
65 |
+RESTRICT_PYTHON_ABIS="3.*" |
66 |
+ |
67 |
+inherit distutils fdo-mime gnome2-utils |
68 |
if [[ ${PV} == "9999" ]] ; then |
69 |
EGIT_REPO_URI="git://gitorious.org/nfoview/mainline.git" |
70 |
inherit git |
71 |
SRC_URI="" |
72 |
#KEYWORDS="" |
73 |
else |
74 |
- SRC_URI="http://download.gna.org/nfoview/${PV}/${P}.tar.bz2" |
75 |
+ SRC_URI="http://download.gna.org/nfoview/1.9/${P}.tar.gz" |
76 |
KEYWORDS="~amd64 ~x86" |
77 |
fi |
78 |
|
79 |
@@ -23,3 +29,19 @@ |
80 |
DEPEND="dev-python/pygtk" |
81 |
RDEPEND="${DEPEND} |
82 |
media-fonts/terminus-font" |
83 |
+ |
84 |
+pkg_preinst() { |
85 |
+ gnome2_icon_savelist |
86 |
+} |
87 |
+ |
88 |
+pkg_postinst() { |
89 |
+ fdo-mime_desktop_database_update |
90 |
+ gnome2_icon_cache_update |
91 |
+ distutils_pkg_postinst |
92 |
+} |
93 |
+ |
94 |
+pkg_postrm() { |
95 |
+ fdo-mime_desktop_database_update |
96 |
+ gnome2_icon_cache_update |
97 |
+ distutils_pkg_postrm |
98 |
+} |