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