# Description: Better dates & times for Python
# URL: https://github.com/arrow-py/arrow
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: python3-dateutil python3-tzdata

name=python3-arrow
version=1.4.0
release=1
source=(https://pypi.org/packages/source/a/arrow/arrow-$version.tar.gz)

build() {
  cd arrow-$version

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