# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-doit _pkgname=doit pkgver=0.36.0 pkgrel=3 pkgdesc="A Python Automation Tool" url="https://pydoit.org/" arch="noarch" license="MIT" depends="py3-importlib-metadata py3-cloudpickle python3" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-doit" # Backwards compatibility provides="py-doit=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { PYTHONPATH=build/lib python3 -m doit --version } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" d4caa31701755c7f59213dde0f89fd3616c0c01b7f06245cbfd9f1a315d503e62f3556c3b86685cd0ebfcffcc9cae0987ca150f037aa7b3cd960439a1191be42 doit-0.36.0.tar.gz "