From 02ceacddddac2b3b708b06e25ac30c2da893fa5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 28 Jan 2018 01:27:54 +0100 Subject: Try to update radicale --- www-apps/radicale/radicale-2.1.8.ebuild | 36 +++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 www-apps/radicale/radicale-2.1.8.ebuild (limited to 'www-apps/radicale/radicale-2.1.8.ebuild') diff --git a/www-apps/radicale/radicale-2.1.8.ebuild b/www-apps/radicale/radicale-2.1.8.ebuild new file mode 100644 index 0000000..19e37d0 --- /dev/null +++ b/www-apps/radicale/radicale-2.1.8.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit eutils distutils-r1 user + +DESCRIPTION="A simple CalDAV calendar server" +HOMEPAGE="http://www.radicale.org/" +SRC_URI="https://github.com/Kozea/Radicale/archive/${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm ~x86" +IUSE="" + +UDIR=/var/lib/radicale + +pkg_setup() { + enewgroup radicale + enewuser radicale -1 -1 ${UDIR} radicale +} + +python_install_all() { + # init file + newinitd "${FILESDIR}"/radicale.init.d radicale + + # directories + diropts -m0750 + dodir ${UDIR} + fowners radicale:radicale ${UDIR} + + distutils-r1_python_install_all +} -- cgit v1.2.3