# Template file for 'python-pyaes' pkgname=python-pyaes version=1.6.1 revision=1 noarch=yes wrksrc="pyaes-${version}" build_style=python-module pycompile_module="pyaes" hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="Pure-Python implementation of the AES block cipher (Python2)" maintainer="Sir_Boops " license="MIT" homepage="https://github.com/ricmoo/pyaes" distfiles="${PYPI_SITE}/p/pyaes/pyaes-${version}.tar.gz" checksum=02c1b1405c38d3c370b085fb952dd8bea3fadcee6411ad99f312cc129c536d8f post_install() { vlicense LICENSE.txt } python3-pyaes_package() { noarch=yes depends="python3" pycompile_module="pyaes" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE.txt } }