From d285f0ab4ab38d4ea1cd0757a465db5f06764e06 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Dec 2024 02:07:39 +0000 Subject: gentoo auto-resync : 06:12:2024 - 02:07:38 --- www-apps/Manifest.gz | Bin 13137 -> 13137 bytes www-apps/radicale/Manifest | 2 + www-apps/radicale/radicale-3.3.1.ebuild | 91 ++++++++++++++++++++++++++++++++ 3 files changed, 93 insertions(+) create mode 100644 www-apps/radicale/radicale-3.3.1.ebuild (limited to 'www-apps') diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz index 71d2e3f5f482..8e8e35540526 100644 Binary files a/www-apps/Manifest.gz and b/www-apps/Manifest.gz differ diff --git a/www-apps/radicale/Manifest b/www-apps/radicale/Manifest index 5aa251bdf01f..856571787b12 100644 --- a/www-apps/radicale/Manifest +++ b/www-apps/radicale/Manifest @@ -2,6 +2,8 @@ AUX radicale-r4.init.d 601 BLAKE2B 5b25d1b22fd3b531ceee7318d6389c0bb8e31bd2a6b26 AUX radicale.service 546 BLAKE2B 6d43e9b9aec713a944259e6323442f6796068ede3da5399f9081692b55fa0edc7ec72b35d190ec68f14972374c4da23178e84c7f4ff6df611c1f82e1e0b3029d SHA512 94705c36ddd4de14b608fa71cb8ee4fff3f4f12cf90cfeb3863c334e98ac5d19b34134d26c319d5d05b61efba8370addb87b8b6a6ad7005a17f8bfb35ff9013b DIST Radicale-3.2.3.gh.tar.gz 157923 BLAKE2B 4beba122bc329cad27ebccd47655819e4769e58d4fe253bb8f064d4bef2cc2f9d9fd7c44b28a12a2f35e331ca1857bbf795d839ecfaf179983e8b1d54617b372 SHA512 992925ab82394fe5c94998ab23b8fa7d62ae3685ebc6f17497f67981758a9ea51757e48141dbedf20840610db8f3385a66d5a96cc24c3ba396ec67a522877be3 DIST Radicale-3.3.0.gh.tar.gz 164215 BLAKE2B 5581e45b20d04d14d43cf4d133e6de001931beaa1100cff25c7726dac26ab03e008dd3cc5f85c69d6a8a6940d591a548d0e287aa5a9dd1194ea842ab94f8465f SHA512 02d4f1a6d2e298b74d7076d90a0bc2dc60e6d4b29b37279de3a15f4c1db7c9996685400c4899399a39693abd02b383c4862a59d6720292517543600c7b25fc06 +DIST Radicale-3.3.1.gh.tar.gz 170518 BLAKE2B 6c0230c94047a234fe1336cc62e4cb5e83639beb093ca02324c1a94f9580c36203089b1a915f9740a00cfa5f7708b7b3a3f252e2d8e7dd2aa85cacff636a4354 SHA512 d5fba7f433c6daedcc033170e33d4bc5ea9279ec6492dc1a966afe148441c4dba6cc762b7ad3181b70a0742b136eebcd4fec7d2438506d60a71d09395dcf20f1 EBUILD radicale-3.2.3.ebuild 2083 BLAKE2B 0e0cac796f596b038392930e74a7a9449356d4f361b7287a41fa24e7a4565da7ba7f02695846e3ae5966574783b73914b1b18378726143218644f8baf5a43964 SHA512 0e6452c62d580fba940226b234d94f60522a41546e0955bf6b5e7f2644eeb9b83ce331d1541eeb220cbf8229eba887c5244ac3be50314691d18abf58c717c9bc EBUILD radicale-3.3.0.ebuild 2122 BLAKE2B 1034e1142191753b53c8308d95412e4609d048134150693b499bb305326e6daf807d66a708d960973abff7deaeed78e05f8bb130e393f7ad8f226dfa33ba00af SHA512 d064c6b8eb2f91a56589f97c37adf814ba0126d54aa359abee1de6e33795d0c18759ff8967eb3654ae219db0d391d5099b36545e380ce3e891eef0699bb18970 +EBUILD radicale-3.3.1.ebuild 2076 BLAKE2B c7c2d8da1964c51940b8182860849ebdb344a6322bbea6d580c6d3a7d999d327b3ff58be28bd9b197122cee21b875d82b7da40767ca92006c964ba1eb2caf86d SHA512 66bceee0d650a9b9653f01c9ea891fe07cf449973d1a0ad1181bd7c8a363ed215f102ff9f8892eb48a7e2c8c53b875123ec1820c1102d66afef7dd2ffd79b7ac MISC metadata.xml 499 BLAKE2B e8aa182ad9b9388d6bbb527bff646b1e816343ddcbc95f8a9ee2eede2272f6470e1d543745c8ab9b907259c3b880332fb6d281e9771ea63696812956195bb277 SHA512 bb9b0a207af851714831c2aca9d020bcc728094c82ad15d519578e31499ff1999741279725ab6c306a25f0e4ccfd8399e39f2b42ca4eb821e677395aea8be842 diff --git a/www-apps/radicale/radicale-3.3.1.ebuild b/www-apps/radicale/radicale-3.3.1.ebuild new file mode 100644 index 000000000000..737c936a67a4 --- /dev/null +++ b/www-apps/radicale/radicale-3.3.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 optfeature systemd + +MY_P=${P^} +DESCRIPTION="A simple CalDAV calendar server" +HOMEPAGE="https://radicale.org/" +SRC_URI=" + https://github.com/Kozea/Radicale/archive/refs/tags/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +RDEPEND=" + >=acct-user/radicale-0-r2 + acct-group/radicale + dev-python/bcrypt[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/passlib[${PYTHON_USEDEP}] + dev-python/vobject[${PYTHON_USEDEP}] + sys-apps/util-linux +" + +BDEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/waitress[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +RDIR=/var/lib/"${PN}" + +DOCS=( DOCUMENTATION.md CHANGELOG.md ) + +python_test() { + epytest -o addopts= radicale/tests/ +} + +python_install_all() { + rm README* || die + # init file + newinitd "${FILESDIR}"/radicale-r4.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 +} + +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 + + optfeature "Publish changes to rabbitmq" dev-python/pika + optfeature "LDAP/LDAPS authentication" dev-python/ldap3 dev-python/python-ldap +} -- cgit v1.2.3