commit:     2c4c7fe6bd99da84c2a37d9f05e9721c9a403340
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Tue Sep 16 06:47:13 2025 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Sep 16 09:43:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c4c7fe6

www-apps/radicale: bump to 3.5.6

Signed-off-by: Henning Schild <henning <AT> hennsch.de>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 www-apps/radicale/Manifest              |  1 +
 www-apps/radicale/radicale-3.5.6.ebuild | 96 +++++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)

diff --git a/www-apps/radicale/Manifest b/www-apps/radicale/Manifest
index 99534c455e8c..8ea39f193f1a 100644
--- a/www-apps/radicale/Manifest
+++ b/www-apps/radicale/Manifest
@@ -1,2 +1,3 @@
 DIST Radicale-3.5.4.gh.tar.gz 196006 BLAKE2B 
1a7391f17b2dbd3e6afd7be3d55c666bf674f5730e2361913adf43e7ca16dfdd6480440e332622d972370e2e43893a44ba758ddaaaaefb77a8added65fde79a5
 SHA512 
49658ebee36e6a0c6e4c01e9ae63e131f614135b3f7505249e395ec867576e5565afe3f4838e8bd24f89f20d1c6d00fd227615903ea4a6845c0ae219516882a3
 DIST Radicale-3.5.5.gh.tar.gz 218331 BLAKE2B 
46124888513d9bb7edb37f970d865f9428ab2ee6d93728a09515b33d78d6d96949b71e5d3f543866d5aeee444e0ff08a18ab7325f33c5556d7dd4d87f965b23f
 SHA512 
8a60bdd602269612f9b2ee7f6502e2a3e78496c4d1c5272eb888616b76910c8c0c011c0c7c77b3f22f626e77923725937fdc9dbc0d076c516eead803db39420b
+DIST Radicale-3.5.6.gh.tar.gz 222384 BLAKE2B 
a36b64c89eca5ed3d3ecc574e2ef82492e2b109042b4c87a01ea66344713ff5c64d46e5128b825f3a7848e5226bed3683b9d417a63bd2b0163fe4c162d891ffc
 SHA512 
10c48c7b01f3c767eaaff661fe673076be5146fa6e35badf80959dec8feaf70748d2f5d47a6dfe05d2fa951d3448610aed2bb84922e7fec89cdacfc78bfe6a9c

diff --git a/www-apps/radicale/radicale-3.5.6.ebuild 
b/www-apps/radicale/radicale-3.5.6.ebuild
new file mode 100644
index 000000000000..3ec0560abdb8
--- /dev/null
+++ b/www-apps/radicale/radicale-3.5.6.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 optfeature systemd
+
+MY_P=${P^}
+DESCRIPTION="A simple CalDAV calendar server"
+HOMEPAGE="https://radicale.org/";
+SRC_URI="
+       https://github.com/Kozea/Radicale/archive/refs/tags/v${PV}.tar.gz
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+RDEPEND="
+       >=acct-user/radicale-0-r2
+       acct-group/radicale
+       dev-python/defusedxml[${PYTHON_USEDEP}]
+       dev-python/passlib[${PYTHON_USEDEP}]
+       dev-python/vobject[${PYTHON_USEDEP}]
+       sys-apps/util-linux
+"
+
+BDEPEND="
+       test? (
+               dev-python/pytest[${PYTHON_USEDEP}]
+               dev-python/waitress[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+RDIR=/var/lib/"${PN}"
+
+DOCS=( DOCUMENTATION.md CHANGELOG.md )
+
+python_test() {
+       epytest -o addopts= radicale/tests/
+}
+
+python_install_all() {
+       rm README* || die
+       # init file
+       newinitd "${FILESDIR}"/radicale-r4.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}"
+
+       ewarn ""
+       ewarn "Since 3.5.0 the default [auth] type is \"denyall\". You need to"
+       ewarn "change your config if you used the deafult type so far!"
+       ewarn ""
+       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
+
+       optfeature "Publish changes to rabbitmq" dev-python/pika
+       optfeature "LDAP/LDAPS authentication" dev-python/ldap3 
dev-python/python-ldap
+       optfeature "bcrypt password hashing" dev-python/bcrypt
+       optfeature "argon2 password hashing" dev-python/argon2-cffi
+}

Reply via email to