summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-12 03:58:50 +0100
committerSam James <sam@gentoo.org>2022-07-12 04:03:19 +0100
commit788f91782bbaff7924ef37997e47a7cee59d39e0 (patch)
tree802d8fa3d81e7f93fa0726c4ddc54974773d553b /dev-python/caldav
parentapp-office/gtg: use canonical phase ordering (diff)
downloadgentoo-788f91782bbaff7924ef37997e47a7cee59d39e0.tar.gz
gentoo-788f91782bbaff7924ef37997e47a7cee59d39e0.tar.bz2
gentoo-788f91782bbaff7924ef37997e47a7cee59d39e0.zip
dev-python/caldav: new package, add 0.9.1
See: https://github.com/gentoo/gentoo/pull/26269 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/caldav')
-rw-r--r--dev-python/caldav/Manifest1
-rw-r--r--dev-python/caldav/caldav-0.9.1.ebuild40
-rw-r--r--dev-python/caldav/metadata.xml13
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/caldav/Manifest b/dev-python/caldav/Manifest
new file mode 100644
index 000000000000..60290559a8fe
--- /dev/null
+++ b/dev-python/caldav/Manifest
@@ -0,0 +1 @@
+DIST caldav-0.9.1.gh.tar.gz 105578 BLAKE2B 3581bb0f40daf312b32ff2ef88a31502449e0727f8e6178574c5350fb0312726d62cc9e4be3b9e73b4ee55282a32fcc503da48d49c3e7f0639a96de8197e6f8b SHA512 9171a09aa81bd6ad885aaaa3dac4cb53cb05235b37aa5be72d641b1cd2ee27928213eb95358654e99adfdbf70bea4567977509f972f54b8747162e91c95e1397
diff --git a/dev-python/caldav/caldav-0.9.1.ebuild b/dev-python/caldav/caldav-0.9.1.ebuild
new file mode 100644
index 000000000000..37e0a8428e53
--- /dev/null
+++ b/dev-python/caldav/caldav-0.9.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+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/refs/tags/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/tzlocal[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ www-apps/radicale[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/caldav/metadata.xml b/dev-python/caldav/metadata.xml
new file mode 100644
index 000000000000..2e83fe1b94aa
--- /dev/null
+++ b/dev-python/caldav/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">caldav</remote-id>
+ <remote-id type="github">python-caldav/caldav</remote-id>
+ </upstream>
+</pkgmetadata>