python-random2: add missing pycompile_module

This commit is contained in:
maxice8 2019-02-11 21:43:49 -02:00 committed by maxice8
parent ecd79d05d0
commit 44ad2695d8

View file

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