# Template file for 'python-pluggy' pkgname=python-pluggy version=0.9.0 revision=1 archs=noarch wrksrc="${pkgname/python-//}-${version}" build_style=python-module pycompile_module="pluggy" hostmakedepends="python-setuptools python3-setuptools" depends="python" checkdepends="python3-pytest" short_desc="Minimalist production ready python2 plugin system" maintainer="Orphaned " license="MIT" homepage="https://github.com/pytest-dev/pluggy" distfiles="${PYPI_SITE}/p/pluggy/pluggy-${version}.tar.gz" checksum=19ecf9ce9db2fce065a7a0586e07cfb4ac8614fe96edf628a264b1c70116cf8f do_check() { python3 -m pytest } post_install() { vlicense LICENSE } python3-pluggy_package() { archs=noarch pycompile_module="pluggy" depends="python3" short_desc="${short_desc/python2/python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE } }