2015-01-19 01:02:45 +01:00
|
|
|
# Template file for 'python-cffi'
|
|
|
|
pkgname=python-cffi
|
2015-06-10 20:05:52 +02:00
|
|
|
version=1.1.2
|
2015-03-15 15:51:15 +01:00
|
|
|
revision=1
|
2015-01-19 01:02:45 +01:00
|
|
|
wrksrc="cffi-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools libffi-devel"
|
|
|
|
makedepends="python-devel python3.4-devel libffi-devel"
|
|
|
|
depends="python-pycparser"
|
|
|
|
pycompile_module="cffi"
|
|
|
|
short_desc="C foreign function interface for Python2"
|
|
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
|
|
homepage="http://cffi.readthedocs.org/"
|
|
|
|
license="MIT"
|
|
|
|
distfiles="${PYPI_SITE}/c/cffi/cffi-${version}.tar.gz"
|
2015-06-10 20:05:52 +02:00
|
|
|
checksum=390970b602708c91ddc73953bb6929e56291c18a4d80f360afa00fad8b6f3339
|
2015-01-19 01:02:45 +01:00
|
|
|
|
|
|
|
python3.4-cffi_package() {
|
|
|
|
depends="python3.4-pycparser"
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="cffi"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|