1 |
arfrever 09/06/28 13:07:25 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: viewvc-1.1.1.ebuild |
5 |
Log: |
6 |
Version bump (bug #270124). |
7 |
(Portage version: 13717-svn/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.4 www-apps/viewvc/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/metadata.xml?rev=1.4&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/metadata.xml?rev=1.4&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/metadata.xml?r1=1.3&r2=1.4 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/viewvc/metadata.xml,v |
19 |
retrieving revision 1.3 |
20 |
retrieving revision 1.4 |
21 |
diff -u -r1.3 -r1.4 |
22 |
--- metadata.xml 23 Aug 2008 04:59:13 -0000 1.3 |
23 |
+++ metadata.xml 28 Jun 2009 13:07:25 -0000 1.4 |
24 |
@@ -9,5 +9,7 @@ |
25 |
colourize code stored in the repository</flag> |
26 |
<flag name='mod_python'>Add <pkg>www-apache/mod_python</pkg> |
27 |
support</flag> |
28 |
+ <flag name='pygments'>Add <pkg>dev-python/pygments</pkg> support |
29 |
+ for syntax highlighting</flag> |
30 |
</use> |
31 |
</pkgmetadata> |
32 |
|
33 |
|
34 |
|
35 |
1.29 www-apps/viewvc/ChangeLog |
36 |
|
37 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/ChangeLog?rev=1.29&view=markup |
38 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/ChangeLog?rev=1.29&content-type=text/plain |
39 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/ChangeLog?r1=1.28&r2=1.29 |
40 |
|
41 |
Index: ChangeLog |
42 |
=================================================================== |
43 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v |
44 |
retrieving revision 1.28 |
45 |
retrieving revision 1.29 |
46 |
diff -u -r1.28 -r1.29 |
47 |
--- ChangeLog 7 Mar 2009 20:55:49 -0000 1.28 |
48 |
+++ ChangeLog 28 Jun 2009 13:07:25 -0000 1.29 |
49 |
@@ -1,6 +1,12 @@ |
50 |
# ChangeLog for www-apps/viewvc |
51 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
52 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.28 2009/03/07 20:55:49 betelgeuse Exp $ |
53 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.29 2009/06/28 13:07:25 arfrever Exp $ |
54 |
+ |
55 |
+*viewvc-1.1.1 (28 Jun 2009) |
56 |
+ |
57 |
+ 28 Jun 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
58 |
+ +viewvc-1.1.1.ebuild, metadata.xml: |
59 |
+ Version bump (bug #270124). |
60 |
|
61 |
07 Mar 2009; Petteri Räty <betelgeuse@g.o> -viewvc-1.0.4.ebuild, |
62 |
-viewvc-1.0.4-r1.ebuild: |
63 |
|
64 |
|
65 |
|
66 |
1.1 www-apps/viewvc/viewvc-1.1.1.ebuild |
67 |
|
68 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/viewvc-1.1.1.ebuild?rev=1.1&view=markup |
69 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/viewvc-1.1.1.ebuild?rev=1.1&content-type=text/plain |
70 |
|
71 |
Index: viewvc-1.1.1.ebuild |
72 |
=================================================================== |
73 |
# Copyright 1999-2009 Gentoo Foundation |
74 |
# Distributed under the terms of the GNU General Public License v2 |
75 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/viewvc-1.1.1.ebuild,v 1.1 2009/06/28 13:07:25 arfrever Exp $ |
76 |
|
77 |
EAPI="2" |
78 |
|
79 |
inherit confutils eutils python webapp |
80 |
|
81 |
WEBAPP_MANUAL_SLOT="yes" |
82 |
|
83 |
DESCRIPTION="ViewVC, a web interface to CVS and Subversion" |
84 |
HOMEPAGE="http://viewvc.org/" |
85 |
SRC_URI="http://viewvc.tigris.org/files/documents/3330/46029/${P}.tar.gz" |
86 |
|
87 |
LICENSE="viewcvs" |
88 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
89 |
IUSE="cvs cvsgraph mod_python mysql pygments subversion" |
90 |
SLOT="0" |
91 |
|
92 |
DEPEND="" |
93 |
RDEPEND=" |
94 |
cvs? ( |
95 |
>=dev-lang/python-1.5.2 |
96 |
app-text/rcs |
97 |
) |
98 |
|
99 |
subversion? ( |
100 |
>=dev-lang/python-2.0 |
101 |
>=dev-util/subversion-1.3.1[python] |
102 |
) |
103 |
|
104 |
mod_python? ( www-apache/mod_python ) |
105 |
!mod_python? ( virtual/httpd-cgi ) |
106 |
|
107 |
cvsgraph? ( >=dev-util/cvsgraph-1.5.0 ) |
108 |
mysql? ( >=dev-python/mysql-python-0.9.0 ) |
109 |
pygments? ( dev-python/pygments ) |
110 |
" |
111 |
|
112 |
pkg_setup() { |
113 |
webapp_pkg_setup |
114 |
|
115 |
confutils_require_any cvs subversion |
116 |
|
117 |
MOD_PATH=$(python_get_sitedir)/${PN} |
118 |
} |
119 |
|
120 |
src_prepare() { |
121 |
find bin/ -type f -print0 | xargs -0 sed -i \ |
122 |
-e "s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"${MOD_PATH}\"|g" \ |
123 |
-e "s|\(^CONF_PATHNAME\)\(.*\$\)|\1 = \"../conf/viewvc.conf\"|g" |
124 |
|
125 |
sed -i -e "s|\(self\.options\.template_dir\)\(.*\$\)|\1 = \"${MY_APPDIR}/templates\"|" \ |
126 |
lib/config.py |
127 |
|
128 |
sed -i -e "s|^template_dir.*|#&|" conf/viewvc.conf.dist |
129 |
mv conf/viewvc.conf{.dist,} |
130 |
mv conf/cvsgraph.conf{.dist,} |
131 |
mv conf/mimetypes.conf{.dist,} |
132 |
} |
133 |
|
134 |
src_install() { |
135 |
webapp_src_preinst |
136 |
|
137 |
dodoc CHANGES COMMITTERS INSTALL README |
138 |
dohtml -r viewvc.org/* |
139 |
|
140 |
insinto "${MOD_PATH}" |
141 |
doins -r lib/* |
142 |
|
143 |
insinto "${MY_APPDIR}" |
144 |
doins -r templates/ |
145 |
|
146 |
if use mysql; then |
147 |
exeinto "${MY_HOSTROOTDIR}"/bin |
148 |
doexe bin/{*dbadmin,make-database,loginfo-handler} |
149 |
fi |
150 |
|
151 |
insinto "${MY_HOSTROOTDIR}"/conf |
152 |
doins conf/{viewvc,cvsgraph,mimetypes}.conf |
153 |
|
154 |
if use mod_python; then |
155 |
insinto "${MY_HTDOCSDIR}" |
156 |
doins bin/mod_python/viewvc.py |
157 |
doins bin/mod_python/handler.py |
158 |
doins bin/mod_python/.htaccess |
159 |
use mysql && doins bin/mod_python/query.py |
160 |
else |
161 |
exeinto "${MY_CGIBINDIR}" |
162 |
doexe bin/cgi/viewvc.cgi |
163 |
use mysql && doexe bin/cgi/query.cgi |
164 |
fi |
165 |
|
166 |
webapp_configfile "${MY_HOSTROOTDIR}"/conf/{viewvc,cvsgraph}.conf |
167 |
|
168 |
webapp_src_install |
169 |
} |
170 |
|
171 |
pkg_postinst() { |
172 |
webapp_pkg_postinst |
173 |
python_mod_optimize "${MOD_PATH}" |
174 |
elog "Now read INSTALL in /usr/share/doc/${PF} to configure ${PN}" |
175 |
} |
176 |
|
177 |
pkg_postrm() { |
178 |
python_mod_cleanup |
179 |
} |