void-packages/srcpkgs/python-cairocffi/template

27 lines
776 B
Bash

# Template file for 'python-cairocffi'
pkgname=python-cairocffi
version=0.8.0
revision=2
noarch=yes
wrksrc="cairocffi-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools python-cffi python3-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=65f21e6786e2b255ab1d3fda53a365a3565bb1808cabbbe59d99a797c61d3545
python3-cairocffi_package() {
noarch=yes
depends="python3-cffi"
pycompile_module="cairocffi"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}