www-apps/radicale: remove old

Closes: https://github.com/gentoo/gentoo/pull/43523
Signed-off-by: Henning Schild <henning@hennsch.de>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
Henning Schild 2025-08-22 14:36:59 +02:00 committed by Yixun Lan
parent ff1daf01bb
commit 4c87c5ab5b
No known key found for this signature in database
GPG Key ID: 31AAEA47594DBBED
2 changed files with 0 additions and 97 deletions

View File

@ -1,3 +1,2 @@
DIST Radicale-3.5.3.gh.tar.gz 194792 BLAKE2B 7ce83576fcc2e92db8e2c28d62ce1c65ba0239ab58f59e0d15a4da70b267afca424d1745ca023bc11e2f8ca3547011991aa42487f7492db65f0a41651958f051 SHA512 24b7ae46457040a27877b63fc51aa2149d79f66f99a3ef39a0fc81f497212e00ded81ca7762d9b7dd3dad07776f47b21213f393ed5f05b41a134d9c710b3e291
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

View File

@ -1,96 +0,0 @@
# 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
}