# Template file for 'python-six' pkgname=python-six version=1.16.0 revision=3 build_style=python-module hostmakedepends="python-setuptools python3-setuptools" depends="python" checkdepends="python3-pytest" short_desc="Python 2 and 3 compatibility utilities (Python2)" maintainer="Alessio Sergi " license="MIT" homepage="https://github.com/benjaminp/six" changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES" distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz" checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 post_install() { vlicense LICENSE } do_check() { python3 -m pytest } python3-six_package() { depends="python3" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE } }