contrib/python3-icalendar/Pkgfile

20 lines
500 B
Plaintext

# 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=4.0.7
release=1
source=(https://files.pythonhosted.org/packages/source/i/icalendar/icalendar-$version.tar.gz)
build() {
cd icalendar-$version
python3 setup.py build
python3 setup.py install \
--prefix=/usr \
--optimize=1 \
--skip-build \
--root=$PKG
}