25 lines
807 B
Bash
25 lines
807 B
Bash
# Template file for 'python3-icalendar'
|
|
pkgname=python3-icalendar
|
|
version=4.0.7
|
|
revision=1
|
|
wrksrc="icalendar-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools python3-dateutil python3-pytz"
|
|
checkdepends="python3-dateutil python3-pytz python3-pytest python3-hypothesis"
|
|
short_desc="Parser/generator of iCalendar files for use with Python3"
|
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/collective/icalendar"
|
|
distfiles="${PYPI_SITE}/i/icalendar/icalendar-${version}.tar.gz"
|
|
checksum=0fc18d87f66e0b5da84fa731389496cfe18e4c21304e8f6713556b2e8724a7a4
|
|
conflicts="python-icalendar>=0"
|
|
|
|
do_check() {
|
|
PYTHONPATH=src python3 -m pytest src/icalendar/tests
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE.rst LICENSE
|
|
}
|