makedepends=(libffi python-setuptools)
run=(python-pycparser)

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

maintainer="Great-OS Team"
packager="Great-OS Team"

name=python-cffi
_name=cffi
version=2.0.0
release=2

PKGMK_KEEP_SOURCES="no"
source=(https://github.com/python-cffi/cffi/archive/refs/tags/v$version.tar.gz)

build() {
  cd ${_name}-$version
  python3 setup.py build
  python3 setup.py install --prefix=/usr --root=$PKG
}
