void-packages/srcpkgs/python3.4-cairo/template

31 lines
898 B
Text

# Template file for 'python3.4-cairo'
pkgname=python3.4-cairo
version=1.10.0
revision=6
wrksrc="pycairo-${version}"
build_style=waf3
patch_args="-Np1"
hostmakedepends="pkg-config python3.4"
makedepends="cairo-devel python3.4-devel"
replaces="pycairo>=0"
short_desc="Python3.4 bindings for the cairo graphics library"
homepage="http://cairographics.org/pycairo/"
license="LGPL-3"
maintainer="Juan RP <xtraeme@gmail.com>"
update_pkgname=pycairo
distfiles="http://cairographics.org/releases/pycairo-${version}.tar.bz2"
checksum=9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be
do_configure() {
PYTHON=python3.4 python3.4 waf configure --prefix=/usr
}
python3.4-cairo-devel_package() {
depends="python3.4-devel ${sourcepkg}>=${version}_${revision}"
replaces="pycairo-devel>=0"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}