summaryrefslogtreecommitdiff
blob: 820a907d85398e88b313be7083910fb64cb1cb05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 1999-2005 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Plugins for PyBlosxom."
SRC_URI=""
HOMEPAGE="http://pyblosxom.sourceforge.net/"

LICENSE="MIT"
KEYWORDS="~x86"

SLOT="0"

IUSE=""

RDEPEND="virtual/python
         dev-python/pyxml
         dev-python/imaging
         media-fonts/freefonts
         www-apps/pyblosxom"

src_install() {

	PLUGIN_DIR=${D}/usr/share/pyblosxom-${PV}/plugins

	mkdir -p ${PLUGIN_DIR}

	PLUGINS="comments.py
             nospam.py
             session.py
             hardcodedates.py 
             getstamps.py 
             rss2renderer.py 
             pycategories.py
             contact.py 
             logrequest.py 
             pyguest.py 
             wbglast10summary.py"

	for plg in ${PLUGINS}
	do 
	  cp ${FILESDIR}/${plg}  ${PLUGIN_DIR}
	done

	dodoc ${FILESDIR}/rss2renderer.py.html
	dodoc ${FILESDIR}/wbglast10summary.py.html
}