# Template file for 'python-attrs' pkgname=python-attrs version=19.3.0 revision=2 archs=noarch wrksrc="attrs-${version}" build_style=python-module pycompile_module="attr" hostmakedepends="python-setuptools python3-setuptools" depends="python" checkdepends="python-hypothesis python3-hypothesis python-pytest python3-pytest python-zope.interface python3-zope.interface" short_desc="Attributes without boilerplate (Python2)" maintainer="Alessio Sergi " license="MIT" homepage="https://attrs.readthedocs.io/" distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz" checksum=f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72 pre_check() { # those are python3 only rm tests/test_annotations.py tests/test_init_subclass.py } post_install() { vlicense LICENSE } python3-attrs_package() { archs=noarch depends="python3" pycompile_module="attr" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE } }