From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DBEC115808E for ; Sun, 24 Apr 2022 07:24:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A964E088B; Sun, 24 Apr 2022 07:24:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7ACEFE0886 for ; Sun, 24 Apr 2022 07:24:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B77A434182D for ; Sun, 24 Apr 2022 07:24:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC6D8105 for ; Sun, 24 Apr 2022 07:24:08 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1650785044.16e6db131ddfd13d0d10e75ad874a1dc260b7f3d.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/radicale/Manifest www-apps/radicale/radicale-3.1.7.ebuild X-VCS-Directories: www-apps/radicale/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 16e6db131ddfd13d0d10e75ad874a1dc260b7f3d X-VCS-Branch: master Date: Sun, 24 Apr 2022 07:24:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d98c32f3-6053-49aa-b7fe-42a675b5a6ff X-Archives-Hash: 175bad846ff662527d860f82fa470385 commit: 16e6db131ddfd13d0d10e75ad874a1dc260b7f3d Author: Henning Schild hennsch de> AuthorDate: Tue Apr 19 18:16:32 2022 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Apr 24 07:24:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16e6db13 www-apps/radicale: bump to 3.1.7 Signed-off-by: Henning Schild hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/25112 Signed-off-by: Joonas Niilola gentoo.org> www-apps/radicale/Manifest | 1 + www-apps/radicale/radicale-3.1.7.ebuild | 93 +++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) diff --git a/www-apps/radicale/Manifest b/www-apps/radicale/Manifest index f1d42b7f51b7..8518cd1fb662 100644 --- a/www-apps/radicale/Manifest +++ b/www-apps/radicale/Manifest @@ -1 +1,2 @@ DIST radicale-3.1.5.tar.gz 136725 BLAKE2B 574032fc9a4010db2de0066758093b74fb29e43c3e8f3328441c92af99827a5f4174ac3ddbc2573083642af4c68073c470ce64ae7689b537a72aa0b813b641b8 SHA512 0febad350e970e4f0ef8199472bb94a81a2a412be2b55c1baee16967b39bf9a5f7b9e8aa7c95a19beedf2f8b2d871382aa0727803432575bff248bc0137adce3 +DIST radicale-3.1.7.tar.gz 137416 BLAKE2B 3192acd1e4ee9a63803bcc7aac7b62ae50a94a88d294f3299508dbd1f7a42cb79ea87dc2675509c1b12f76e75e37635b1a97672db61b09f5dfaefc5bbc1d616e SHA512 04ae2072a90f303dd18de3a2cf6474263ca9650ee87ee72be0d7177ad2f2f61f4860784674bac8dbff2c2679ac45acd03aa38c02b00349f01669c6cf4a474605 diff --git a/www-apps/radicale/radicale-3.1.7.ebuild b/www-apps/radicale/radicale-3.1.7.ebuild new file mode 100644 index 000000000000..113b188e44b1 --- /dev/null +++ b/www-apps/radicale/radicale-3.1.7.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 systemd + +DESCRIPTION="A simple CalDAV calendar server" +HOMEPAGE="https://radicale.org/" +SRC_URI="https://github.com/Kozea/Radicale/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +MY_P="Radicale-${PV}" + +RDEPEND=" + >=acct-user/radicale-0-r2 + acct-group/radicale + dev-python/bcrypt[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/passlib[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/vobject[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + sys-apps/util-linux +" + +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/waitress[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests --install pytest + +S="${WORKDIR}/${MY_P}" + +RDIR=/var/lib/"${PN}" + +DOCS=( DOCUMENTATION.md CHANGELOG.md ) + +src_prepare() { + sed -i '/^addopts =/d' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + epytest radicale/tests/ +} + +python_install_all() { + rm README* || die + # init file + newinitd "${FILESDIR}"/radicale-r3.init.d radicale + systemd_dounit "${FILESDIR}/${PN}.service" + + # directories + keepdir "${RDIR}" + fperms 0750 "${RDIR}" + fowners "${PN}:${PN}" "${RDIR}" + + # config file + insinto /etc/"${PN}" + doins config + + # fcgi and wsgi files + exeinto /usr/share/"${PN}" + doexe radicale.wsgi + + distutils-r1_python_install_all +} + +pkg_postinst() { + local _erdir="${EROOT}${RDIR}" + + einfo "A sample WSGI script has been put into ${EROOT}/usr/share/${PN}." + einfo "You will also find there an example FastCGI script." + if [[ $(stat --format="%U:%G:%a" "${_erdir}") != "${PN}:${PN}:750" ]] + then + ewarn "" + ewarn "Unsafe file permissions detected on ${_erdir}." + ewarn "This probably comes from an earlier version of this ebuild." + ewarn "To fix run:" + ewarn "# \`chown -R ${PN}:${PN} ${_erdir}\`" + ewarn "# \`chmod 0750 ${_erdir}\`" + ewarn "# \`chmod -R o= ${_erdir}\`" + fi +}