blob: 4f173d6b51385f4ae7b9bf5dc7b1d67f6a07a9ac (
plain)
1 # Description: Foreign Function Interface for Python calling C code.
2 # URL: http://cffi.readthedocs.org/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: libffi pycparser
5
6 name=python-cffi
7 version=1.11.2
8 release=1
9 source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.tar.gz)
10
11 build() {
12 cd ${name#*-}-$version
13 /usr/bin/python setup.py build
14 /usr/bin/python setup.py install --prefix=/usr --root=$PKG --optimize=1
15 }
|