Gentoo Archives: gentoo-commits

From: "Christian Ruppert (idl0r)" <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-portage/porthole: porthole-0.6.1.ebuild ChangeLog porthole-0.6.0_rc2.ebuild porthole-0.6.0_rc4.ebuild porthole-0.6.0_rc3.ebuild
Date: Fri, 26 Feb 2010 18:31:59
Message-Id: E1Nl4yj-0001GX-MW@stork.gentoo.org
1 idl0r 10/02/26 18:31:57
2
3 Modified: ChangeLog
4 Added: porthole-0.6.1.ebuild
5 Removed: porthole-0.6.0_rc2.ebuild porthole-0.6.0_rc4.ebuild
6 porthole-0.6.0_rc3.ebuild
7 Log:
8 Version bump to 0.6.1. Remove old release candidates.
9 (Portage version: 2.2_rc63/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.42 app-portage/porthole/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/porthole/ChangeLog?rev=1.42&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/porthole/ChangeLog?rev=1.42&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/porthole/ChangeLog?r1=1.41&r2=1.42
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-portage/porthole/ChangeLog,v
21 retrieving revision 1.41
22 retrieving revision 1.42
23 diff -u -r1.41 -r1.42
24 --- ChangeLog 27 Oct 2009 14:53:36 -0000 1.41
25 +++ ChangeLog 26 Feb 2010 18:31:57 -0000 1.42
26 @@ -1,6 +1,14 @@
27 # ChangeLog for app-portage/porthole
28 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/ChangeLog,v 1.41 2009/10/27 14:53:36 idl0r Exp $
30 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/ChangeLog,v 1.42 2010/02/26 18:31:57 idl0r Exp $
32 +
33 +*porthole-0.6.1 (26 Feb 2010)
34 +
35 + 26 Feb 2010; Christian Ruppert <idl0r@g.o>
36 + -porthole-0.6.0_rc2.ebuild, -porthole-0.6.0_rc3.ebuild,
37 + -porthole-0.6.0_rc4.ebuild, -files/porthole-0.6.0_rc2-pocompile.patch,
38 + -files/porthole-0.6.0_rc3-oneshot-fix.patch, +porthole-0.6.1.ebuild:
39 + Version bump to 0.6.1. Remove old release candidates.
40
41 27 Oct 2009; Christian Ruppert <idl0r@g.o> metadata.xml:
42 Add Brian to the metadata.
43
44
45
46 1.1 app-portage/porthole/porthole-0.6.1.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/porthole/porthole-0.6.1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/porthole/porthole-0.6.1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: porthole-0.6.1.ebuild
52 ===================================================================
53 # Copyright 1999-2010 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/porthole-0.6.1.ebuild,v 1.1 2010/02/26 18:31:57 idl0r Exp $
56
57 EAPI="2"
58
59 inherit distutils
60
61 DESCRIPTION="A GTK+-based frontend to Portage"
62 HOMEPAGE="http://porthole.sourceforge.net"
63 SRC_URI="mirror://sourceforge/porthole/${P}.tar.bz2"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
68 IUSE="nls"
69 LANGS="de pl ru vi it fr tr"
70 for X in $LANGS; do IUSE="${IUSE} linguas_${X}"; done
71
72 RDEPEND=">=dev-lang/python-2.4[xml,threads]
73 >=sys-apps/portage-2.1
74 >=dev-python/pygtk-2.4.0
75 >=gnome-base/libglade-2.5.0
76 dev-python/pygtksourceview:2
77 nls? ( virtual/libintl )"
78 DEPEND="${RDEPEND}
79 nls? ( >=sys-devel/gettext-0.14 )"
80
81 src_compile(){
82 # Compile localizations if necessary
83 if use nls ; then
84 cd scripts
85 ./pocompile.sh -emerge ${LINGUAS} || die "pocompile failed"
86 fi
87 }
88
89 src_install() {
90 distutils_src_install
91
92 dodoc TODO README NEWS AUTHORS
93
94 keepdir /var/log/porthole
95 fperms g+w /var/log/porthole
96 keepdir /var/db/porthole
97 fperms g+w /var/db/porthole
98
99 # nls
100 if use nls; then
101 # mo directory doesn't exists with nls enabled and unsupported LINGUAS
102 [[ -d porthole/i18n/mo ]] && domo porthole/i18n/mo/*
103 fi
104 }
105
106 pkg_preinst() {
107 chgrp portage "${D}"/var/log/porthole
108 chgrp portage "${D}"/var/db/porthole
109 }
110
111 pkg_postinst() {
112 einfo
113 einfo "Porthole has updated the way that the upgrades are sent to emerge."
114 einfo "In this new way the user needs to set any 'Settings' menu emerge options"
115 einfo "Porthole automatically adds '--oneshot' for all upgrades selections"
116 einfo "Other options recommended are '--noreplace' along with '--update'"
117 einfo "They allow for portage to skip any packages that might have already"
118 einfo "been upgraded as a dependency of another previously upgraded package"
119 einfo
120 }