7d4dd3f9d1
Closes: #9041 [via git-merge-pr]
32 lines
863 B
Bash
32 lines
863 B
Bash
# Template file for 'python-wheel'
|
|
pkgname=python-wheel
|
|
version=0.30.0
|
|
revision=1
|
|
wrksrc="${pkgname/python-//}-${version}"
|
|
build_style=python-module
|
|
pycompile_module="wheel"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
short_desc="A built-package format for Python2"
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/pypa/wheel"
|
|
distfiles="${PYPI_SITE}/w/wheel/wheel-${version}.tar.gz"
|
|
checksum=9515fe0a94e823fd90b08d22de45d7bde57c90edce705b22f5e1ecf7e1b653c8
|
|
alternatives="python-wheel:wheel:usr/bin/wheel2"
|
|
noarch=yes
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-wheel_package() {
|
|
noarch=yes
|
|
pycompile_module="wheel"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
alternatives="python-wheel:wheel:usr/bin/wheel3"
|
|
pkg_install() {
|
|
vmove "usr/bin/*3"
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.txt
|
|
}
|
|
}
|