# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=python-uncompyle6 _pkgname=${pkgname#python-} pkgver=3.9.3 pkgrel=1 pkgdesc='A Python cross-version decompiler.' groups=('blackarch' 'blackarch-decompiler') arch=('any') url='https://pypi.org/project/uncompyle6/#files' license=('GPL-3.0-or-later') depends=('python' 'python-hypothesis' 'python-pytest' 'python-spark-parser' 'python-xdis') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") sha512sums=('3d33f23a6fb2c45c99f4f77140372c405de2b03050319072066e59355f773e2e52023b976d6346c742dc4a20c5efebf75157105f38769007b3c5a27dc4b6dced') build() { cd "$_pkgname-$pkgver" python -m build --wheel --no-isolation } package() { cd "$_pkgname-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }