New package: python3.4-cairo-1.10.0; replaces pycairo

Add patch to build against python3.4.
This commit is contained in:
Alessio Sergi 2014-06-19 10:00:25 +02:00
parent 4be61d8a13
commit a0996ae717
5 changed files with 27 additions and 23 deletions

View file

@ -1 +0,0 @@
pycairo

View file

@ -1,22 +0,0 @@
# Template file for 'pycairo'
pkgname=pycairo
version=1.10.0
revision=3
build_style=waf3
hostmakedepends="pkg-config which"
makedepends="cairo-devel python3-devel>=3.3.2_2"
short_desc="Python3 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/$pkgname-$version.tar.bz2"
checksum=9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be
pycairo-devel_package() {
depends="python3-devel>=3.3.2_2 pycairo>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}

View file

@ -0,0 +1 @@
python3.4-cairo

View file

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