added ebuild for latest version of radicale

This commit is contained in:
Manuel Friedli 2012-01-28 00:11:08 +00:00
parent 1d718e3bee
commit 636a669822
2 changed files with 56 additions and 0 deletions

View file

@ -1,3 +1,5 @@
AUX radicale.init.d 550 RMD160 f1f6aa919952b744900c781b8d6cd9283bc44534 SHA1 3c2043b9f2680b14969bd7f3727e3df85c7f9c48 SHA256 1b28de6c1bc2c6119eb654622713fdd2c16d89105940c6b55d2bc081fbb2fd2c AUX radicale.init.d 550 RMD160 f1f6aa919952b744900c781b8d6cd9283bc44534 SHA1 3c2043b9f2680b14969bd7f3727e3df85c7f9c48 SHA256 1b28de6c1bc2c6119eb654622713fdd2c16d89105940c6b55d2bc081fbb2fd2c
DIST Radicale-0.6.3.tar.gz 30993 RMD160 e7ec0be50a164b0bffa46688e47a3ada2d56e697 SHA1 de478e41a61ccf039e1e1da603ef275f500e44f5 SHA256 bd2c2058e1222735981639206eade3082f6ff76a0055bd010ae0f8b2b33ee8f6 DIST Radicale-0.6.3.tar.gz 30993 RMD160 e7ec0be50a164b0bffa46688e47a3ada2d56e697 SHA1 de478e41a61ccf039e1e1da603ef275f500e44f5 SHA256 bd2c2058e1222735981639206eade3082f6ff76a0055bd010ae0f8b2b33ee8f6
DIST Radicale-0.6.4.tar.gz 30994 RMD160 9da7aede8ec48fa9725a85985cd3e6e3bd277689 SHA1 15854dd3a7070ef8438573b4a9fef92a2b46b8ab SHA256 83fd6d1b958cd2eae7fa8d773db508e1a4f87266e48346016d03e2b2c7eb80ea
EBUILD radicale-0.6.3.ebuild 1244 RMD160 0e6141bf71f76c5bb0167cb0e09ae3563b96813f SHA1 c6906f98667806ac6b48a1182399136b2c345865 SHA256 c877b26955737f4042bd3b12744736993829f17ffd42eeab30ad802ddccfb5b7 EBUILD radicale-0.6.3.ebuild 1244 RMD160 0e6141bf71f76c5bb0167cb0e09ae3563b96813f SHA1 c6906f98667806ac6b48a1182399136b2c345865 SHA256 c877b26955737f4042bd3b12744736993829f17ffd42eeab30ad802ddccfb5b7
EBUILD radicale-0.6.4.ebuild 1244 RMD160 0e6141bf71f76c5bb0167cb0e09ae3563b96813f SHA1 c6906f98667806ac6b48a1182399136b2c345865 SHA256 c877b26955737f4042bd3b12744736993829f17ffd42eeab30ad802ddccfb5b7

View file

@ -0,0 +1,54 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
PYTHON_DEPEND="*:2.6"
SUPPORT_PYTHON_ABIS=1
inherit distutils
MY_PN="Radicale"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="A simple CalDAV calendar server"
HOMEPAGE="http://www.radicale.org/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="fastcgi ldap ssl"
# the '>=' goes ok, as radicale supports _all_ other python version
# this includes all 3.* versions
RDEPEND="ssl? ( >=dev-lang/python-2.6.6[ssl] )
ldap? ( dev-python/python-ldap )
fastcgi? ( dev-python/flup )"
S=${WORKDIR}/${MY_P}
src_install() {
# delete the useless .rst, so that it is not installed
rm README.rst
distutils_src_install
# init file
newinitd "${FILESDIR}"/radicale.init.d radicale || die
# config file
insinto /etc/${PN}
doins config logging || die
# fcgi and wsgi files
insinto /usr/share/${PN}
doins radicale.wsgi
use fastcgi && doins radicale.fcgi
}
pkg_postinst() {
einfo "Radicale now supports WSGI."
einfo "A sample wsgi-script has been put into ${ROOT}usr/share/${PN}."
use fastcgi && einfo "You will also find there an example fcgi-script."
}