# Template file for 'python-fasteners'
pkgname=python-fasteners
version=0.15
revision=2
archs=noarch
wrksrc="fasteners-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-monotonic python-six"
pycompile_module="fasteners"
short_desc="Python2 package that provides useful locks"
maintainer="Leah Neukirchen <leah@vuxu.org>"
homepage="https://pypi.org/project/fasteners/"
license="Apache-2.0"
distfiles="${PYPI_SITE}/f/fasteners/fasteners-${version}.tar.gz"
checksum=3a176da6b70df9bb88498e1a18a9e4a8579ed5b9141207762368a1017bf8f5ef

python3-fasteners_package() {
	archs=noarch
	depends="python3-six"
	pycompile_module="fasteners"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
	}
}
