void-packages/srcpkgs/python-random2/template
2019-03-01 12:04:45 -03:00

25 lines
722 B
Bash

# Template file for 'python-random2'
pkgname=python-random2
version=1.0.1
revision=3
archs=noarch
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"
maintainer="Wilson Birney <wpb@360scada.com>"
license="Python-2.0"
homepage="https://pypi.org/project/random2/"
distfiles="${PYPI_SITE}/r/random2/random2-${version}.zip"
checksum=34ad30aac341039872401595df9ab2c9dc36d0b7c077db1cea9ade430ed1c007
python3-random2_package() {
archs=noarch
depends="python3-setuptools"
pycompile_module="random2.py"
pkg_install() {
vmove usr/lib/python3*
}
}