# Template file for 'python-webassets' pkgname=python-webassets version=0.10.1 revision=1 noarch=yes wrksrc="${pkgname#*-}-${version}" build_style=python-module python_versions="2.7 3.4" pycompile_module="webassets" hostmakedepends="python-setuptools python3.4-setuptools" depends="python" short_desc="Media asset management for Python2" maintainer="Eivind Uggedal " license="BSD" homepage="https://github.com/miracle2k/webassets/" distfiles="${PYPI_SITE}/w/webassets/webassets-${version}.tar.gz" checksum=2c59f2ddc0abe29afdc91bb535faf6ce3145a1aaf2c1cd8fefdb0296d8e6c9e2 post_install() { vlicense LICENSE } python3.4-webassets_package() { noarch=yes depends="python3.4" pycompile_version="3.4" pycompile_module="webassets" short_desc="${short_desc/Python2/Python3.4}" pkg_install() { vmove usr/lib/python3.4 vlicense LICENSE } }