#!/bin/sh MAKEDEPS="python python-gpep517 python-flit" DEPS="" PKG_VER=3.0.9 SOURCE=https://github.com/pyparsing/pyparsing/archive/pyparsing_$PKG_VER.tar.gz DESC="General parsing module for Python" build() { mkdir -p dist local backend="$(python3 -m gpep517 get-backend)" python3 -m gpep517 build-wheel \ --wheel-dir dist \ --backend "$backend" \ --output-fd 1 } package() { python3 -m installer -d "$PKG_DEST" \ dist/pyparsing-$PKG_VER-py3-none-any.whl }