diff --git a/srcpkgs/python3-EasyProcess/template b/srcpkgs/python3-EasyProcess/template new file mode 100644 index 00000000000..db1c8197e84 --- /dev/null +++ b/srcpkgs/python3-EasyProcess/template @@ -0,0 +1,25 @@ +# Template file for 'python3-EasyProcess' +pkgname=python3-EasyProcess +version=0.2.10 +revision=1 +archs=noarch +wrksrc=EasyProcess-${version} +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest python3-nose python3-PyVirtualDisplay inetutils + xorg-server-xvfb" +short_desc="Easy to use python subprocess interface" +maintainer="Đoàn Trần Công Danh " +license="BSD-2-Clause" +homepage="https://github.com/ponty/easyprocess" +distfiles="${PYPI_SITE}/E/EasyProcess/EasyProcess-${version}.tar.gz" +checksum=636b5e30222cde1e881fafc0112b35d516bce41ddee83ecbac656dec9befea1b + +do_check() { + PYTHONPATH=$(pwd)/build/lib pytest +} + +post_install() { + vlicense LICENSE.txt +}