public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/
Date: Thu, 10 Jun 2021 22:05:50 +0000 (UTC)	[thread overview]
Message-ID: <1623362741.480191965ed7a9f90cc9cb4c0389c3c82b432d6d.sam@gentoo> (raw)

commit:     480191965ed7a9f90cc9cb4c0389c3c82b432d6d
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Wed Jun  9 09:15:52 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 10 22:05:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48019196

www-apps/radicale: moved waitress to BDEPEND

Closes: https://bugs.gentoo.org/794988

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-apps/radicale/radicale-3.0.6-r3.ebuild | 88 ++++++++++++++++++++++++++++++
 1 file changed, 88 insertions(+)

diff --git a/www-apps/radicale/radicale-3.0.6-r3.ebuild b/www-apps/radicale/radicale-3.0.6-r3.ebuild
new file mode 100644
index 00000000000..634dd1140c4
--- /dev/null
+++ b/www-apps/radicale/radicale-3.0.6-r3.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2021 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
+
+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"
+
+MY_P="Radicale-${PV}"
+
+RDEPEND="
+	acct-user/radicale
+	acct-group/radicale
+	dev-python/defusedxml
+	dev-python/passlib[bcrypt,${PYTHON_USEDEP}]
+	dev-python/python-dateutil[${PYTHON_USEDEP}]
+	dev-python/vobject[${PYTHON_USEDEP}]
+	sys-apps/util-linux
+"
+
+BDEPEND="
+	${RDEPEND}
+	test? (
+		dev-python/waitress[${PYTHON_USEDEP}]
+	)
+"
+
+S="${WORKDIR}/${MY_P}"
+
+RDIR=/var/lib/"${PN}"
+
+DOCS=( DOCUMENTATION.md NEWS.md )
+
+src_prepare() {
+	sed -i '/^addopts =/d' setup.cfg || die
+	distutils-r1_src_prepare
+}
+
+python_install_all() {
+	rm README* || die
+	# init file
+	newinitd "${FILESDIR}"/radicale-r3.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
+}
+
+distutils_enable_tests pytest
+
+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 ""
+		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
+}


             reply	other threads:[~2021-06-10 22:05 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-10 22:05 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-28 12:47 [gentoo-commits] repo/gentoo:master commit in: www-apps/radicale/ Yixun Lan
2025-09-28 12:47 Yixun Lan
2025-09-16  9:46 Yixun Lan
2025-09-16  9:46 Yixun Lan
2025-08-23 23:18 Yixun Lan
2025-08-23 23:18 Yixun Lan
2025-06-13  7:39 Yixun Lan
2025-05-26  7:48 Yixun Lan
2025-05-26  7:48 Yixun Lan
2025-05-12 11:03 Yixun Lan
2025-05-12 11:03 Yixun Lan
2025-04-25 17:56 Viorel Munteanu
2025-04-25 17:56 Viorel Munteanu
2025-03-28  0:02 Yixun Lan
2025-02-19 11:16 Sam James
2025-02-16 10:02 Yixun Lan
2025-02-16 10:02 Yixun Lan
2024-12-05 15:17 Florian Schmaus
2024-11-15  6:06 Eli Schwartz
2024-11-15  6:06 Eli Schwartz
2024-09-10  8:54 Michał Górny
2024-09-10  8:54 Michał Górny
2024-09-10  8:54 Michał Górny
2024-08-23  2:08 Eli Schwartz
2024-06-21 10:52 Arthur Zamarin
2024-04-14  9:57 Viorel Munteanu
2024-04-13 13:22 Michał Górny
2024-04-13 13:22 Michał Górny
2024-04-13 13:22 Michał Górny
2024-04-13 13:22 Michał Górny
2022-12-09  6:54 Joonas Niilola
2022-08-02 11:56 Joonas Niilola
2022-08-02 11:52 Joonas Niilola
2022-04-24  7:24 Joonas Niilola
2022-03-01 13:09 Joonas Niilola
2022-03-01 13:09 Joonas Niilola
2022-02-28  6:46 Joonas Niilola
2022-02-10 14:19 Joonas Niilola
2022-02-10 14:19 Joonas Niilola
2022-02-06  8:50 Joonas Niilola
2021-10-31  2:47 Sam James
2021-10-31  2:47 Sam James
2021-10-29 15:30 Arthur Zamarin
2021-10-29 15:30 Arthur Zamarin
2021-06-10 22:05 Sam James
2021-06-02 12:59 Joonas Niilola
2021-04-28  6:42 Joonas Niilola
2021-04-07  7:51 Joonas Niilola
2021-03-16 19:57 Sam James
2021-02-11  7:23 Joonas Niilola
2021-01-10 22:27 Sam James
2020-09-07  8:55 David Seifert
2020-06-29  6:09 Joonas Niilola
2019-12-24 20:15 Mikle Kolyada
2019-03-10  9:01 Mikle Kolyada
2019-03-09 21:23 Thomas Deutschmann
2019-03-09 21:23 Thomas Deutschmann
2019-03-07 21:01 Thomas Deutschmann
2018-08-18 10:29 Michał Górny
2018-06-13 21:18 Aaron Bauman
2018-04-08  9:20 Michał Górny
2018-01-07 12:39 Markus Meier
2017-04-28 20:52 Manuel Rüger
2016-01-26 21:30 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1623362741.480191965ed7a9f90cc9cb4c0389c3c82b432d6d.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox