# Template file for 'python-wrapt' pkgname=python-wrapt version=1.11.2 revision=1 wrksrc="wrapt-${version}" build_style=python-module pycompile_module="wrapt" hostmakedepends="python-setuptools python3-setuptools" makedepends="python-devel python3-devel" short_desc="Python2 module for decorators, wrappers and monkey patching" maintainer="Alessio Sergi " license="BSD-2-Clause" homepage="https://github.com/GrahamDumpleton/wrapt" distfiles="${PYPI_SITE}/w/wrapt/wrapt-${version}.tar.gz" checksum=565a021fd19419476b9362b05eeaa094178de64f8361e44468f9e9d7843901e1 post_install() { vlicense LICENSE } python3-wrapt_package() { pycompile_module="wrapt" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE } }