void-packages/srcpkgs/python-wheel/template
2018-03-26 19:30:57 +02:00

34 lines
873 B
Bash

# Template file for 'python-wheel'
pkgname=python-wheel
version=0.30.0
revision=2
noarch=yes
wrksrc="wheel-${version}"
build_style=python-module
pycompile_module="wheel"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Built-package format for Python (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/pypa/wheel"
license="MIT"
distfiles="${PYPI_SITE}/w/wheel/wheel-${version}.tar.gz"
checksum=9515fe0a94e823fd90b08d22de45d7bde57c90edce705b22f5e1ecf7e1b653c8
alternatives="wheel:wheel:usr/bin/wheel2"
post_install() {
vlicense LICENSE.txt
}
python3-wheel_package() {
noarch=yes
depends="python3"
pycompile_module="wheel"
short_desc="${short_desc/Python2/Python3}"
alternatives="wheel:wheel:usr/bin/wheel3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}