1 |
jokey 07/10/23 15:55:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: portato-0.8.6.2.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
(Portage version: 2.1.3.15) |
8 |
|
9 |
Revision Changes Path |
10 |
1.4 app-portage/portato/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/portato/ChangeLog?rev=1.4&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/portato/ChangeLog?rev=1.4&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/portato/ChangeLog?r1=1.3&r2=1.4 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-portage/portato/ChangeLog,v |
19 |
retrieving revision 1.3 |
20 |
retrieving revision 1.4 |
21 |
diff -u -r1.3 -r1.4 |
22 |
--- ChangeLog 22 Oct 2007 15:06:58 -0000 1.3 |
23 |
+++ ChangeLog 23 Oct 2007 15:55:11 -0000 1.4 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-portage/portato |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-portage/portato/ChangeLog,v 1.3 2007/10/22 15:06:58 jokey Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portato/ChangeLog,v 1.4 2007/10/23 15:55:11 jokey Exp $ |
29 |
+ |
30 |
+*portato-0.8.6.2 (23 Oct 2007) |
31 |
+ |
32 |
+ 23 Oct 2007; Markus Ullmann <jokey@g.o> +portato-0.8.6.2.ebuild: |
33 |
+ Version bump |
34 |
|
35 |
22 Oct 2007; Markus Ullmann <jokey@g.o> portato-0.8.6.ebuild: |
36 |
Some fixes from sunrise/portage-review |
37 |
|
38 |
|
39 |
|
40 |
1.1 app-portage/portato/portato-0.8.6.2.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/portato/portato-0.8.6.2.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/portato/portato-0.8.6.2.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: portato-0.8.6.2.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/app-portage/portato/portato-0.8.6.2.ebuild,v 1.1 2007/10/23 15:55:11 jokey Exp $ |
50 |
|
51 |
NEED_PYTHON="2.5" |
52 |
inherit python eutils distutils |
53 |
|
54 |
DESCRIPTION="A GUI for Portage written in Python." |
55 |
HOMEPAGE="http://portato.origo.ethz.ch/" |
56 |
SRC_URI="http://download.origo.ethz.ch/portato/${P}.tar.gz" |
57 |
|
58 |
LICENSE="GPL-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="~amd64 ~ppc ~x86" |
61 |
IUSE="kde libnotify nls userpriv" |
62 |
|
63 |
RDEPEND=">=sys-apps/portage-2.1.2 |
64 |
>=dev-python/lxml-1.3.2 |
65 |
>=dev-python/pygtk-2.10.4 |
66 |
>=x11-libs/vte-0.12.2 |
67 |
>=gnome-base/libglade-2.5.1 |
68 |
>=dev-python/pygtksourceview-2.0.0 |
69 |
!dev-util/portatosourceview |
70 |
|
71 |
!userpriv? ( |
72 |
kde? ( || ( >=kde-base/kdesu-3.5.5 >=kde-base/kdebase-3.5.5 ) ) |
73 |
!kde? ( >=x11-libs/gksu-2.0.0 ) ) |
74 |
|
75 |
libnotify? ( >=dev-python/notify-python-0.1.1 ) |
76 |
nls? ( virtual/libintl )" |
77 |
|
78 |
# only needs gettext as build dependency |
79 |
# python should be set as DEPEND in the python-eclass |
80 |
DEPEND="nls? ( sys-devel/gettext )" |
81 |
|
82 |
S="${WORKDIR}/${PN}" |
83 |
CONFIG_DIR="etc/${PN}/" |
84 |
DATA_DIR="usr/share/${PN}/" |
85 |
LOCALE_DIR="usr/share/locale/" |
86 |
PLUGIN_DIR="${DATA_DIR}/plugins" |
87 |
ICON_DIR="${DATA_DIR}/icons" |
88 |
|
89 |
pkg_setup () |
90 |
{ |
91 |
if ! built_with_use x11-libs/vte python; then |
92 |
echo |
93 |
eerror "x11-libs/vte has not been built with python support." |
94 |
eerror "Please re-emerge vte with the python use-flag enabled." |
95 |
die "missing python flag for x11-libs/vte" |
96 |
fi |
97 |
} |
98 |
|
99 |
src_compile () |
100 |
{ |
101 |
cd "${S}" |
102 |
|
103 |
# currently only gtk is supported |
104 |
local std="gtk" |
105 |
local frontends="[\"$std\"]" |
106 |
|
107 |
local su="\"gksu -D 'Portato'\"" |
108 |
use kde && su="\"kdesu -t --nonewdcop -i %s -c\" % APP_ICON" |
109 |
|
110 |
sed -i -e "s;^\(VERSION\s*=\s*\).*;\1\"${PV}\";" \ |
111 |
-e "s;^\(CONFIG_DIR\s*=\s*\).*;\1\"${ROOT}${CONFIG_DIR}\";" \ |
112 |
-e "s;^\(DATA_DIR\s*=\s*\).*;\1\"${ROOT}${DATA_DIR}\";" \ |
113 |
-e "s;^\(TEMPLATE_DIR\s*=\s*\).*;\1DATA_DIR;" \ |
114 |
-e "s;^\(ICON_DIR\s*=\s*\).*;\1\"${ROOT}${ICON_DIR}\";" \ |
115 |
-e "s;^\(LOCALE_DIR\s*=\s*\).*;\1\"${ROOT}${LOCALE_DIR}\";" \ |
116 |
-e "s;^\(FRONTENDS\s*=\s*\).*;\1${frontends};" \ |
117 |
-e "s;^\(STD_FRONTEND\s*=\s*\).*;\1\"${std}\";" \ |
118 |
-e "s;^\(SU_COMMAND\s*=\s*\).*;\1${su};" \ |
119 |
-e "s;^\(USE_CATAPULT\s*=\s*\).*;\1False;" \ |
120 |
"${PN}"/constants.py |
121 |
|
122 |
use userpriv && sed -i -e "s/Exec=.*/Exec=portato --no-listener/" portato.desktop |
123 |
use nls && ./pocompile.sh -emerge |
124 |
|
125 |
distutils_src_compile |
126 |
} |
127 |
|
128 |
src_install () |
129 |
{ |
130 |
dodir ${DATA_DIR} |
131 |
distutils_src_install |
132 |
|
133 |
newbin portato.py portato |
134 |
dodoc doc/* |
135 |
|
136 |
# config |
137 |
insinto ${CONFIG_DIR} |
138 |
doins etc/* |
139 |
|
140 |
# plugins |
141 |
insinto ${PLUGIN_DIR} |
142 |
keepdir ${PLUGIN_DIR} |
143 |
|
144 |
use libnotify && doins plugins/notify.xml |
145 |
|
146 |
# desktop |
147 |
doicon icons/portato-icon.png |
148 |
domenu portato.desktop |
149 |
|
150 |
# nls |
151 |
use nls && domo i18n/mo/* |
152 |
} |
153 |
|
154 |
|
155 |
|
156 |
-- |
157 |
gentoo-commits@g.o mailing list |