33 lines
719 B
Bash
33 lines
719 B
Bash
#!/usr/bin/env bash
|
|
name='py3-wheel'
|
|
release='5'
|
|
version='0.46.1'
|
|
url='https://pypi.org/project/wheel/'
|
|
description='A built-package format for Python'
|
|
email='parduscix@yandex.ru'
|
|
maintainer='sulincix'
|
|
license=('GPLv3')
|
|
source=("https://github.com/pypa/wheel/archive/refs/tags/${version}.tar.gz")
|
|
depends=(python)
|
|
makedepends=(py3-installer py3-flit)
|
|
sha256sums=('fec72595437748b92ee9a86cd464936f8902488b1085edb973ec2a6c5a5cb466')
|
|
group=(dev.python)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd wheel-$version
|
|
|
|
prepare(){
|
|
: # rm -r src/wheel/vendored
|
|
}
|
|
|
|
build(){
|
|
python3 -m build
|
|
}
|
|
|
|
package(){
|
|
python3 -m installer --destdir="$DESTDIR" dist/*.whl
|
|
mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3
|
|
}
|
|
|