diff --git a/srcpkgs/python-toml/template b/srcpkgs/python-toml/template index 8634547fca..a59a8f055b 100644 --- a/srcpkgs/python-toml/template +++ b/srcpkgs/python-toml/template @@ -1,16 +1,14 @@ # Template file for 'python-toml' pkgname=python-toml version=0.9.3 -revision=1 +revision=2 noarch=yes -wrksrc=toml-$version +wrksrc="toml-${version}" build_style=python-module -pycompile_module="toml" +pycompile_module="toml.py" +hostmakedepends="python-setuptools python3-setuptools" depends="python" -hostmakedepends="python-setuptools python3-setuptools \ - python-devel python3-devel" -makedepends="python-devel python3-devel" -short_desc="Python2 lib for TOML" +short_desc="Python2 library for TOML" maintainer="AcidBear " license="MIT" homepage="https://github.com/uiri/toml" @@ -22,10 +20,12 @@ pkg_install() { } python3-toml_package() { + noarch=yes depends="python3" + pycompile_module="toml.py" short_desc=${short_desc/Python2/Python3} pkg_install() { - vmove /usr/lib/python3* + vmove usr/lib/python3* vlicense LICENSE } }