19 lines
466 B
Plaintext
19 lines
466 B
Plaintext
# Description: Foreign Function Interface for Python calling C code.
|
|
# URL: https://cffi.readthedocs.io/en/latest/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-pycparser
|
|
|
|
name=python3-cffi
|
|
version=1.16.0
|
|
release=1
|
|
source=(https://pypi.org/packages/source/c/cffi/cffi-$version.tar.gz)
|
|
|
|
build() {
|
|
cd cffi-$version
|
|
|
|
/usr/bin/python3 setup.py build
|
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
|
--root=$PKG \
|
|
--skip-build
|
|
}
|