From 8423552abcb3dd1104bb505e5861af99095b7e68 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 19 Jun 2014 10:10:10 +0200 Subject: [PATCH] New package: python-cairo-1.10.0; replaces py2cairo --- srcpkgs/py2cairo-devel | 1 - srcpkgs/python-cairo-devel | 1 + .../files/python-config | 0 srcpkgs/{py2cairo => python-cairo}/template | 18 ++++++++++-------- 4 files changed, 11 insertions(+), 9 deletions(-) delete mode 120000 srcpkgs/py2cairo-devel create mode 120000 srcpkgs/python-cairo-devel rename srcpkgs/{py2cairo => python-cairo}/files/python-config (100%) rename srcpkgs/{py2cairo => python-cairo}/template (74%) diff --git a/srcpkgs/py2cairo-devel b/srcpkgs/py2cairo-devel deleted file mode 120000 index a369316176..0000000000 --- a/srcpkgs/py2cairo-devel +++ /dev/null @@ -1 +0,0 @@ -py2cairo \ No newline at end of file diff --git a/srcpkgs/python-cairo-devel b/srcpkgs/python-cairo-devel new file mode 120000 index 0000000000..ec8e8d1f18 --- /dev/null +++ b/srcpkgs/python-cairo-devel @@ -0,0 +1 @@ +python-cairo \ No newline at end of file diff --git a/srcpkgs/py2cairo/files/python-config b/srcpkgs/python-cairo/files/python-config similarity index 100% rename from srcpkgs/py2cairo/files/python-config rename to srcpkgs/python-cairo/files/python-config diff --git a/srcpkgs/py2cairo/template b/srcpkgs/python-cairo/template similarity index 74% rename from srcpkgs/py2cairo/template rename to srcpkgs/python-cairo/template index 2f49215d03..8c68612ac7 100644 --- a/srcpkgs/py2cairo/template +++ b/srcpkgs/python-cairo/template @@ -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 " -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 } } +