# Description: A collection of Compile-time analyse on Python Abstract Syntax Tree(AST) # URL: https://github.com/serge-sans-paille/beniget # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: python3-build python3-gast python3-installer python3-wheel name=python3-beniget version=0.4.2.post1 release=1 source=(https://github.com/serge-sans-paille/beniget/archive/$version/$name-$version.tar.gz) build() { cd ${name#*-}-$version /usr/bin/python3 setup.py build /usr/bin/python3 setup.py install \ --prefix=/usr \ --root="$PKG" \ --skip-build \ --optimize=1 find $PKG \( -iname "README*" -o \ -iname INSTALLER -o \ -iname REQUESTED -o \ -iname "LICENSE*" \) -delete }