python3-EasyProcess: fix do_check()

This commit is contained in:
Đoàn Trần Công Danh 2021-01-24 12:32:37 +07:00
parent 90c1aa7829
commit 41a2d85bf2

View file

@ -7,7 +7,7 @@ build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest python3-nose python3-PyVirtualDisplay inetutils
xorg-server-xvfb"
xorg-server-xvfb python3-six"
short_desc="Easy to use python subprocess interface"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="BSD-2-Clause"
@ -15,10 +15,6 @@ homepage="https://github.com/ponty/easyprocess"
distfiles="${PYPI_SITE}/E/EasyProcess/EasyProcess-${version}.tar.gz"
checksum=fb948daac01f64c1e49750752711253614846c6fc7e5692a718a7408f2ffb984
do_check() {
PYTHONPATH=$(pwd)/build/lib pytest
}
post_install() {
vlicense LICENSE.txt
}