From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RGsOL-0001j5-2n for garchives@archives.gentoo.org; Thu, 20 Oct 2011 13:10:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E722921C0E5; Thu, 20 Oct 2011 13:10:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A760721C0E5 for ; Thu, 20 Oct 2011 13:10:19 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D68A61B400C for ; Thu, 20 Oct 2011 13:10:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 45DFA8004C for ; Thu, 20 Oct 2011 13:10:18 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: Subject: [gentoo-commits] dev/graaff:master commit in: app-office/radicale/files/, app-office/radicale/ X-VCS-Repository: dev/graaff X-VCS-Files: app-office/radicale/ChangeLog app-office/radicale/Manifest app-office/radicale/files/radicale.init.d app-office/radicale/metadata.xml app-office/radicale/radicale-0.6.2.ebuild X-VCS-Directories: app-office/radicale/files/ app-office/radicale/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: c04a4d91132c285c73ae6ce15a45c873883b9f71 Date: Thu, 20 Oct 2011 13:10:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 8698ecd4618c55f3b6af07fb4fda3198 commit: c04a4d91132c285c73ae6ce15a45c873883b9f71 Author: Hans de Graaff degraaff org> AuthorDate: Thu Oct 20 13:10:07 2011 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Oct 20 13:10:07 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/graaff.git;a=3D= commit;h=3Dc04a4d91 New (Portage version: 2.1.10.11/git/Linux x86_64, signed Manifest commit with= key 0x8883FA56A308A8D7!) --- app-office/radicale/ChangeLog | 18 +++++++++ app-office/radicale/Manifest | 15 ++++++++ app-office/radicale/files/radicale.init.d | 26 ++++++++++++++ app-office/radicale/metadata.xml | 6 +++ app-office/radicale/radicale-0.6.2.ebuild | 54 +++++++++++++++++++++++= ++++++ 5 files changed, 119 insertions(+), 0 deletions(-) diff --git a/app-office/radicale/ChangeLog b/app-office/radicale/ChangeLo= g new file mode 100644 index 0000000..18d4792 --- /dev/null +++ b/app-office/radicale/ChangeLog @@ -0,0 +1,18 @@ +# ChangeLog for app-office/radicale +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 20 Oct 2011; Hans de Graaff +radicale-0.6.2.ebuild= , + +files/radicale.init.d, +metadata.xml: + New version for testing purposes. + + 20 Oct 2011; Hans de Graaff +radicale-0.6.2.ebuild= , + +files/radicale.init.d: + New version for testing purposes. + +*radicale-0.6.2 (11 Oct 2011) + + 11 Oct 2011; Hans de Graaff +radicale-0.6.2.ebuild= , + +files/radicale.init.d: + Add new version from bug 322811 for testing purposes. + diff --git a/app-office/radicale/Manifest b/app-office/radicale/Manifest new file mode 100644 index 0000000..775d20e --- /dev/null +++ b/app-office/radicale/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX radicale.init.d 550 RMD160 7ef17c53ea0833bd39a205bdf2cb975f1e99bb62 = SHA1 cd9f9d78e448299528e7605d52487d3c3511d3f2 SHA256 1f3a6586a3ab9c9abc56= 1b6ce663942908a5ad359848cb244a1850a4268139eb +DIST Radicale-0.6.2.tar.gz 30784 RMD160 8b2559116f6f196a610069d8f9fde7d6= 40c3cbb6 SHA1 c80be198b3ea7c47f73642b1e7e76fdb0ed20e9d SHA256 90067706ef8= f03a7debcea5c91e87ff94756dfc59eaad26d13d4cd84cda592c9 +EBUILD radicale-0.6.2.ebuild 1244 RMD160 0e6141bf71f76c5bb0167cb0e09ae35= 63b96813f SHA1 c6906f98667806ac6b48a1182399136b2c345865 SHA256 c877b26955= 737f4042bd3b12744736993829f17ffd42eeab30ad802ddccfb5b7 +MISC ChangeLog 597 RMD160 1cb50adab580e218b7dc7ab985ecc99bde7ebde1 SHA1 = 971327d2e1cdaee87ee9ee3a6ba77407b9adf59c SHA256 8ba524d84fd8964848193cb9b= 1ee820bef4233651a883676b9a4ca0662ea6897 +MISC metadata.xml 222 RMD160 c395116c51764efaa671a0f89a7d8992ecbe7304 SH= A1 2095e0ced2657346964271e45cc69027b0ccd49d SHA256 0adb6b2a2a8cc78f3d28b8= b629db9d9e5731f21da86168ae88eeadc8b82d3225 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iF4EAREIAAYFAk6gHa4ACgkQiIP6VqMIqNcyIgD/Zi4fV3NOynVWyZQNh6wJjC0f +wjevu2B76N+Jv/tLhRsA/1cHXY6bjAVonri9bOdkcfes7Am8NtOuOoigZKLM+yWz +=3DRZkp +-----END PGP SIGNATURE----- diff --git a/app-office/radicale/files/radicale.init.d b/app-office/radic= ale/files/radicale.init.d new file mode 100644 index 0000000..bfda83d --- /dev/null +++ b/app-office/radicale/files/radicale.init.d @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +PIDFILE=3D/var/run/radicale.pid + +depend() { + use net + need localmount +} + +start() { + ebegin "Starting radicale" + start-stop-daemon --start --quiet --background \ + --pidfile ${PIDFILE} --make-pidfile \ + --exec /usr/bin/radicale -- --foreground + eend $? +} + +stop() { + ebegin "Stopping radicale" + start-stop-daemon --stop --quiet \ + --pidfile ${PIDFILE} + eend $? +} diff --git a/app-office/radicale/metadata.xml b/app-office/radicale/metad= ata.xml new file mode 100644 index 0000000..fadb566 --- /dev/null +++ b/app-office/radicale/metadata.xml @@ -0,0 +1,6 @@ + + + +no-herd +graaff@gentoo.org + diff --git a/app-office/radicale/radicale-0.6.2.ebuild b/app-office/radic= ale/radicale-0.6.2.ebuild new file mode 100644 index 0000000..14ee0cb --- /dev/null +++ b/app-office/radicale/radicale-0.6.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D2 +PYTHON_DEPEND=3D"*:2.6" +SUPPORT_PYTHON_ABIS=3D1 + +inherit distutils + +MY_PN=3D"Radicale" +MY_P=3D"${MY_PN}-${PV}" + +DESCRIPTION=3D"A simple CalDAV calendar server" +HOMEPAGE=3D"http://www.radicale.org/" +SRC_URI=3D"mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE=3D"GPL-3" +SLOT=3D"0" +KEYWORDS=3D"~x86 ~amd64" +IUSE=3D"fastcgi ldap ssl" + +# the '>=3D' goes ok, as radicale supports _all_ other python version +# this includes all 3.* versions +RDEPEND=3D"ssl? ( >=3Ddev-lang/python-2.6.6[ssl] ) + ldap? ( dev-python/python-ldap ) + fastcgi? ( dev-python/flup )" + +S=3D${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." +}