pkgname=python3-idna pkgver=3.10 pkgrel=1 pkgdesc="Support for the Internationalised Domain Names in Applications (IDNA) protocol as specified in RFC 5891. " arch=('x86_64') license=('LGPL') url="https://github.com/kjd/idna/" depends=('python3') makedepends=('python3-build' 'python3-installer' 'python3-flit-core' 'python3-wheel') source=("https://files.pythonhosted.org/packages/source/i/idna/idna-${pkgver}.tar.gz") sha256sums=('12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9') build() { cd idna-${pkgver} python3 -m build -nw } package() { cd idna-${pkgver} python3 -m installer --destdir=${pkgdir} dist/*.whl install -Dm644 LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }