void-packages/srcpkgs/python-cairocffi/template
2015-06-10 20:10:20 +02:00

28 lines
836 B
Bash

# Template file for 'python-cairocffi'
pkgname=python-cairocffi
version=0.7
revision=1
noarch=yes
wrksrc="cairocffi-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools python-cffi python3.4-cffi"
depends="python-cffi"
pycompile_module="cairocffi"
short_desc="CFFI-based cairo bindings for Python2"
homepage="https://github.com/SimonSapin/cairocffi"
license="BSD"
maintainer="Alessio Sergi <al3hex@gmail.com>"
distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
checksum=99ee6504fa666af2a5ea151d4a9ff5ee32644692b6784b47589a4f8f041c0576
python3.4-cairocffi_package() {
noarch=yes
depends="python3.4-cffi"
pycompile_version="3.4"
pycompile_module="cairocffi"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}