# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=arrow
pkgname=py3-arrow
pkgver=0.10.0
pkgrel=1
pkgdesc="Better dates and times for Python"
url="http://crsmithdev.com/arrow/"
arch="noarch"
license="GPL"
depends="python3"
makedepends="py-setuptools py3-dateutil py-nose"
source="https://files.pythonhosted.org/packages/source/a/arrow/arrow-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
check() {
cd "$builddir"
python3 setup.py check
}
package() {
cd "$builddir"
python3 setup.py install --root="$pkgdir" --optimize=1
}
sha512sums="a2baa23f1424b21506f3b664f0ef02d09f91b9cfaf6e0badfa544f42c750ed51136ae0e8910ac24207c0265a1b233f10a6f3cbafee3124b5f5c4fd965cfd01c0 arrow-0.10.0.tar.gz"