# Template file for 'python-attrs' pkgname=python-attrs version=17.3.0 revision=1 noarch=yes wrksrc="attrs-${version}" build_style=python-module pycompile_module="attr" hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="Attributes without boilerplate (Python2)" maintainer="Juan RP " license="MIT" homepage="https://attrs.readthedocs.io/" distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz" checksum=c78f53e32d7cf36d8597c8a2c7e3c0ad210f97b9509e152e4c37fa80869f823c post_install() { vlicense LICENSE } python3-attrs_package() { noarch=yes depends="python3" pycompile_module="attr" replaces="python3.4-attrs>=0" short_desc="${short_desc/Python2/Python3}" pkg_install() { vlicense LICENSE vmove usr/lib/python3* } } python3.4-attrs_package() { noarch=yes build_style=meta short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" depends="python3-attrs>=${version}_${revision}" }