python3-icalendar: remove unnecessary custom do_check

This commit is contained in:
Andrew J. Hesford 2021-06-08 00:36:20 -04:00
parent f38d32278c
commit ff88ad2ce7

View file

@ -4,6 +4,7 @@ version=4.0.7
revision=1
wrksrc="icalendar-${version}"
build_style=python3-module
make_check_target=src/icalendar/tests
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-dateutil python3-pytz"
checkdepends="python3-dateutil python3-pytz python3-pytest python3-hypothesis"
@ -15,10 +16,6 @@ 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
}