# Description: icalendar parser library for Python
# URL: https://github.com/collective/icalendar
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-dateutil python3-pytz

name=python3-icalendar
version=5.0.7
release=1
source=(https://files.pythonhosted.org/packages/source/i/icalendar/icalendar-$version.tar.gz)

build() {
  cd icalendar-$version

  /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
  /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}
