pkgname=python-ply pkgver=3.11 pkgrel=1 pkgdesc="Implementation of lex and yacc parsing tools" arch=('x86_64') url="https://www.dabeaz.com/ply" license=('BSD-3-Clause') depends=('python') makedepends=('python-setuptools' 'python-build' 'python-wheel' 'python-installer') source=(https://github.com/dabeaz/ply/archive${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(928c5642612f4710b168d3c49c25f6ece2913a5e8d1c5e37fde5d6162fec3fd2) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --skip-dependency-check --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }