description="Foreign Function Interface for Python calling C code"
url="https://cffi.readthedocs.org/"

packager="tnut <tnut@nutyx.org>"
contributors="Spiky"
makedepends=(python python-pycparser)

name=python-cffi
version=1.15.1
release=2

source=(https://foss.heptapod.net/pypy/cffi/-/archive/v${version}/cffi-v${version}.tar.bz2)
build() {
cd cffi-v${version}
    python setup.py build

    python setup.py install --root=$PKG --optimize=1
}
