New package: python-cairo-1.10.0; replaces py2cairo

This commit is contained in:
Alessio Sergi 2014-06-19 10:10:10 +02:00
parent a0996ae717
commit 8423552abc
4 changed files with 11 additions and 9 deletions

View file

@ -1 +0,0 @@
py2cairo

1
srcpkgs/python-cairo-devel Symbolic link
View file

@ -0,0 +1 @@
python-cairo

View file

@ -1,19 +1,20 @@
# Template file for 'py2cairo'
pkgname=py2cairo
# Template file for 'python-cairo'
pkgname=python-cairo
version=1.10.0
revision=3
revision=4
lib32disabled=yes
wrksrc="py2cairo-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config which python-devel"
makedepends="cairo-devel python-devel"
depends="python"
replaces="pycairo<1.10"
depends="python>=2.7"
replaces="pycairo<1.10 py2cairo>=0"
pycompile_module="cairo"
short_desc="Python2 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"
distfiles="http://cairographics.org/releases/py2cairo-${version}.tar.bz2"
checksum=d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431
pre_configure() {
@ -30,9 +31,9 @@ do_configure() {
env PYTHON=python ./configure ${configure_args}
}
py2cairo-devel_package() {
python-cairo-devel_package() {
lib32disabled=yes
replaces="pycairo-devel<1.10"
replaces="pycairo-devel<1.10 py2cairo-devel>=0"
depends="python-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
@ -40,3 +41,4 @@ py2cairo-devel_package() {
vmove usr/lib/pkgconfig
}
}