void-packages/srcpkgs/python3-EasyProcess/template

26 lines
736 B
Bash

# Template file for 'python3-EasyProcess'
pkgname=python3-EasyProcess
version=0.3
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 <congdanhqx@gmail.com>"
license="BSD-2-Clause"
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
}