# Template file for 'python-toml' pkgname=python-toml version=0.9.6 revision=1 noarch=yes wrksrc="toml-${version}" build_style=python-module pycompile_module="toml.py" hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="Python2 library for TOML" maintainer="AcidBear " license="MIT" homepage="https://github.com/uiri/toml" distfiles="${PYPI_SITE}/t/toml/toml-${version}.tar.gz" checksum=380178cde50a6a79f9d2cf6f42a62a5174febe5eea4126fe4038785f1d888d42 pkg_install() { vlicense LICENSE } python3-toml_package() { noarch=yes depends="python3" pycompile_module="toml.py" short_desc=${short_desc/Python2/Python3} pkg_install() { vmove usr/lib/python3* vlicense LICENSE } }