summaryrefslogtreecommitdiff
path: root/python3-lark-parser/Pkgfile
blob: 3095e90d74af05f72e9df431d066fb2a0e1ea5d2 (plain)
    1 # Description: A modern parsing library
    2 # URL: https://github.com/lark-parser/lark
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: python3-setuptools
    5 
    6 name=python3-lark-parser
    7 version=0.11.3
    8 release=1
    9 
   10 _nearley_commit=a46b37471db486db0f6e1ce6a2934fb238346b44
   11 
   12 source=(https://github.com/lark-parser/lark/archive/$version/$name-$version.tar.gz
   13   https://github.com/kach/nearley/archive/$_nearley_commit/nearley-$_nearley_commit.tar.gz)
   14 
   15 build() {
   16   ls
   17   rmdir lark-$version/tests/test_nearley/nearley
   18   ln -s nearely-$_nearley_commit lark-$version/tests/test_nearley/nearley
   19   cd lark-$version
   20   /usr/bin/python3 setup.py build
   21   /usr/bin/python3 setup.py install --prefix=/usr \
   22     --root=$PKG \
   23     --skip-build \
   24     -O1
   25 }

Generated by cgit