diff options
author | Henning Schild <henning@hennsch.de> | 2022-03-11 15:48:33 +0100 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-03-11 18:43:32 +0200 |
commit | 07b6c8a70ff507e27740b0273b6fcb91ebce4cf1 (patch) | |
tree | 2a93d264e265ad9ddfa894ff500db0663a916fde /www-apps/radicale | |
parent | sys-apps/flashrom: remove live ebuild (diff) | |
download | gentoo-07b6c8a70ff507e27740b0273b6fcb91ebce4cf1.tar.gz gentoo-07b6c8a70ff507e27740b0273b6fcb91ebce4cf1.tar.bz2 gentoo-07b6c8a70ff507e27740b0273b6fcb91ebce4cf1.zip |
www-apps/radicale: drop old
Signed-off-by: Henning Schild <henning@hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/24490
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'www-apps/radicale')
-rw-r--r-- | www-apps/radicale/Manifest | 1 | ||||
-rw-r--r-- | www-apps/radicale/files/radicale-r2.init.d | 27 | ||||
-rw-r--r-- | www-apps/radicale/metadata.xml | 3 | ||||
-rw-r--r-- | www-apps/radicale/radicale-2.1.12-r1.ebuild | 87 |
4 files changed, 0 insertions, 118 deletions
diff --git a/www-apps/radicale/Manifest b/www-apps/radicale/Manifest index 6c873f4bc2b7..f1d42b7f51b7 100644 --- a/www-apps/radicale/Manifest +++ b/www-apps/radicale/Manifest @@ -1,2 +1 @@ -DIST radicale-2.1.12.tar.gz 123828 BLAKE2B 38ffb264b1f8e185642e0236821bd1a7714c34306f4d67d181a9130c7955b9f3a616547fa04a15781c2587bbdc5e7ea1eeab9da65790b72fb78cd83d78b0fd43 SHA512 98b5c1e6c71928859de9f497b7e968e56c659e9e5d8c559d4359718511d67a23d4daa9adca679f5f732ad531cb04d184b022cf2684fa5fdbfe24a35c92813968 DIST radicale-3.1.5.tar.gz 136725 BLAKE2B 574032fc9a4010db2de0066758093b74fb29e43c3e8f3328441c92af99827a5f4174ac3ddbc2573083642af4c68073c470ce64ae7689b537a72aa0b813b641b8 SHA512 0febad350e970e4f0ef8199472bb94a81a2a412be2b55c1baee16967b39bf9a5f7b9e8aa7c95a19beedf2f8b2d871382aa0727803432575bff248bc0137adce3 diff --git a/www-apps/radicale/files/radicale-r2.init.d b/www-apps/radicale/files/radicale-r2.init.d deleted file mode 100644 index 23da22d7fc9e..000000000000 --- a/www-apps/radicale/files/radicale-r2.init.d +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -PIDFILE=/run/radicale.pid - -depend() { - need localmount -} - -start() { - ebegin "Starting radicale" - start-stop-daemon --start --quiet --background \ - --user radicale \ - --umask 0027 \ - --stderr-logger /usr/bin/logger \ - --pidfile ${PIDFILE} --make-pidfile \ - --exec /usr/bin/radicale --foreground - eend $? -} - -stop() { - ebegin "Stopping radicale" - start-stop-daemon --stop --quiet \ - --pidfile ${PIDFILE} - eend $? -} diff --git a/www-apps/radicale/metadata.xml b/www-apps/radicale/metadata.xml index b8bf55526ab7..1dead5aa423a 100644 --- a/www-apps/radicale/metadata.xml +++ b/www-apps/radicale/metadata.xml @@ -13,7 +13,4 @@ <upstream> <remote-id type="github">Kozea/Radicale</remote-id> </upstream> - <use> - <flag name="bcrypt">Enable bcrypt</flag> - </use> </pkgmetadata> diff --git a/www-apps/radicale/radicale-2.1.12-r1.ebuild b/www-apps/radicale/radicale-2.1.12-r1.ebuild deleted file mode 100644 index 8c98f9b9deed..000000000000 --- a/www-apps/radicale/radicale-2.1.12-r1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{8..9} ) - -inherit distutils-r1 systemd - -MY_PN="Radicale" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="A simple CalDAV calendar server" -HOMEPAGE="https://radicale.org/" -SRC_URI="https://github.com/Kozea/Radicale/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="+bcrypt" - -RDEPEND=" - acct-user/radicale - acct-group/radicale - >=dev-python/vobject-0.9.6[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.7.3[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - sys-apps/util-linux - bcrypt? ( - dev-python/bcrypt[${PYTHON_USEDEP}] - dev-python/passlib[${PYTHON_USEDEP}] - )" - -distutils_enable_tests --install pytest - -S="${WORKDIR}/${MY_P}" - -RDIR=/var/lib/${PN} - -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-r2.init.d radicale - systemd_dounit "${FILESDIR}/${PN}.service" - - # directories - keepdir ${RDIR} - fowners ${PN}:${PN} ${RDIR} - fperms 0750 ${RDIR} - - # config file - insinto /etc/${PN} - doins config logging - - # fcgi and wsgi files - exeinto /usr/share/${PN} - doexe radicale.fcgi 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 "Unsafe file permissions detected on ${_erdir}. This probably comes" - ewarn "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 -} |