1 |
djc 15/02/08 14:26:19 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: trac-1.0.4.ebuild |
5 |
Log: |
6 |
Version bump trac to 1.0.4 (includes fixes from bug 538714) |
7 |
|
8 |
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 30380381) |
9 |
|
10 |
Revision Changes Path |
11 |
1.9 www-apps/trac/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/metadata.xml?rev=1.9&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/metadata.xml?rev=1.9&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/metadata.xml?r1=1.8&r2=1.9 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/trac/metadata.xml,v |
20 |
retrieving revision 1.8 |
21 |
retrieving revision 1.9 |
22 |
diff -u -r1.8 -r1.9 |
23 |
--- metadata.xml 14 Jun 2010 08:45:31 -0000 1.8 |
24 |
+++ metadata.xml 8 Feb 2015 14:26:19 -0000 1.9 |
25 |
@@ -8,5 +8,7 @@ |
26 |
</maintainer> |
27 |
<use> |
28 |
<flag name="i18n">Enable support for i18n with dev-python/Babel</flag> |
29 |
+ <flag name="highlight">Enable syntax highlighting</flag> |
30 |
+ <flag name="restructuredtext">Enable support for reStructuredText for wiki formatting</flag> |
31 |
</use> |
32 |
</pkgmetadata> |
33 |
|
34 |
|
35 |
|
36 |
1.150 www-apps/trac/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/ChangeLog?rev=1.150&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/ChangeLog?rev=1.150&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/ChangeLog?r1=1.149&r2=1.150 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v |
45 |
retrieving revision 1.149 |
46 |
retrieving revision 1.150 |
47 |
diff -u -r1.149 -r1.150 |
48 |
--- ChangeLog 8 Feb 2015 10:09:56 -0000 1.149 |
49 |
+++ ChangeLog 8 Feb 2015 14:26:19 -0000 1.150 |
50 |
@@ -1,6 +1,12 @@ |
51 |
# ChangeLog for www-apps/trac |
52 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.149 2015/02/08 10:09:56 djc Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.150 2015/02/08 14:26:19 djc Exp $ |
55 |
+ |
56 |
+*trac-1.0.4 (08 Feb 2015) |
57 |
+ |
58 |
+ 08 Feb 2015; Dirkjan Ochtman <djc@g.o> +trac-1.0.4.ebuild, |
59 |
+ metadata.xml: |
60 |
+ Version bump trac to 1.0.4 (includes fixes from bug 538714) |
61 |
|
62 |
08 Feb 2015; Dirkjan Ochtman <djc@g.o> -files/1.0.1-git-identity.patch, |
63 |
-trac-1.0.1-r1.ebuild, -trac-1.0.1.ebuild: |
64 |
|
65 |
|
66 |
|
67 |
1.1 www-apps/trac/trac-1.0.4.ebuild |
68 |
|
69 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/trac-1.0.4.ebuild?rev=1.1&view=markup |
70 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/trac-1.0.4.ebuild?rev=1.1&content-type=text/plain |
71 |
|
72 |
Index: trac-1.0.4.ebuild |
73 |
=================================================================== |
74 |
# Copyright 1999-2015 Gentoo Foundation |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-1.0.4.ebuild,v 1.1 2015/02/08 14:26:19 djc Exp $ |
77 |
|
78 |
EAPI=5 |
79 |
|
80 |
PYTHON_COMPAT=( python2_7 ) |
81 |
PYTHON_REQ_USE='sqlite?' |
82 |
|
83 |
DISTUTILS_SINGLE_IMPL=Yes |
84 |
|
85 |
inherit distutils-r1 eutils user webapp |
86 |
|
87 |
MY_PV=${PV/_beta/b} |
88 |
MY_P=Trac-${MY_PV} |
89 |
|
90 |
DESCRIPTION="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system" |
91 |
HOMEPAGE="http://trac.edgewall.com/ http://pypi.python.org/pypi/Trac" |
92 |
SRC_URI="http://ftp.edgewall.com/pub/trac/${MY_P}.tar.gz" |
93 |
|
94 |
LICENSE="BSD" |
95 |
SLOT="0" |
96 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
97 |
IUSE="cgi fastcgi i18n +highlight +restructuredtext mysql postgres +sqlite subversion test" |
98 |
REQUIRED_USE="|| ( mysql postgres sqlite )" |
99 |
|
100 |
RDEPEND=" |
101 |
dev-python/setuptools[${PYTHON_USEDEP}] |
102 |
dev-python/genshi[${PYTHON_USEDEP}] |
103 |
dev-python/pytz[${PYTHON_USEDEP}] |
104 |
i18n? ( >=dev-python/Babel-0.9.5[${PYTHON_USEDEP}] ) |
105 |
highlight? ( |
106 |
|| ( |
107 |
dev-python/pygments[${PYTHON_USEDEP}] |
108 |
app-text/silvercity |
109 |
app-text/pytextile |
110 |
app-text/enscript |
111 |
) |
112 |
) |
113 |
restructuredtext? ( dev-python/docutils[${PYTHON_USEDEP}] ) |
114 |
cgi? ( virtual/httpd-cgi ) |
115 |
fastcgi? ( virtual/httpd-fastcgi ) |
116 |
mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) |
117 |
postgres? ( >=dev-python/psycopg-2[${PYTHON_USEDEP}] ) |
118 |
sqlite? ( >=dev-db/sqlite-3.3.4:3 ) |
119 |
subversion? ( dev-vcs/subversion[python,${PYTHON_USEDEP}] ) |
120 |
" |
121 |
DEPEND="${RDEPEND} |
122 |
test? ( |
123 |
dev-python/twill[${PYTHON_USEDEP}] |
124 |
dev-python/lxml[${PYTHON_USEDEP}] |
125 |
dev-python/configobj[${PYTHON_USEDEP}] |
126 |
)" |
127 |
|
128 |
S="${WORKDIR}/${MY_P}" |
129 |
|
130 |
WEBAPP_MANUAL_SLOT="yes" |
131 |
|
132 |
pkg_setup() { |
133 |
python-single-r1_pkg_setup |
134 |
webapp_pkg_setup |
135 |
|
136 |
enewgroup tracd |
137 |
enewuser tracd -1 -1 -1 tracd |
138 |
} |
139 |
|
140 |
python_prepare_all() { |
141 |
distutils-r1_python_prepare_all |
142 |
} |
143 |
|
144 |
src_test() { |
145 |
distutils-r1_src_test |
146 |
} |
147 |
|
148 |
python_test() { |
149 |
PYTHONPATH=. "${PYTHON}" trac/test.py || die "Tests fail with ${EPYTHON}" |
150 |
} |
151 |
|
152 |
python_test_all() { |
153 |
if use i18n; then |
154 |
make check |
155 |
fi |
156 |
} |
157 |
|
158 |
python_install() { |
159 |
if use cgi; then |
160 |
python_scriptinto "${MY_CGIBINDIR}" |
161 |
python_doscript contrib/cgi-bin/trac.cgi |
162 |
fi |
163 |
if use fastcgi; then |
164 |
python_scriptinto "${MY_CGIBINDIR}" |
165 |
python_doscript contrib/cgi-bin/trac.fcgi |
166 |
fi |
167 |
distutils-r1_python_install |
168 |
} |
169 |
|
170 |
# the default src_compile just calls setup.py build |
171 |
# currently, this switches i18n catalog compilation based on presence of Babel |
172 |
|
173 |
src_install() { |
174 |
webapp_src_preinst |
175 |
distutils-r1_src_install |
176 |
|
177 |
# project environments might go in here |
178 |
keepdir /var/lib/trac |
179 |
|
180 |
# Use this as the egg-cache for tracd |
181 |
dodir /var/lib/trac/egg-cache |
182 |
keepdir /var/lib/trac/egg-cache |
183 |
fowners tracd:tracd /var/lib/trac/egg-cache |
184 |
|
185 |
# documentation |
186 |
dodoc -r contrib |
187 |
|
188 |
# tracd init script |
189 |
newconfd "${FILESDIR}"/tracd.confd tracd |
190 |
newinitd "${FILESDIR}"/tracd.initd tracd |
191 |
|
192 |
for lang in en; do |
193 |
webapp_postinst_txt ${lang} "${FILESDIR}"/postinst-${lang}.txt |
194 |
webapp_postupgrade_txt ${lang} "${FILESDIR}"/postupgrade-${lang}.txt |
195 |
done |
196 |
|
197 |
webapp_src_install |
198 |
} |
199 |
|
200 |
pkg_postinst() { |
201 |
webapp_pkg_postinst |
202 |
} |