# Template file for 'python-prctl'
pkgname=python-prctl
version=1.7
revision=4
build_style=python-module
pycompile_module="prctl.py"
hostmakedepends="python-setuptools python3-setuptools libcap-devel"
makedepends="libcap-devel python-devel python3-devel"
short_desc="Python2 interface for the Linux prctl syscall"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/seveas/python-prctl"
distfiles="https://github.com/seveas/python-prctl/archive/v${version}.tar.gz"
checksum=03bb346430f5ffa707f14de5a3796936f64d627cd07c8e97135d100598bf38a5

python3-prctl_package() {
	pycompile_module="prctl.py"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
	}
}
