2014-06-19 08:00:25 +00:00
|
|
|
# Template file for 'python3.4-cairo'
|
|
|
|
pkgname=python3.4-cairo
|
|
|
|
version=1.10.0
|
2014-12-19 10:01:47 +00:00
|
|
|
revision=6
|
2014-06-19 08:00:25 +00:00
|
|
|
wrksrc="pycairo-${version}"
|
|
|
|
build_style=waf3
|
|
|
|
patch_args="-Np1"
|
2014-12-19 10:01:47 +00:00
|
|
|
hostmakedepends="pkg-config python3.4"
|
2014-06-19 08:00:25 +00:00
|
|
|
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>"
|
2014-11-27 07:50:39 +00:00
|
|
|
update_pkgname=pycairo
|
2014-06-19 08:00:25 +00:00
|
|
|
distfiles="http://cairographics.org/releases/pycairo-${version}.tar.bz2"
|
|
|
|
checksum=9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be
|
|
|
|
|
2014-06-24 21:34:24 +00:00
|
|
|
do_configure() {
|
|
|
|
PYTHON=python3.4 python3.4 waf configure --prefix=/usr
|
|
|
|
}
|
|
|
|
|
2014-06-19 08:00:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|