void-packages/srcpkgs/python-cffi/template

28 lines
819 B
Text
Raw Normal View History

2015-01-19 00:02:45 +00:00
# Template file for 'python-cffi'
pkgname=python-cffi
2015-03-10 12:01:01 +00:00
version=0.9.1
2015-03-10 14:31:30 +00:00
revision=2
2015-01-19 00:02:45 +00: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-03-10 12:01:01 +00:00
checksum=8eba3d02fd88c49774418e790f1994258666d4cbd2c064038f295fa151a88740
2015-01-19 00:02:45 +00: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
}
}