contrib/cffi/Pkgfile

18 lines
528 B
Plaintext
Raw Normal View History

2015-02-19 12:06:03 +01: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 07:56:31 +01:00
# Depends on: libffi pycparser
2015-02-19 12:06:03 +01:00
name=cffi
2016-11-27 01:43:36 +01:00
version=1.9.1
2015-02-19 12:06:03 +01:00
release=1
2016-11-27 01:43:36 +01:00
source=(https://pypi.python.org/packages/a1/32/e3d6c3a8b5461b903651dd6ce958ed03c093d2e00128e3f33ea69f1d7965/$name-$version.tar.gz)
2015-02-19 12:06:03 +01:00
build() {
cd $name-$version
2016-11-27 01:43:36 +01:00
/usr/bin/python setup.py build
2015-02-19 12:06:03 +01:00
/usr/bin/python setup.py install --root=$PKG --optimize=1
}