# Template file for 'python-pytest-relaxed'
pkgname=python-pytest-relaxed
version=1.1.2
revision=1
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
pycompile_module="pytest_relaxed"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-decorator python-pytest"
short_desc="Relaxed test discovery/organization for pytest2"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/bitprophet/pytest-relaxed"
distfiles="${PYPI_SITE}/p/pytest-relaxed/pytest-relaxed-${version}.tar.gz"
checksum=9159d01dcca84d0fcb1f9487d38bf32f8927506a6054a363660c964b9afe9832
noarch=yes

post_install() {
	vlicense LICENSE
}

python3-pytest-relaxed_package() {
	noarch=yes
	depends="${depends/python/python3}"
	short_desc="${short_desc/pytest2/pytest3}"
	pkg_install() {
		vmove usr/lib/python3*
		vlicense LICENSE
	}
}
