void-packages/srcpkgs/python3-icalendar/template

23 lines
908 B
Bash

# Template file for 'python3-icalendar'
pkgname=python3-icalendar
version=5.0.11
revision=1
build_style=python3-module
make_check_target=src/icalendar/tests
# Test uses different date formats, so calendars are not actually equal
make_check_args="-k not(test_calendars_with_same_subcomponents_in_different_order_are_equal)"
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="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/collective/icalendar"
distfiles="${PYPI_SITE}/i/icalendar/icalendar-${version}.tar.gz"
checksum=7a298bb864526589d0de81f4b736eeb6ff9e539fefb405f7977aa5c1e201ca00
conflicts="python-icalendar>=0"
post_install() {
vlicense LICENSE.rst LICENSE
}