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

31 lines
881 B
Plaintext

# Template file for 'python3.4-cairo'
pkgname=python3.4-cairo
version=1.10.0
revision=5
wrksrc="pycairo-${version}"
build_style=waf3
patch_args="-Np1"
hostmakedepends="pkg-config which 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>"
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
}
}