# Template file for 'python-lockfile'
pkgname=python-lockfile
version=0.12.2
revision=6
wrksrc="lockfile-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools python-pbr python3-pbr"
makedepends="python-pbr python3-pbr"
depends="python"
pycompile_module="lockfile"
short_desc="Platform-independent file locking module (Python2)"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://pypi.org/project/lockfile/"
license="MIT"
distfiles="${PYPI_SITE}/l/lockfile/lockfile-${version}.tar.gz"
checksum=6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799

post_install() {
	vlicense LICENSE
}

python3-lockfile_package() {
	pycompile_module="lockfile"
	depends="python3"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
		vlicense LICENSE
	}
}
