mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
www-apps/radicale: remove old
Closes: https://github.com/gentoo/gentoo/pull/44511 Signed-off-by: Henning Schild <henning@hennsch.de> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
parent
da5b696f97
commit
d7d33caa72
@ -1,3 +1,2 @@
|
|||||||
DIST Radicale-3.5.6.gh.tar.gz 222384 BLAKE2B a36b64c89eca5ed3d3ecc574e2ef82492e2b109042b4c87a01ea66344713ff5c64d46e5128b825f3a7848e5226bed3683b9d417a63bd2b0163fe4c162d891ffc SHA512 10c48c7b01f3c767eaaff661fe673076be5146fa6e35badf80959dec8feaf70748d2f5d47a6dfe05d2fa951d3448610aed2bb84922e7fec89cdacfc78bfe6a9c
|
|
||||||
DIST Radicale-3.5.7.gh.tar.gz 224309 BLAKE2B 7bcf36b6a90e6198a4d0a1d9c65e5c789884d03b222c580807d36cccd5ea262ae6d3ab4ef47548a912eca1ef0f5936f90d16547b447c25d8867c04377a16f0b1 SHA512 fb1684bf28b8ae170d21eac57397414aa6a0d4a541ee5d202173e96136160d2047a458a69bdb4b1064246be7de513ce39846ee5c818623e04c5942f4704f6a45
|
DIST Radicale-3.5.7.gh.tar.gz 224309 BLAKE2B 7bcf36b6a90e6198a4d0a1d9c65e5c789884d03b222c580807d36cccd5ea262ae6d3ab4ef47548a912eca1ef0f5936f90d16547b447c25d8867c04377a16f0b1 SHA512 fb1684bf28b8ae170d21eac57397414aa6a0d4a541ee5d202173e96136160d2047a458a69bdb4b1064246be7de513ce39846ee5c818623e04c5942f4704f6a45
|
||||||
DIST Radicale-3.5.8.gh.tar.gz 229736 BLAKE2B 42fdc1b7861cb8a6c9ac5935dc607db6cac30185baf34f1ccf03bf70a4f36e4eb4ca16685f8fb76e97e8b71b71990423caf09ad13c64206ebdb2071bc46da212 SHA512 6789bfd2bcc777cd0b193b58c84a0f6d917e971fa0d444381ec462eb93a638fe09a76ff86891d6f19b5492818c7df1b5c098539596eca3a71996b4f188eb93a4
|
DIST Radicale-3.5.8.gh.tar.gz 229736 BLAKE2B 42fdc1b7861cb8a6c9ac5935dc607db6cac30185baf34f1ccf03bf70a4f36e4eb4ca16685f8fb76e97e8b71b71990423caf09ad13c64206ebdb2071bc46da212 SHA512 6789bfd2bcc777cd0b193b58c84a0f6d917e971fa0d444381ec462eb93a638fe09a76ff86891d6f19b5492818c7df1b5c098539596eca3a71996b4f188eb93a4
|
||||||
|
|||||||
@ -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
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user