# Contributor: # Maintainer: pkgname=py3-dateutil _pkgname=python-dateutil pkgver=2.8.0 pkgrel=1 pkgdesc="Python3 extensions for datetime module" url="https://dateutil.readthedocs.io" arch="noarch" license="Apache-2.0 AND BSD-3-Clause" depends="python3 py3-six" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-dateutil" # Backwards compatibility provides="py-dateutil=$pkgver-r$pkgrel" # Backwards compatibility build() { cd "$builddir" python3 setup.py build } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="ec7da86203572582f883a4686acf8a732a2de4f396d809057eb51b2c60dbca5623a7fa90c2c0618c281a2282c60841739bd837731a51cc876f4ff369297f2f81 python-dateutil-2.8.0.tar.gz"