2017-11-12 15:31:12 +11:00
|
|
|
# Description: Foreign Function Interface for Python calling C code.
|
|
|
|
# URL: http://cffi.readthedocs.org/
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2018-12-08 17:05:54 +11:00
|
|
|
# Depends on: libffi python-pycparser
|
2017-11-12 15:31:12 +11:00
|
|
|
|
|
|
|
name=python-cffi
|
2020-08-16 16:47:24 +10:00
|
|
|
version=1.14.2
|
2017-11-12 15:31:12 +11:00
|
|
|
release=1
|
|
|
|
source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name#*-}-$version
|
|
|
|
/usr/bin/python setup.py build
|
|
|
|
/usr/bin/python setup.py install --prefix=/usr --root=$PKG --optimize=1
|
|
|
|
}
|