# Description: An ISO 8601 date/time parser.
# URL: https://pypi.org/project/isodate/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: python3-six

name=python3-isodate
version=0.6.1
release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)

build() {
  cd ${name#*-}-$version
  /usr/bin/python3 setup.py build
  /usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
}
