Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/files/, www-apps/radicale/
Date: Fri, 01 Jan 2021 02:03:08
Message-Id: 1609466504.12f17084ba03c9b80491e8a8e4656c8d12ec1bc8.mgorny@gentoo
1 commit: 12f17084ba03c9b80491e8a8e4656c8d12ec1bc8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 02:01:44 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 1 02:01:44 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12f17084
7
8 www-apps/radicale: Remove old (py3.6)
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 www-apps/radicale/Manifest | 1 -
13 .../radicale/files/radicale-1.1.6-config.patch | 34 ----------
14 www-apps/radicale/files/radicale.init.d | 26 --------
15 www-apps/radicale/radicale-1.1.6.ebuild | 75 ----------------------
16 4 files changed, 136 deletions(-)
17
18 diff --git a/www-apps/radicale/Manifest b/www-apps/radicale/Manifest
19 index cc9e5c54aa9..912cc59fe18 100644
20 --- a/www-apps/radicale/Manifest
21 +++ b/www-apps/radicale/Manifest
22 @@ -1,2 +1 @@
23 -DIST Radicale-1.1.6.tar.gz 48280 BLAKE2B 38d3047d473fad24188b597a57d3e1f0e34df03f00f6806b86c447ed731be074bf0b5f6dfb951c8a9f627993bf0763792150bc06532414a658e4d306123fcdd6 SHA512 3fed85fc5fa2b041277112870b8b508a22cc85ec0680dd1cf9411e73715e18a9b0ddd651eafb0c9529bd308e7fd87ae44ecdd82935f4062050919780301d56d9
24 DIST Radicale-2.1.11.tar.gz 76490 BLAKE2B 35578b693a32d4a77f8ff1c93cbb8fb63fd8dabf9fde79cd928d4afa6e059fe836840ca6a33621c13e9421a69bfb25cbb59688ba83bed62003ef3b56b54804b1 SHA512 e85f12664d3db6b911dd534eaddd15c498ca4f641cc15523644300aca8b1ef3f6fd4d9645857235502f03a7903111905537b04f9a6fdbde1a60fbb720d377733
25
26 diff --git a/www-apps/radicale/files/radicale-1.1.6-config.patch b/www-apps/radicale/files/radicale-1.1.6-config.patch
27 deleted file mode 100644
28 index 4eb286f8d40..00000000000
29 --- a/www-apps/radicale/files/radicale-1.1.6-config.patch
30 +++ /dev/null
31 @@ -1,34 +0,0 @@
32 -diff --git a/config b/config
33 -index 453a45e..10c1595 100644
34 ---- a/config
35 -+++ b/config
36 -@@ -146,7 +146,7 @@ http_password_parameter =
37 - #custom_handler =
38 -
39 - # File for rights management from_file
40 --#file = ~/.config/radicale/rights
41 -+file = /etc/radicale/rights
42 -
43 -
44 - [storage]
45 -@@ -163,7 +163,7 @@ file = ~/.config/radicale/rights
46 - #custom_handler =
47 -
48 - # Folder for storing local collections, created if not present
49 --#filesystem_folder = ~/.config/radicale/collections
50 -+filesystem_folder = /var/lib/radicale/
51 -
52 - # Database URL for SQLAlchemy
53 - # dialect+driver://user:password@host/dbname[?key=value..]
54 -diff --git a/logging b/logging
55 ---- a/logging
56 -+++ b/logging
57 -@@ -45,7 +45,7 @@ formatter = simple
58 - [handler_file]
59 - # File handler
60 - class = FileHandler
61 --args = ('/var/log/radicale',)
62 -+args = ('/var/log/radicale/radicale.log',)
63 - formatter = full
64 -
65 -
66
67 diff --git a/www-apps/radicale/files/radicale.init.d b/www-apps/radicale/files/radicale.init.d
68 deleted file mode 100644
69 index a59e8d38709..00000000000
70 --- a/www-apps/radicale/files/radicale.init.d
71 +++ /dev/null
72 @@ -1,26 +0,0 @@
73 -#!/sbin/openrc-run
74 -# Copyright 1999-2012 Gentoo Foundation
75 -# Distributed under the terms of the GNU General Public License v2
76 -
77 -PIDFILE=/var/run/radicale.pid
78 -
79 -depend() {
80 - use net
81 - need localmount
82 -}
83 -
84 -start() {
85 - ebegin "Starting radicale"
86 - start-stop-daemon --start --quiet --background \
87 - --user radicale \
88 - --pidfile ${PIDFILE} --make-pidfile \
89 - --exec /usr/bin/radicale -- --foreground
90 - eend $?
91 -}
92 -
93 -stop() {
94 - ebegin "Stopping radicale"
95 - start-stop-daemon --stop --quiet \
96 - --pidfile ${PIDFILE}
97 - eend $?
98 -}
99
100 diff --git a/www-apps/radicale/radicale-1.1.6.ebuild b/www-apps/radicale/radicale-1.1.6.ebuild
101 deleted file mode 100644
102 index 529fb1d8de2..00000000000
103 --- a/www-apps/radicale/radicale-1.1.6.ebuild
104 +++ /dev/null
105 @@ -1,75 +0,0 @@
106 -# Copyright 1999-2020 Gentoo Authors
107 -# Distributed under the terms of the GNU General Public License v2
108 -
109 -EAPI="6"
110 -
111 -PYTHON_COMPAT=( python3_6 )
112 -
113 -inherit distutils-r1 optfeature user
114 -
115 -MY_PN="Radicale"
116 -MY_P="${MY_PN}-${PV}"
117 -
118 -DESCRIPTION="A simple CalDAV calendar server"
119 -HOMEPAGE="https://radicale.org/"
120 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
121 -
122 -LICENSE="GPL-3"
123 -SLOT="0"
124 -KEYWORDS="~amd64 ~x86"
125 -IUSE=""
126 -
127 -DEPEND=""
128 -RDEPEND=">=dev-python/vobject-0.9.5[${PYTHON_USEDEP}]"
129 -
130 -S=${WORKDIR}/${MY_P}
131 -
132 -RDIR=/var/lib/radicale
133 -LDIR=/var/log/radicale
134 -
135 -PATCHES=( "${FILESDIR}"/${P}-config.patch )
136 -
137 -pkg_setup() {
138 - enewgroup radicale
139 - enewuser radicale -1 -1 ${RDIR} radicale
140 -}
141 -
142 -python_install_all() {
143 - rm README* || die
144 -
145 - # init file
146 - newinitd "${FILESDIR}"/radicale.init.d radicale
147 -
148 - # directories
149 - diropts -m0750
150 - dodir ${RDIR}
151 - fowners radicale:radicale ${RDIR}
152 - keepdir ${RDIR}
153 - diropts -m0755
154 - dodir ${LDIR}
155 - fowners radicale:radicale ${LDIR}
156 - keepdir ${LDIR}
157 -
158 - # config file
159 - insinto /etc/${PN}
160 - doins config logging
161 -
162 - # fcgi and wsgi files
163 - exeinto /usr/share/${PN}
164 - doexe radicale.wsgi
165 - doexe radicale.fcgi
166 -
167 - distutils-r1_python_install_all
168 -}
169 -
170 -pkg_postinst() {
171 - einfo "A sample WSGI and FastCGI script are in ${EROOT}usr/share/${PN}."
172 - einfo "Radicale supports different authentication backends that depend on external libraries."
173 - einfo "Please install"
174 - optfeature "LDAP auth" dev-python/python-ldap
175 - optfeature "PAM auth" dev-python/python-pam
176 - optfeature "HTTP auth" dev-python/requests
177 - optfeature "FastCGI mode" dev-python/flup
178 - optfeature "Database storage backend" dev-python/sqlalchemy
179 - einfo "Please note that some of these libraries are Python 2 only."
180 -}