2021-04-12 23:53:42 +10:00
|
|
|
# Description: Foreign Function Interface for Python calling C code.
|
2023-08-19 11:25:01 +02:00
|
|
|
# URL: https://cffi.readthedocs.io/en/latest/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2021-04-12 23:53:42 +10:00
|
|
|
# Depends on: python3-pycparser
|
|
|
|
|
|
|
|
name=python3-cffi
|
2022-07-02 14:33:22 +02:00
|
|
|
version=1.15.1
|
2023-08-19 11:25:01 +02:00
|
|
|
release=2
|
|
|
|
source=(https://pypi.org/packages/source/c/cffi/cffi-$version.tar.gz)
|
2021-04-12 23:53:42 +10:00
|
|
|
|
|
|
|
build() {
|
2023-08-19 11:25:01 +02:00
|
|
|
cd cffi-$version
|
|
|
|
|
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
|
|
|
--root=$PKG \
|
|
|
|
--skip-build
|
2021-04-12 23:53:42 +10:00
|
|
|
}
|