# Template file for 'python-daemonize'
pkgname=python-daemonize
version=2.4.7
revision=1
noarch=yes
wrksrc="daemonize-${version}"
build_style=python-module
pycompile_module="daemonize"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Daemonize is a library for writing system daemons in Python (Python2)"
maintainer="Luca Weiss <luca@z3ntu.xyz>"
license="MIT"
homepage="https://github.com/thesharp/daemonize"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=4bc4ec9a8afac6c5e55c4e4defe221a711e3d7abeed820bde9cba2107e26a1d4

python3-daemonize_package() {
	noarch=yes
	depends="python3"
	short_desc="${short_desc/Python2/Python3}"

	pkg_install() {
		vmove usr/lib/python3*
		vlicense LICENSE
	}
}
