python-wheel: fix template
This commit is contained in:
parent
70507733ad
commit
0689be6497
1 changed files with 11 additions and 9 deletions
|
@ -1,19 +1,20 @@
|
||||||
# Template file for 'python-wheel'
|
# Template file for 'python-wheel'
|
||||||
pkgname=python-wheel
|
pkgname=python-wheel
|
||||||
version=0.30.0
|
version=0.30.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname/python-//}-${version}"
|
noarch=yes
|
||||||
|
wrksrc="wheel-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="wheel"
|
pycompile_module="wheel"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
short_desc="A built-package format for Python2"
|
depends="python"
|
||||||
maintainer="Orphaned <orphan@voidlinux.eu>"
|
short_desc="Built-package format for Python (Python2)"
|
||||||
license="MIT"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://github.com/pypa/wheel"
|
homepage="https://github.com/pypa/wheel"
|
||||||
|
license="MIT"
|
||||||
distfiles="${PYPI_SITE}/w/wheel/wheel-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/w/wheel/wheel-${version}.tar.gz"
|
||||||
checksum=9515fe0a94e823fd90b08d22de45d7bde57c90edce705b22f5e1ecf7e1b653c8
|
checksum=9515fe0a94e823fd90b08d22de45d7bde57c90edce705b22f5e1ecf7e1b653c8
|
||||||
alternatives="python-wheel:wheel:usr/bin/wheel2"
|
alternatives="wheel:wheel:usr/bin/wheel2"
|
||||||
noarch=yes
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt
|
||||||
|
@ -21,11 +22,12 @@ post_install() {
|
||||||
|
|
||||||
python3-wheel_package() {
|
python3-wheel_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
depends="python3"
|
||||||
pycompile_module="wheel"
|
pycompile_module="wheel"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
alternatives="python-wheel:wheel:usr/bin/wheel3"
|
alternatives="wheel:wheel:usr/bin/wheel3"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/bin/*3"
|
vmove usr/bin/*3
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue