void-packages/srcpkgs/python-pytest-relaxed/template

31 lines
888 B
Bash

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