diff --git a/srcpkgs/python-random2/template b/srcpkgs/python-random2/template index fa465e8e7df..309582a6c1f 100644 --- a/srcpkgs/python-random2/template +++ b/srcpkgs/python-random2/template @@ -1,9 +1,11 @@ # Template file for 'python-random2' pkgname=python-random2 version=1.0.1 -revision=2 +revision=3 +noarch=yes wrksrc="random2-${version}" build_style=python-module +pycompile_module="random2.py" hostmakedepends="python-setuptools python3-setuptools unzip" depends="python-setuptools" short_desc="Python 3 compatible Python 2 random Module" @@ -12,11 +14,11 @@ license="Python-2.0" homepage="https://pypi.org/project/random2/" distfiles="${PYPI_SITE}/r/random2/random2-${version}.zip" checksum=34ad30aac341039872401595df9ab2c9dc36d0b7c077db1cea9ade430ed1c007 -noarch=yes python3-random2_package() { noarch=yes depends="python3-setuptools" + pycompile_module="random2.py" pkg_install() { vmove usr/lib/python3* }