pkgname=python-idna pkgver=3.10 pkgrel=1 pkgdesc="Internationalized Domain Names in Applications (IDNA)" arch=('x86_64') url="https://github.com/kjd/idna" license=('BSD-3-Clause') depends=('python') makedepends=('python-build' 'python-installer' 'python-flit-core') source=(https://github.com/kjd/idna/releases/download/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }