1 |
rbu 08/04/28 17:40:34 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: trac-0.11_beta2.ebuild |
5 |
Removed: trac-0.11_beta1.ebuild |
6 |
Log: |
7 |
Version bump (bug #214048). Thanks to Christian van der Leeden. |
8 |
Also, removing dju as maintainer because he is retiring (bug #87168). |
9 |
(Portage version: 2.1.4.4) |
10 |
|
11 |
Revision Changes Path |
12 |
1.66 www-apps/trac/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/trac/ChangeLog?rev=1.66&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/trac/ChangeLog?rev=1.66&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/trac/ChangeLog?r1=1.65&r2=1.66 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v |
21 |
retrieving revision 1.65 |
22 |
retrieving revision 1.66 |
23 |
diff -u -r1.65 -r1.66 |
24 |
--- ChangeLog 27 Apr 2008 11:21:03 -0000 1.65 |
25 |
+++ ChangeLog 28 Apr 2008 17:40:34 -0000 1.66 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for www-apps/trac |
28 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.65 2008/04/27 11:21:03 jokey Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.66 2008/04/28 17:40:34 rbu Exp $ |
31 |
+ |
32 |
+*trac-0.11_beta2 (28 Apr 2008) |
33 |
+ |
34 |
+ 28 Apr 2008; Robert Buchholz <rbu@g.o> metadata.xml, |
35 |
+ -trac-0.11_beta1.ebuild, +trac-0.11_beta2.ebuild: |
36 |
+ Version bump (bug #214048). Thanks to Christian van der Leeden. |
37 |
+ Also, removing dju as maintainer because he is retiring (bug #87168). |
38 |
|
39 |
27 Apr 2008; Markus Ullmann <jokey@g.o> trac-0.10.4.ebuild: |
40 |
Stable on x86 wrt bug #196505 |
41 |
|
42 |
|
43 |
|
44 |
1.4 www-apps/trac/metadata.xml |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/trac/metadata.xml?rev=1.4&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/trac/metadata.xml?rev=1.4&content-type=text/plain |
48 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/trac/metadata.xml?r1=1.3&r2=1.4 |
49 |
|
50 |
Index: metadata.xml |
51 |
=================================================================== |
52 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/trac/metadata.xml,v |
53 |
retrieving revision 1.3 |
54 |
retrieving revision 1.4 |
55 |
diff -u -r1.3 -r1.4 |
56 |
--- metadata.xml 5 Jul 2005 22:35:45 -0000 1.3 |
57 |
+++ metadata.xml 28 Apr 2008 17:40:34 -0000 1.4 |
58 |
@@ -2,7 +2,4 @@ |
59 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
60 |
<pkgmetadata> |
61 |
<herd>web-apps</herd> |
62 |
-<maintainer> |
63 |
- <email>dju@g.o</email> |
64 |
-</maintainer> |
65 |
</pkgmetadata> |
66 |
|
67 |
|
68 |
|
69 |
1.1 www-apps/trac/trac-0.11_beta2.ebuild |
70 |
|
71 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/trac/trac-0.11_beta2.ebuild?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/trac/trac-0.11_beta2.ebuild?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: trac-0.11_beta2.ebuild |
75 |
=================================================================== |
76 |
# Copyright 1999-2008 Gentoo Foundation |
77 |
# Distributed under the terms of the GNU General Public License v2 |
78 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.11_beta2.ebuild,v 1.1 2008/04/28 17:40:34 rbu Exp $ |
79 |
|
80 |
inherit distutils webapp |
81 |
|
82 |
MY_PV=${PV/_beta/b} |
83 |
MY_P=Trac-${MY_PV} |
84 |
S=${WORKDIR}/${MY_P} |
85 |
|
86 |
DESCRIPTION="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system." |
87 |
HOMEPAGE="http://trac.edgewall.com/" |
88 |
LICENSE="trac" |
89 |
SRC_URI="http://ftp.edgewall.com/pub/trac/${MY_P}.tar.gz" |
90 |
|
91 |
IUSE="cgi fastcgi mysql postgres sqlite subversion" |
92 |
|
93 |
KEYWORDS="~amd64 ~x86" |
94 |
|
95 |
# doing so because tools, python packages... overlap |
96 |
SLOT="0" |
97 |
WEBAPP_MANUAL_SLOT="yes" |
98 |
|
99 |
DEPEND=" |
100 |
${DEPEND} |
101 |
dev-python/setuptools |
102 |
" |
103 |
|
104 |
RDEPEND=" |
105 |
${RDEPEND} |
106 |
dev-python/genshi |
107 |
dev-python/pygments |
108 |
>=dev-python/docutils-0.3.9 |
109 |
dev-python/pytz |
110 |
cgi? ( |
111 |
virtual/httpd-cgi |
112 |
) |
113 |
fastcgi? ( |
114 |
virtual/httpd-fastcgi |
115 |
) |
116 |
mysql? ( |
117 |
>=dev-python/mysql-python-1.2.1 |
118 |
>=virtual/mysql-4.1 |
119 |
) |
120 |
postgres? ( |
121 |
>=dev-python/psycopg-2 |
122 |
) |
123 |
sqlite? ( |
124 |
>=dev-db/sqlite-3.3.4 |
125 |
|| ( |
126 |
>=dev-lang/python-2.5 |
127 |
>=dev-python/pysqlite-2.3.2 |
128 |
) |
129 |
) |
130 |
subversion? ( |
131 |
>=dev-util/subversion-1.4.2 |
132 |
) |
133 |
!www-apps/trac-webadmin |
134 |
" |
135 |
|
136 |
# The following function should be added to eutils.eclass (see bug #143572): |
137 |
|
138 |
# Generate an standard error message for missing USE flags |
139 |
# in existing packages, and die. |
140 |
# |
141 |
# Usage: built_with_use_die <category/package> <functionality> [<USE flag>] |
142 |
# ex: built_with_use_die dev-util/subversion python |
143 |
# or: built_with_use_die www-servers/apache LDAP ldap |
144 |
# |
145 |
# Typical usage: |
146 |
# if ! built_with_use dev-util/subversion python ; then |
147 |
# built_with_use_die dev-util/subversion python |
148 |
# fi |
149 |
# |
150 |
# Note: when <USE flag> is not specified, <functionality> is used for the USE flag name. |
151 |
built_with_use_die() { |
152 |
local package=$1 |
153 |
local func=$2 |
154 |
local use_flag=$3 |
155 |
|
156 |
[[ -z ${use_flag} ]] && use_flag=${func} |
157 |
|
158 |
eerror "Your ${package} package has been built without" |
159 |
eerror "${func} support, please enable the '${use_flag}' USE flag and" |
160 |
eerror "re-emerge ${package}." |
161 |
elog "You can enable this USE flag either globally in /etc/make.conf," |
162 |
elog "or just for specific packages in /etc/portage/package.use." |
163 |
die "${package} missing ${func} support" |
164 |
} |
165 |
|
166 |
pkg_setup() { |
167 |
webapp_pkg_setup |
168 |
|
169 |
if ! use mysql && ! use postgres && ! use sqlite ; then |
170 |
eerror "You must select at least one database backend, by enabling" |
171 |
eerror "at least one of the 'mysql', 'postgres' or 'sqlite' USE flags." |
172 |
die "no database backend selected" |
173 |
fi |
174 |
|
175 |
# python has built-in sqlite support starting from 2.5 |
176 |
if use sqlite && \ |
177 |
has_version ">=dev-lang/python-2.5" && \ |
178 |
! has_version ">=dev-python/pysqlite-2.3" && \ |
179 |
! built_with_use dev-lang/python sqlite ; then |
180 |
eerror "To use the sqlite database backend, you must either:" |
181 |
eerror "- build dev-lang/python with sqlite support, using the 'sqlite'" |
182 |
eerror " USE flag, or" |
183 |
eerror "- emerge dev-python/pysqlite" |
184 |
die "missing python sqlite support" |
185 |
fi |
186 |
|
187 |
if use subversion && \ |
188 |
! built_with_use dev-util/subversion python ; then |
189 |
built_with_use_die dev-util/subversion python |
190 |
fi |
191 |
|
192 |
ebegin "Creating tracd group and user" |
193 |
enewgroup tracd |
194 |
enewuser tracd -1 -1 -1 tracd |
195 |
eend ${?} |
196 |
} |
197 |
|
198 |
src_install() { |
199 |
webapp_src_preinst |
200 |
distutils_src_install |
201 |
|
202 |
# project environments might go in here |
203 |
keepdir /var/lib/trac |
204 |
|
205 |
# documentation |
206 |
dodoc AUTHORS RELEASE THANKS UPGRADE |
207 |
cp -r contrib "${D}"/usr/share/doc/${P}/ |
208 |
|
209 |
# tracd init script |
210 |
newconfd "${FILESDIR}"/tracd.confd tracd |
211 |
newinitd "${FILESDIR}"/tracd.initd tracd |
212 |
|
213 |
# prepare webapp master copy |
214 |
|
215 |
# if needed, install cgi/fcgi scripts |
216 |
if use cgi ; then |
217 |
cp cgi-bin/trac.cgi "${D}"/${MY_CGIBINDIR} || die |
218 |
fi |
219 |
if use fastcgi ; then |
220 |
cp cgi-bin/trac.fcgi "${D}"/${MY_CGIBINDIR} || die |
221 |
fi |
222 |
|
223 |
# copy graphics, css & js |
224 |
# cp -r htdocs/* ${D}/${MY_HTDOCSDIR} |
225 |
|
226 |
for lang in en; do |
227 |
webapp_postinst_txt ${lang} "${FILESDIR}"/postinst-${lang}.txt |
228 |
webapp_postupgrade_txt ${lang} "${FILESDIR}"/postupgrade-${lang}.txt |
229 |
done |
230 |
|
231 |
webapp_src_install |
232 |
} |
233 |
|
234 |
|
235 |
|
236 |
-- |
237 |
gentoo-commits@l.g.o mailing list |