1 |
idl0r 13/05/25 18:32:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: viewvc-1.1.20.ebuild |
5 |
Log: |
6 |
Non-Maintainer bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key B427ABC8) |
9 |
|
10 |
Revision Changes Path |
11 |
1.90 www-apps/viewvc/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/viewvc/ChangeLog?rev=1.90&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/viewvc/ChangeLog?rev=1.90&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/viewvc/ChangeLog?r1=1.89&r2=1.90 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v |
20 |
retrieving revision 1.89 |
21 |
retrieving revision 1.90 |
22 |
diff -u -r1.89 -r1.90 |
23 |
--- ChangeLog 25 Dec 2012 14:33:47 -0000 1.89 |
24 |
+++ ChangeLog 25 May 2013 18:32:58 -0000 1.90 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for www-apps/viewvc |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.89 2012/12/25 14:33:47 pacho Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.90 2013/05/25 18:32:58 idl0r Exp $ |
31 |
+ |
32 |
+*viewvc-1.1.20 (25 May 2013) |
33 |
+ |
34 |
+ 25 May 2013; Christian Ruppert <idl0r@g.o> +viewvc-1.1.20.ebuild: |
35 |
+ Non-Maintainer bump. |
36 |
|
37 |
25 Dec 2012; Pacho Ramos <pacho@g.o> -viewvc-1.1.13.ebuild, |
38 |
metadata.xml, viewvc-1.1.17.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 www-apps/viewvc/viewvc-1.1.20.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/viewvc/viewvc-1.1.20.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/viewvc/viewvc-1.1.20.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: viewvc-1.1.20.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/viewvc-1.1.20.ebuild,v 1.1 2013/05/25 18:32:58 idl0r Exp $ |
52 |
|
53 |
EAPI="5" |
54 |
PYTHON_DEPEND="2" |
55 |
SUPPORT_PYTHON_ABIS="1" |
56 |
RESTRICT_PYTHON_ABIS="3.* *-jython" |
57 |
|
58 |
inherit confutils eutils python webapp |
59 |
|
60 |
WEBAPP_MANUAL_SLOT="yes" |
61 |
|
62 |
DESCRIPTION="ViewVC, a web interface to CVS and Subversion" |
63 |
HOMEPAGE="http://viewvc.org/" |
64 |
DOWNLOAD_NUMBER="49275" |
65 |
SRC_URI="http://viewvc.tigris.org/files/documents/3330/${DOWNLOAD_NUMBER}/${P}.tar.gz" |
66 |
|
67 |
LICENSE="BSD-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~ppc ~x86" |
70 |
IUSE="cvs cvsgraph mod_wsgi mysql pygments +subversion" |
71 |
|
72 |
DEPEND="" |
73 |
RDEPEND=" |
74 |
cvs? ( dev-vcs/rcs ) |
75 |
subversion? ( >=dev-vcs/subversion-1.3.1[python] ) |
76 |
|
77 |
mod_wsgi? ( www-apache/mod_wsgi ) |
78 |
!mod_wsgi? ( virtual/httpd-cgi ) |
79 |
|
80 |
cvsgraph? ( >=dev-vcs/cvsgraph-1.5.0 ) |
81 |
mysql? ( >=dev-python/mysql-python-0.9.0 ) |
82 |
pygments? ( |
83 |
dev-python/pygments |
84 |
app-misc/mime-types |
85 |
) |
86 |
" |
87 |
|
88 |
pkg_setup() { |
89 |
python_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 |
sed -i -e "s|^#mime_types_files =.*|mime_types_files = /etc/mime.types|" conf/viewvc.conf.dist |
105 |
mv conf/viewvc.conf{.dist,} |
106 |
mv conf/cvsgraph.conf{.dist,} |
107 |
|
108 |
python_convert_shebangs -r 2 . |
109 |
} |
110 |
|
111 |
src_install() { |
112 |
webapp_src_preinst |
113 |
|
114 |
newbin bin/standalone.py viewvc-standalone-server |
115 |
|
116 |
dodoc CHANGES COMMITTERS INSTALL README |
117 |
|
118 |
installation() { |
119 |
insinto $(python_get_sitedir)/${PN} |
120 |
doins -r lib/* |
121 |
} |
122 |
python_execute_function installation |
123 |
|
124 |
insinto "${MY_APPDIR}" |
125 |
doins -r templates/ || die "doins failed" |
126 |
doins -r templates-contrib/ |
127 |
|
128 |
if use mysql; then |
129 |
exeinto "${MY_HOSTROOTDIR}/bin" |
130 |
doexe bin/{*dbadmin,make-database,loginfo-handler} |
131 |
fi |
132 |
|
133 |
insinto "${MY_HOSTROOTDIR}/conf" |
134 |
doins conf/{viewvc,cvsgraph}.conf |
135 |
|
136 |
exeinto "${MY_CGIBINDIR}" |
137 |
doexe bin/cgi/viewvc.cgi |
138 |
if use mysql; then |
139 |
doexe bin/cgi/query.cgi |
140 |
fi |
141 |
|
142 |
webapp_configfile "${MY_HOSTROOTDIR}/conf/"{viewvc,cvsgraph}.conf |
143 |
|
144 |
webapp_src_install |
145 |
} |
146 |
|
147 |
pkg_postinst() { |
148 |
python_mod_optimize viewvc |
149 |
webapp_pkg_postinst |
150 |
elog "Now read INSTALL in /usr/share/doc/${PF} to configure ${PN}" |
151 |
} |
152 |
|
153 |
pkg_postrm() { |
154 |
python_mod_cleanup viewvc |
155 |
} |