diff options
Diffstat (limited to 'repo/python-wheel/python-wheel.xibuild')
-rw-r--r-- | repo/python-wheel/python-wheel.xibuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/python-wheel/python-wheel.xibuild b/repo/python-wheel/python-wheel.xibuild new file mode 100644 index 0000000..02b36a8 --- /dev/null +++ b/repo/python-wheel/python-wheel.xibuild @@ -0,0 +1,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" +} |