# Template file for 'python-incremental'
pkgname=python-incremental
version=16.10.1
revision=1
noarch=yes
wrksrc="incremental-${version}"
build_style=python-module
pycompile_module="incremental"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Small library that versions your Python projects (Python2)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/hawkowl/incremental"
license="MIT"
distfiles="${PYPI_SITE}/i/incremental/incremental-${version}.tar.gz"
checksum=14ad6b720ec47aad6c9caa83e47db1843e2b9b98742da5dda08e16a99f400342

post_install() {
	vlicense LICENSE
}

python3-incremental_package() {
	noarch=yes
	depends="python3"
	pycompile_module="incremental"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
		vlicense LICENSE
	}
}
