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>
This commit is contained in:
Sam James
2022-07-12 03:58:50 +01:00
parent 9473a1d20a
commit 788f91782b
3 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST caldav-0.9.1.gh.tar.gz 105578 BLAKE2B 3581bb0f40daf312b32ff2ef88a31502449e0727f8e6178574c5350fb0312726d62cc9e4be3b9e73b4ee55282a32fcc503da48d49c3e7f0639a96de8197e6f8b SHA512 9171a09aa81bd6ad885aaaa3dac4cb53cb05235b37aa5be72d641b1cd2ee27928213eb95358654e99adfdbf70bea4567977509f972f54b8747162e91c95e1397

View File

@@ -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

View File

@@ -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>