Files
ports/main/python3-cffi/spkgbuild
2023-10-03 11:51:55 +00:00

15 lines
429 B
Plaintext

# description : Foreign Function Interface for Python calling C code
# homepage : http://cffi.readthedocs.org
# depends : python3-pycparser
name=python3-cffi
version=1.16.0
release=1
source="$name-$version.tar.gz::https://files.pythonhosted.org/packages/source/c/${name#*-}/${name#*-}-$version.tar.gz"
build() {
cd ${name#*-}-$version
python3 setup.py build
python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
}