1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#!/bin/sh NAME="python-ply" DESC="Python Lex & Yacc" MAKEDEPS="python" PKG_VER=3.11 SOURCE="https://github.com/dabeaz/ply/archive/$PKG_VER.tar.gz" ADDITIONAL=" no-py3-six.patch " build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$PKG_DEST" }