# Maintainer: Antoine Martin _pyname='dateparser' pkgname="py3-$_pyname" pkgver=1.0.0 pkgrel=0 arch='noarch' pkgdesc='Python parser for human readable dates' url="https://pypi.python.org/project/${_pyname}" license="BSD" depends='python3 py3-dateutil py3-regex py3-tzlocal py3-ruamel-yaml' makedepends='py3-setuptools' options="!check" source="${pkgname}-${pkgver}.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-${pkgver}.tar.gz" builddir="$srcdir"/$_pyname-$pkgver build() { cd "$builddir" python3 setup.py build } package() { cd "$builddir" python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE } sha512sums=" 8e796adc70157242fca365786628f01fbbc5ee63c72085740710c65af33c8a8bbdd4725bd80886e6e630409caf526bccbe9e88ec3f4c6682b54b30edf096361e py3-dateparser-1.0.0.tar.gz "