void-packages/srcpkgs/python-cairocffi/template

29 lines
809 B
Bash
Raw Normal View History

2015-01-27 18:06:00 +01:00
# Template file for 'python-cairocffi'
pkgname=python-cairocffi
version=0.6
revision=1
noarch=yes
wrksrc="cairocffi-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
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=d14ea9daed510259717209ed9e2f68503fcbcbcf00c2c4f31b446b001ae109c0
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
}
}