blob: 02b36a81b334d50f7657830936a9b192c07558bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
NAME="python-wheel"
DESC="built-package format for Python"
MAKEDEPS="python "
DEPS="python-packaging "
PKG_VER=0.37.1
SOURCE="https://files.pythonhosted.org/packages/source/w/wheel/wheel-$PKG_VER.tar.gz"
ADDITIONAL="use-system-packaging.patch "
prepare () {
apply_patches
}
build() {
rm -rf src/wheel/vendored
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$PKG_DEST"
}
|