parent
34792b1882
commit
7d4dd3f9d1
2 changed files with 33 additions and 0 deletions
32
srcpkgs/python-wheel/template
Normal file
32
srcpkgs/python-wheel/template
Normal file
|
@ -0,0 +1,32 @@
|
|||
# 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
|
||||
}
|
||||
}
|
1
srcpkgs/python3-wheel
Symbolic link
1
srcpkgs/python3-wheel
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-wheel
|
Loading…
Reference in a new issue