python-random2: add missing pycompile_module
This commit is contained in:
parent
ecd79d05d0
commit
44ad2695d8
1 changed files with 4 additions and 2 deletions
|
@ -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*
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue