# Template file for 'python-daemonize' pkgname=python-daemonize version=2.5.0 revision=1 archs=noarch wrksrc="daemonize-${version}" build_style=python-module pycompile_module="daemonize.py" hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="Daemonize is a library for writing system daemons in Python (Python2)" maintainer="Luca Weiss " license="MIT" homepage="https://github.com/thesharp/daemonize" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=72ed6f7de45a50feea51017df8cf0829a903ca8b8d0b2453261dfbb1cdeb9481 post_Install() { vlicense LICENSE } python3-daemonize_package() { archs=noarch depends="python3" pycompile_module="daemonize.py" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE } }