35 lines
899 B
Bash
35 lines
899 B
Bash
# Template file for 'python-wheel'
|
|
pkgname=python-wheel
|
|
version=0.32.3
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="wheel-${version}"
|
|
build_style=python-module
|
|
pycompile_module="wheel"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-setuptools"
|
|
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=029703bf514e16c8271c3821806a1c171220cc5bdd325cbf4e7da1e056a01db6
|
|
alternatives="wheel:wheel:usr/bin/wheel2"
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-wheel_package() {
|
|
archs=noarch
|
|
pycompile_module="wheel"
|
|
depends="python3-setuptools"
|
|
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
|
|
}
|
|
}
|