Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/
Date: Thu, 10 Jun 2021 22:05:54
Message-Id: 1623362742.c237478a7c6a8ff3de1fa5399b08dba24511c65d.sam@gentoo
1 commit: c237478a7c6a8ff3de1fa5399b08dba24511c65d
2 Author: Marco Scardovi <marco <AT> scardovi <DOT> com>
3 AuthorDate: Wed Jun 9 09:20:04 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 10 22:05:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c237478a
7
8 www-apps/radicale: remove -r2
9
10 Package-Manager: Portage-3.0.19, Repoman-3.0.3
11 Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>
12 Closes: https://github.com/gentoo/gentoo/pull/21170
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 www-apps/radicale/radicale-3.0.6-r2.ebuild | 84 ------------------------------
16 1 file changed, 84 deletions(-)
17
18 diff --git a/www-apps/radicale/radicale-3.0.6-r2.ebuild b/www-apps/radicale/radicale-3.0.6-r2.ebuild
19 deleted file mode 100644
20 index bd2ad27a558..00000000000
21 --- a/www-apps/radicale/radicale-3.0.6-r2.ebuild
22 +++ /dev/null
23 @@ -1,84 +0,0 @@
24 -# Copyright 1999-2021 Gentoo Authors
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=7
28 -
29 -DISTUTILS_USE_SETUPTOOLS=rdepend
30 -PYTHON_COMPAT=( python3_{8..9} )
31 -
32 -inherit distutils-r1 systemd
33 -
34 -DESCRIPTION="A simple CalDAV calendar server"
35 -HOMEPAGE="https://radicale.org/"
36 -SRC_URI="https://github.com/Kozea/Radicale/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
37 -
38 -LICENSE="GPL-3+"
39 -SLOT="0"
40 -KEYWORDS="~amd64 ~arm ~x86"
41 -
42 -MY_P="Radicale-${PV}"
43 -
44 -RDEPEND="
45 - acct-user/radicale
46 - acct-group/radicale
47 - dev-python/defusedxml
48 - dev-python/passlib[bcrypt,${PYTHON_USEDEP}]
49 - dev-python/python-dateutil[${PYTHON_USEDEP}]
50 - dev-python/vobject[${PYTHON_USEDEP}]
51 - dev-python/waitress[${PYTHON_USEDEP}]
52 - sys-apps/util-linux
53 -"
54 -
55 -BDEPEND="test? ( ${RDEPEND} )"
56 -
57 -S="${WORKDIR}/${MY_P}"
58 -
59 -RDIR=/var/lib/"${PN}"
60 -
61 -DOCS=( DOCUMENTATION.md NEWS.md )
62 -
63 -src_prepare() {
64 - sed -i '/^addopts =/d' setup.cfg || die
65 - distutils-r1_src_prepare
66 -}
67 -
68 -python_install_all() {
69 - rm README* || die
70 - # init file
71 - newinitd "${FILESDIR}"/radicale-r3.init.d radicale
72 - systemd_dounit "${FILESDIR}/${PN}.service"
73 -
74 - # directories
75 - keepdir "${RDIR}"
76 - fperms 0750 "${RDIR}"
77 - fowners "${PN}:${PN}" "${RDIR}"
78 -
79 - # config file
80 - insinto /etc/"${PN}"
81 - doins config
82 -
83 - # fcgi and wsgi files
84 - exeinto /usr/share/"${PN}"
85 - doexe radicale.wsgi
86 -
87 - distutils-r1_python_install_all
88 -}
89 -
90 -distutils_enable_tests pytest
91 -
92 -pkg_postinst() {
93 - local _erdir="${EROOT}${RDIR}"
94 -
95 - einfo "A sample WSGI script has been put into ${EROOT}/usr/share/${PN}."
96 - einfo "You will also find there an example FastCGI script."
97 - if [[ $(stat --format="%U:%G:%a" "${_erdir}") != "${PN}:${PN}:750" ]]
98 - then
99 - ewarn ""
100 - ewarn "Unsafe file permissions detected on ${_erdir}."
101 - ewarn "This probably comes from an earlier version of this ebuild."
102 - ewarn "To fix run:"
103 - ewarn "# \`chown -R ${PN}:${PN} ${_erdir}\`"
104 - ewarn "# \`chmod 0750 ${_erdir}\`"
105 - ewarn "# \`chmod -R o= ${_erdir}\`"
106 - fi
107 -}