# Maintainer: Debucquoy Anthony (tonitch) pkgname=python-asphalt _name=${pkgname#python-} pkgver=4.12.0 pkgrel=1 url="https://github.com/asphalt-framework/asphalt" license=('Apache-2.0') arch=('any') depends=('python') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz") build() { cd "$_name-$pkgver" python -m build --wheel --no-isolation } package() { cd "$_name-$pkgver" python -m installer --destdir="$pkgdir/" dist/*.whl Install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } sha256sums=('21e2b323aba833ecd1ea84746b55d486de5027f119987528ddb7b20c0272d10e')