diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-01-01 03:01:44 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-01-01 03:01:44 +0100 |
commit | 12f17084ba03c9b80491e8a8e4656c8d12ec1bc8 (patch) | |
tree | 9b934d39f36c12e92950cb02284e8c16e34ffe93 /www-apps | |
parent | www-apps/prewikka: Remove old (py3.6) (diff) | |
download | gentoo-12f17084ba03c9b80491e8a8e4656c8d12ec1bc8.tar.gz gentoo-12f17084ba03c9b80491e8a8e4656c8d12ec1bc8.tar.bz2 gentoo-12f17084ba03c9b80491e8a8e4656c8d12ec1bc8.zip |
www-apps/radicale: Remove old (py3.6)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/radicale/Manifest | 1 | ||||
-rw-r--r-- | www-apps/radicale/files/radicale-1.1.6-config.patch | 34 | ||||
-rw-r--r-- | www-apps/radicale/files/radicale.init.d | 26 | ||||
-rw-r--r-- | www-apps/radicale/radicale-1.1.6.ebuild | 75 |
4 files changed, 0 insertions, 136 deletions
diff --git a/www-apps/radicale/Manifest b/www-apps/radicale/Manifest index cc9e5c54aa9a..912cc59fe185 100644 --- a/www-apps/radicale/Manifest +++ b/www-apps/radicale/Manifest @@ -1,2 +1 @@ -DIST Radicale-1.1.6.tar.gz 48280 BLAKE2B 38d3047d473fad24188b597a57d3e1f0e34df03f00f6806b86c447ed731be074bf0b5f6dfb951c8a9f627993bf0763792150bc06532414a658e4d306123fcdd6 SHA512 3fed85fc5fa2b041277112870b8b508a22cc85ec0680dd1cf9411e73715e18a9b0ddd651eafb0c9529bd308e7fd87ae44ecdd82935f4062050919780301d56d9 DIST Radicale-2.1.11.tar.gz 76490 BLAKE2B 35578b693a32d4a77f8ff1c93cbb8fb63fd8dabf9fde79cd928d4afa6e059fe836840ca6a33621c13e9421a69bfb25cbb59688ba83bed62003ef3b56b54804b1 SHA512 e85f12664d3db6b911dd534eaddd15c498ca4f641cc15523644300aca8b1ef3f6fd4d9645857235502f03a7903111905537b04f9a6fdbde1a60fbb720d377733 diff --git a/www-apps/radicale/files/radicale-1.1.6-config.patch b/www-apps/radicale/files/radicale-1.1.6-config.patch deleted file mode 100644 index 4eb286f8d400..000000000000 --- a/www-apps/radicale/files/radicale-1.1.6-config.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff --git a/config b/config -index 453a45e..10c1595 100644 ---- a/config -+++ b/config -@@ -146,7 +146,7 @@ http_password_parameter = - #custom_handler = - - # File for rights management from_file --#file = ~/.config/radicale/rights -+file = /etc/radicale/rights - - - [storage] -@@ -163,7 +163,7 @@ file = ~/.config/radicale/rights - #custom_handler = - - # Folder for storing local collections, created if not present --#filesystem_folder = ~/.config/radicale/collections -+filesystem_folder = /var/lib/radicale/ - - # Database URL for SQLAlchemy - # dialect+driver://user:password@host/dbname[?key=value..] -diff --git a/logging b/logging ---- a/logging -+++ b/logging -@@ -45,7 +45,7 @@ formatter = simple - [handler_file] - # File handler - class = FileHandler --args = ('/var/log/radicale',) -+args = ('/var/log/radicale/radicale.log',) - formatter = full - - diff --git a/www-apps/radicale/files/radicale.init.d b/www-apps/radicale/files/radicale.init.d deleted file mode 100644 index a59e8d387093..000000000000 --- a/www-apps/radicale/files/radicale.init.d +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -PIDFILE=/var/run/radicale.pid - -depend() { - use net - need localmount -} - -start() { - ebegin "Starting radicale" - start-stop-daemon --start --quiet --background \ - --user radicale \ - --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/radicale-1.1.6.ebuild b/www-apps/radicale/radicale-1.1.6.ebuild deleted file mode 100644 index 529fb1d8de20..000000000000 --- a/www-apps/radicale/radicale-1.1.6.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -PYTHON_COMPAT=( python3_6 ) - -inherit distutils-r1 optfeature user - -MY_PN="Radicale" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="A simple CalDAV calendar server" -HOMEPAGE="https://radicale.org/" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=">=dev-python/vobject-0.9.5[${PYTHON_USEDEP}]" - -S=${WORKDIR}/${MY_P} - -RDIR=/var/lib/radicale -LDIR=/var/log/radicale - -PATCHES=( "${FILESDIR}"/${P}-config.patch ) - -pkg_setup() { - enewgroup radicale - enewuser radicale -1 -1 ${RDIR} radicale -} - -python_install_all() { - rm README* || die - - # init file - newinitd "${FILESDIR}"/radicale.init.d radicale - - # directories - diropts -m0750 - dodir ${RDIR} - fowners radicale:radicale ${RDIR} - keepdir ${RDIR} - diropts -m0755 - dodir ${LDIR} - fowners radicale:radicale ${LDIR} - keepdir ${LDIR} - - # config file - insinto /etc/${PN} - doins config logging - - # fcgi and wsgi files - exeinto /usr/share/${PN} - doexe radicale.wsgi - doexe radicale.fcgi - - distutils-r1_python_install_all -} - -pkg_postinst() { - einfo "A sample WSGI and FastCGI script are in ${EROOT}usr/share/${PN}." - einfo "Radicale supports different authentication backends that depend on external libraries." - einfo "Please install" - optfeature "LDAP auth" dev-python/python-ldap - optfeature "PAM auth" dev-python/python-pam - optfeature "HTTP auth" dev-python/requests - optfeature "FastCGI mode" dev-python/flup - optfeature "Database storage backend" dev-python/sqlalchemy - einfo "Please note that some of these libraries are Python 2 only." -} |