commit: c398fb2e128a9b00ead4bc6f0c8da1d0f5ea7ef2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 17 15:22:45 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 17 15:44:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c398fb2e
dev-python/caldav: Run tests needing python-recurring-ical-events
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/caldav/caldav-1.0.1-r1.ebuild | 41 ++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/dev-python/caldav/caldav-1.0.1-r1.ebuild
b/dev-python/caldav/caldav-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..295a2c82945a
--- /dev/null
+++ b/dev-python/caldav/caldav-1.0.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="CalDAV (RFC4791) client library for Python"
+HOMEPAGE="
+ https://github.com/python-caldav/caldav/
+ https://pypi.org/project/caldav/
+"
+SRC_URI="
+ https://github.com/python-caldav/caldav/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="|| ( GPL-3 Apache-2.0 )"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/vobject[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/icalendar[${PYTHON_USEDEP}]
+ dev-python/python-recurring-ical-events[${PYTHON_USEDEP}]
+ dev-python/tzlocal[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ www-apps/radicale[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest