1 |
commit: b6ad1c1bfc4d3bc557a02a92f0978efcc5bd3e9a |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 26 18:57:21 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 26 18:57:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6ad1c1b |
7 |
|
8 |
dev-python/caldav: add 0.11.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/caldav/Manifest | 1 + |
13 |
dev-python/caldav/caldav-0.11.0.ebuild | 50 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/caldav/Manifest b/dev-python/caldav/Manifest |
17 |
index d422b601d283..2df4a23ff04f 100644 |
18 |
--- a/dev-python/caldav/Manifest |
19 |
+++ b/dev-python/caldav/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST caldav-0.10.gh.tar.gz 121800 BLAKE2B 6398e2e94f40e6c0d8fa757a02ae2aedcdc2bef59be9b6499a9ff86304ee2280222ff4490b9cf6fe2b37bd1e5031e17f472afbd0e42da2a82a27aec87cfecd08 SHA512 1cd98a3f59381c238ba424a30a6596e969c04bcab74cd1f9cbf9bae1da32d23b12a718135252a12fc069091994ef451bf504a05097d9539a79b397370c55609f |
22 |
+DIST caldav-0.11.0.gh.tar.gz 126186 BLAKE2B 0d818ea5e76b88b3ea18f1fd878a297fa88ad9921d994a61d05c02aa80b73ac40bd8cb36810a050d8f6a87009911655b64a8a4ef09133cb751a225adacdd5575 SHA512 761753fa86e2ba9788030df1af482177bd01ee266a7fe8da744ac85eee95a74d1450e1afa0f64109b9c12aaedba0354d76da2ee9b27dec2771141fc453727d4f |
23 |
|
24 |
diff --git a/dev-python/caldav/caldav-0.11.0.ebuild b/dev-python/caldav/caldav-0.11.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..de90382f0920 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/caldav/caldav-0.11.0.ebuild |
29 |
@@ -0,0 +1,50 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="CalDAV (RFC4791) client library for Python" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/python-caldav/caldav |
43 |
+ https://pypi.org/project/caldav/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/python-caldav/caldav/archive/refs/tags/v${PV}.tar.gz |
47 |
+ -> ${P}.gh.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="|| ( GPL-3 Apache-2.0 )" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
56 |
+ dev-python/requests[${PYTHON_USEDEP}] |
57 |
+ dev-python/six[${PYTHON_USEDEP}] |
58 |
+ dev-python/vobject[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+BDEPEND=" |
61 |
+ test? ( |
62 |
+ dev-python/icalendar[${PYTHON_USEDEP}] |
63 |
+ dev-python/tzlocal[${PYTHON_USEDEP}] |
64 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
65 |
+ www-apps/radicale[${PYTHON_USEDEP}] |
66 |
+ ) |
67 |
+" |
68 |
+ |
69 |
+distutils_enable_tests pytest |
70 |
+ |
71 |
+EPYTEST_DESELECT=( |
72 |
+ # needs unpackaged recurring_ical_events |
73 |
+ tests/test_caldav.py::TestLocalRadicale::testTodoDatesearch |
74 |
+ tests/test_caldav.py::TestLocalRadicale::testRecurringDateSearch |
75 |
+ tests/test_caldav_unit.py::TestExpandRRule::testZero |
76 |
+ tests/test_caldav_unit.py::TestExpandRRule::testOne |
77 |
+ tests/test_caldav_unit.py::TestExpandRRule::testThree |
78 |
+ tests/test_caldav_unit.py::TestExpandRRule::testSplit |
79 |
+) |