# Template file for 'python-idna' pkgname=python-idna version=2.10 revision=1 wrksrc="idna-${version}" build_style=python-module hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="Internationalized Domain Names in Applications (IDNA) for Python2" maintainer="Alessio Sergi " license="BSD-3-Clause" homepage="https://github.com/kjd/idna" changelog="https://raw.githubusercontent.com/kjd/idna/master/HISTORY.rst" distfiles="${PYPI_SITE}/i/idna/idna-${version}.tar.gz" checksum=b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6 post_install() { vlicense LICENSE.rst } python3-idna_package() { depends="python3" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE.rst } }