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

32 lines
958 B
Bash

broken="pytest-relaxed currently only works with pytest<3.3"
# Template file for 'python-pytest-relaxed'
pkgname=python-pytest-relaxed
version=1.1.2
revision=1
noarch=yes
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
pycompile_module="pytest_relaxed"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-decorator python-six python-pytest"
short_desc="Relaxed test discovery/organization for pytest (Python2)"
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
post_install() {
vlicense LICENSE
}
python3-pytest-relaxed_package() {
noarch=yes
depends="${depends/python/python3}"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}