# Description: A modern parsing library # URL: https://github.com/lark-parser/lark # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: python3-setuptools name=python3-lark-parser version=0.12.0 release=1 _nearley_commit=a46b37471db486db0f6e1ce6a2934fb238346b44 source=(https://github.com/lark-parser/lark/archive/$version/$name-$version.tar.gz https://github.com/kach/nearley/archive/$_nearley_commit/nearley-$_nearley_commit.tar.gz) build() { ls rmdir lark-$version/tests/test_nearley/nearley ln -s nearely-$_nearley_commit lark-$version/tests/test_nearley/nearley cd lark-$version /usr/bin/python3 setup.py build /usr/bin/python3 setup.py install --prefix=/usr \ --root=$PKG \ --skip-build \ -O1 }