pkgname=python-cffi pkgver=1.17.1 pkgrel=1 pkgdesc="Foreign Function Interface for Python calling C code" arch=('x86_64') url="https://cffi.readthedocs.org/" license=('MIT') depends=('python-pycparser') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=(https://github.com/python-cffi/cffi/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(5aff2444731a1fc55c67080ded66d27cc4a0151e0bd37a7d02ca2a0c0edd895d) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }