1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
14 DESCRIPTION="A simple CalDAV calendar server"
15 HOMEPAGE="http://www.radicale.org/"
16 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
20 KEYWORDS="~x86 ~amd64"
21 IUSE="fastcgi ldap ssl"
23 # the '>=' goes ok, as radicale supports _all_ other python version
24 # this includes all 3.* versions
25 RDEPEND="ssl? ( >=dev-lang/python-2.6.6[ssl] )
26 ldap? ( dev-python/python-ldap )
27 fastcgi? ( dev-python/flup )"
32 # delete the useless .rst, so that it is not installed
38 newinitd "${FILESDIR}"/radicale.init.d radicale || die
42 doins config logging || die
45 insinto /usr/share/${PN}
47 use fastcgi && doins radicale.fcgi
51 einfo "Radicale now supports WSGI."
52 einfo "A sample wsgi-script has been put into ${ROOT}usr/share/${PN}."
53 use fastcgi && einfo "You will also find there an example fcgi-script."