summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2008-01-23 10:05:48 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2008-01-23 10:05:48 +0000
commit58d998316ef5821bb6f8633f4a2e4e47ebca369a (patch)
tree000d56d33f639d4d78e01b4aaebeb1f411080c98 /www-apps
parentMask app-emacs/cdrw for removal. (diff)
downloadgentoo-2-58d998316ef5821bb6f8633f4a2e4e47ebca369a.tar.gz
gentoo-2-58d998316ef5821bb6f8633f4a2e4e47ebca369a.tar.bz2
gentoo-2-58d998316ef5821bb6f8633f4a2e4e47ebca369a.zip
Added moinmoin-1.6.0 (#206512).
(Portage version: 2.1.4_rc7)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/moinmoin/ChangeLog9
-rw-r--r--www-apps/moinmoin/files/digest-moinmoin-1.6.03
-rw-r--r--www-apps/moinmoin/moinmoin-1.6.0.ebuild64
3 files changed, 74 insertions, 2 deletions
diff --git a/www-apps/moinmoin/ChangeLog b/www-apps/moinmoin/ChangeLog
index 652beac2a603..716c707323cb 100644
--- a/www-apps/moinmoin/ChangeLog
+++ b/www-apps/moinmoin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/moinmoin
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/moinmoin/ChangeLog,v 1.35 2007/06/02 20:44:08 nixnut Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/moinmoin/ChangeLog,v 1.36 2008/01/23 10:05:47 wrobel Exp $
+
+*moinmoin-1.6.0 (23 Jan 2008)
+
+ 23 Jan 2008; Gunnar Wrobel <wrobel@gentoo.org> +moinmoin-1.6.0.ebuild:
+ Added moinmoin-1.6.0 (#206512).
02 Jun 2007; nixnut <nixnut@gentoo.org> moinmoin-1.5.8.ebuild:
Stable on ppc wrt bug 177604
diff --git a/www-apps/moinmoin/files/digest-moinmoin-1.6.0 b/www-apps/moinmoin/files/digest-moinmoin-1.6.0
new file mode 100644
index 000000000000..a6f3b91b7868
--- /dev/null
+++ b/www-apps/moinmoin/files/digest-moinmoin-1.6.0
@@ -0,0 +1,3 @@
+MD5 6ce1449bbd22cc3ded3c0d18b4775a45 moin-1.6.0.tar.gz 5057079
+RMD160 136b6cc781529b1838d1ca7e6873ec49f99178d9 moin-1.6.0.tar.gz 5057079
+SHA256 f033b8418d4027dfa28a88cfc3ebb7ef7af5d9561672063b816701d19208a929 moin-1.6.0.tar.gz 5057079
diff --git a/www-apps/moinmoin/moinmoin-1.6.0.ebuild b/www-apps/moinmoin/moinmoin-1.6.0.ebuild
new file mode 100644
index 000000000000..87a152a522c0
--- /dev/null
+++ b/www-apps/moinmoin/moinmoin-1.6.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/moinmoin/moinmoin-1.6.0.ebuild,v 1.1 2008/01/23 10:05:47 wrobel Exp $
+
+inherit webapp
+
+MY_PN="moin"
+S=${WORKDIR}/${MY_PN}-${PV}
+
+DESCRIPTION="Python WikiClone"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+HOMEPAGE="http://moinmoin.wikiwikiweb.de"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+LICENSE="GPL-2"
+IUSE="rss"
+
+SLOT="0"
+WEBAPP_MANUAL_SLOT="yes"
+
+DEPEND=">=dev-lang/python-2.3"
+RDEPEND="${DEPEND}
+ virtual/httpd-cgi
+ >=dev-python/docutils-0.4
+ rss? ( >=dev-python/pyxml-0.8.4 )"
+
+src_compile() {
+ python setup.py build || die "python build failed"
+}
+
+src_install () {
+ webapp_src_preinst
+
+ python setup.py install --root="${D}" --prefix=/usr install || die "python install failed"
+
+ dodoc ChangeLog README docs/CHANGES* docs/HACKS docs/README.migration
+ dohtml docs/INSTALL.html
+ dodir "${MY_HOSTROOTDIR}/${PF}"
+
+ cd "${D}/usr/share/moin"
+ cp -r htdocs/* server/moin.cgi "${D}/${MY_HTDOCSDIR}"
+ chmod +x "${D}/${MY_HTDOCSDIR}/moin.cgi"
+ cp -r data underlay config/wikiconfig.py "${D}/${MY_HOSTROOTDIR}/${PF}"
+ cp -r config "${D}/${MY_HOSTROOTDIR}/${PF}/altconfigs"
+ cp -r server "${D}/${MY_HOSTROOTDIR}/${PF}/altserver"
+
+ # data needs to be serverowned per moin devs
+ cd "${D}/${MY_HOSTROOTDIR}/${PF}"
+ for file in $(find data underlay); do
+ webapp_serverowned "${MY_HOSTROOTDIR}/${PF}/${file}"
+ done
+
+ webapp_configfile "${MY_HOSTROOTDIR}/${PF}/wikiconfig.py"
+ webapp_hook_script "${FILESDIR}/reconfig-2"
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ ewarn "If you are upgrading from 1.3.x, please read"
+ ewarn "/usr/share/doc/${PF}/README.migration.gz"
+ ewarn "and http://moinmoin.wikiwikiweb.de/HelpOnUpdating"
+ webapp_pkg_postinst
+}