2015-02-19 22:06:03 +11:00
|
|
|
# Description: Foreign Function Interface for Python calling C code.
|
|
|
|
# URL: http://cffi.readthedocs.org/
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
# Packager: Danny Rawlins, crux at romster dot me
|
2015-03-12 17:56:31 +11:00
|
|
|
# Depends on: libffi pycparser
|
2015-02-19 22:06:03 +11:00
|
|
|
|
|
|
|
name=cffi
|
2015-03-20 20:16:01 +11:00
|
|
|
version=0.9.2
|
2015-02-19 22:06:03 +11:00
|
|
|
release=1
|
|
|
|
source=(http://pypi.python.org/packages/source/c/$name/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
/usr/bin/python setup.py install --root=$PKG --optimize=1
|
|
|
|
}
|