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