# Description: Internationalized Domain Names in Applications (IDNA).
# URL: https://github.com/kjd/idna
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-build python3-flit-core python3-installer

name=python3-idna
version=3.4
release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)

build() {
	cd ${name#*-}-$version

	/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
	/usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
}
