www-apps/radicale: drop old

This time not the oldest but the previous one, 3.7.0 had several issues
around its new features.

Signed-off-by: Henning Schild <henning@hennsch.de>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/603
Merges: https://codeberg.org/gentoo/gentoo/pulls/603
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Henning Schild
2026-04-12 07:17:52 +02:00
committed by Sam James
parent bcccd16523
commit 5bf6401861
2 changed files with 0 additions and 115 deletions
-1
View File
@@ -1,3 +1,2 @@
DIST Radicale-3.6.1.gh.tar.gz 246087 BLAKE2B f20c09f831d169ef2a04d87a32377b9251ecad86ba1d0cec9f4fa40bd9df303c02f447af1e77a576c15babd767d7f873f129f8689ca12906c344cf7904931a63 SHA512 e30eff83268051560e700cb385a535d26aadfaa5d949b293e74f0313968acb29cc856138c2406bda125df68969786631ac8438ba2ffd12e69bbb11f15283927e
DIST Radicale-3.7.0.gh.tar.gz 319540 BLAKE2B 8da02bb639e014532a37b5a350ebf87086caf8d45b7c6d89214c302eeb3f132a9c57176a01cf712033b9f2ed8490c29bb503892dcbd784bc8e1110d6362c25de SHA512 c7c8455da13967909fad9cb4df1b560b1f3878452e594e1c11cce89d21efaf76e594255c1797e0cc8e7af659a0122bd57417179a65d98aaf527d65ab55ceb483
DIST Radicale-3.7.1.gh.tar.gz 322107 BLAKE2B 9048c85677fcf30caf4765cc5692ee643b2f6480e718d9b8adba7899d25f5677e95ffc468a519e44492c9189bd4ebb32a38f58b2347d94037268bea51982acd6 SHA512 909815c0bbdfc5b4964fe6504f02d0be3ef08073d73ca48bff78f77f808c9946dfbc4e9906d97b547717e481ba450330fd7c4ad057f4872e42b7b7a799fdabf6
-114
View File
@@ -1,114 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 eapi9-ver 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/packaging[${PYTHON_USEDEP}]
dev-python/passlib[${PYTHON_USEDEP}]
dev-python/vobject[${PYTHON_USEDEP}]
sys-apps/util-linux
"
# was optfeature but need to stay below version 5
# https://github.com/Kozea/Radicale/issues/1980
RDEPEND="${RDEPEND}
<dev-python/bcrypt-5[${PYTHON_USEDEP}]
"
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 )
src_prepare() {
default
# use passlib over libpass
# https://github.com/Kozea/Radicale/issues/1980
sed -i -e 's|libpass[^"]*|passlib|' pyproject.toml || die
}
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}"
if ver_replacing -lt "3.5.0"; then
ewarn ""
ewarn "Since 3.5.0 the default [auth] type is \"denyall\". You need to"
ewarn "change your config if you used the default type so far!"
ewarn ""
fi
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
## TODO make that an optfeature again after libpass/passlib takeover
# optfeature "bcrypt password hashing" dev-python/bcrypt
optfeature "argon2 password hashing" dev-python/argon2-cffi
}