1 |
radhermit 13/01/01 16:24:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: moinmoin-1.9.6.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.86 www-apps/moinmoin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/moinmoin/ChangeLog?rev=1.86&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/moinmoin/ChangeLog?rev=1.86&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/moinmoin/ChangeLog?r1=1.85&r2=1.86 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/moinmoin/ChangeLog,v |
20 |
retrieving revision 1.85 |
21 |
retrieving revision 1.86 |
22 |
diff -u -r1.85 -r1.86 |
23 |
--- ChangeLog 30 Nov 2012 09:37:47 -0000 1.85 |
24 |
+++ ChangeLog 1 Jan 2013 16:24:44 -0000 1.86 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for www-apps/moinmoin |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/moinmoin/ChangeLog,v 1.85 2012/11/30 09:37:47 radhermit Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/moinmoin/ChangeLog,v 1.86 2013/01/01 16:24:44 radhermit Exp $ |
31 |
+ |
32 |
+*moinmoin-1.9.6 (01 Jan 2013) |
33 |
+ |
34 |
+ 01 Jan 2013; Tim Harder <radhermit@g.o> +moinmoin-1.9.6.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
30 Nov 2012; Tim Harder <radhermit@g.o> -moinmoin-1.8.8.ebuild, |
38 |
-moinmoin-1.9.4.ebuild, -files/reconfig-3, -files/postinstall-en.txt: |
39 |
|
40 |
|
41 |
|
42 |
1.1 www-apps/moinmoin/moinmoin-1.9.6.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/moinmoin/moinmoin-1.9.6.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/moinmoin/moinmoin-1.9.6.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: moinmoin-1.9.6.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/moinmoin/moinmoin-1.9.6.ebuild,v 1.1 2013/01/01 16:24:44 radhermit Exp $ |
52 |
|
53 |
EAPI="5" |
54 |
PYTHON_DEPEND="2:2.5" |
55 |
PYTHON_USE_WITH="xml" |
56 |
PYTHON_MODNAME="MoinMoin" |
57 |
|
58 |
inherit distutils webapp |
59 |
|
60 |
MY_PN="moin" |
61 |
|
62 |
DESCRIPTION="Python WikiClone" |
63 |
HOMEPAGE="http://moinmo.in/" |
64 |
SRC_URI="http://static.moinmo.in/files/${MY_PN}-${PV}.tar.gz" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~arm ~ppc ~x86" |
69 |
IUSE="" |
70 |
|
71 |
RDEPEND=">=dev-python/docutils-0.4 |
72 |
>=dev-python/flup-1.0.2 |
73 |
>=dev-python/pygments-1.1.1 |
74 |
>=dev-python/werkzeug-0.7.0" |
75 |
|
76 |
need_httpd_cgi |
77 |
|
78 |
S=${WORKDIR}/${MY_PN}-${PV} |
79 |
|
80 |
WEBAPP_MANUAL_SLOT="yes" |
81 |
|
82 |
pkg_setup() { |
83 |
if has_version "<www-apps/moinmoin-1.9" ; then |
84 |
ewarn |
85 |
ewarn "You already have a version of moinmoin prior to 1.9 installed." |
86 |
ewarn "moinmoin-1.9 has a very different configuration than 1.8 (among" |
87 |
ewarn "other changes, static content is no longer installed under the" |
88 |
ewarn "htdocs directory)." |
89 |
ewarn |
90 |
ewarn "Please read http://moinmo.in/MoinMoinRelease1.9 and" |
91 |
ewarn "README.migration in /usr/share/doc/${PF}" |
92 |
ewarn |
93 |
fi |
94 |
|
95 |
python_set_active_version 2 |
96 |
python_pkg_setup |
97 |
webapp_pkg_setup |
98 |
} |
99 |
|
100 |
src_prepare() { |
101 |
# remove bundled -- parsedatetime and xappy not packaged yet |
102 |
rm -r MoinMoin/support/{pygments,werkzeug,flup} || die |
103 |
sed -i "/\(flup\|pygments\|werkzeug\)/d" setup.py || die |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
webapp_src_preinst |
108 |
distutils_src_install |
109 |
|
110 |
dodoc README docs/CHANGES* docs/README.migration |
111 |
dohtml docs/INSTALL.html |
112 |
rm -rf README docs/ |
113 |
|
114 |
cd "${D}"/usr/share/moin |
115 |
|
116 |
insinto "${MY_HTDOCSDIR}" |
117 |
doins -r server/moin.cgi |
118 |
fperms +x "${MY_HTDOCSDIR}/moin.cgi" |
119 |
|
120 |
insinto "${MY_HOSTROOTDIR}"/${PF} |
121 |
doins -r data underlay config/wikiconfig.py |
122 |
|
123 |
insinto "${MY_HOSTROOTDIR}"/${PF}/altconfigs |
124 |
doins -r config |
125 |
|
126 |
insinto "${MY_HOSTROOTDIR}"/${PF}/altserver |
127 |
doins -r server |
128 |
|
129 |
# data needs to be server owned per moin devs |
130 |
cd "${D}/${MY_HOSTROOTDIR}"/${PF} |
131 |
for file in $(find data underlay); do |
132 |
webapp_serverowned "${MY_HOSTROOTDIR}/${PF}/${file}" |
133 |
done |
134 |
|
135 |
webapp_configfile "${MY_HOSTROOTDIR}"/${PF}/wikiconfig.py |
136 |
webapp_hook_script "${FILESDIR}"/reconfig-1.9.4 |
137 |
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-1.9.4.txt |
138 |
|
139 |
webapp_src_install |
140 |
} |
141 |
|
142 |
pkg_postinst() { |
143 |
ewarn |
144 |
ewarn "If you are upgrading from an older version, please read" |
145 |
ewarn "README.migration in /usr/share/doc/${PF}" |
146 |
ewarn |
147 |
|
148 |
distutils_pkg_postinst |
149 |
webapp_pkg_postinst |
150 |
} |