[arch-commits] Commit in (6 files)

Jan de Groot jgc at archlinux.org
Tue Dec 7 11:29:11 UTC 2010


    Date: Tuesday, December 7, 2010 @ 06:29:11
  Author: jgc
Revision: 102345

Add python3 cairo bindings

Added:
  python-cairo/
  python-cairo/repos/extra-i686/
  python-cairo/repos/extra-x86_64/
Modified:
  python-cairo/trunk/PKGBUILD
Deleted:
  python-cairo/repos/extra-i686/
  python-cairo/repos/extra-x86_64/

----------+
 PKGBUILD |   21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

Modified: python-cairo/trunk/PKGBUILD
===================================================================
--- python2-cairo/trunk/PKGBUILD	2010-12-07 11:21:30 UTC (rev 102340)
+++ python-cairo/trunk/PKGBUILD	2010-12-07 11:29:11 UTC (rev 102345)
@@ -1,28 +1,25 @@
 # $Id$
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
-pkgname=python2-cairo
+pkgname=python-cairo
 pkgver=1.8.10
 pkgrel=1
-pkgdesc="Python2 bindings for the cairo graphics library"
+pkgdesc="Python bindings for the cairo graphics library"
 arch=('i686' 'x86_64')
-license=('LGPL' 'MPL')
-depends=('python2' 'cairo')
+license=('LGPL3')
+depends=('python' 'cairo')
 options=('!libtool')
-provides=("pycairo=${pkgver}")
-conflicts=('pycairo')
-replaces=('pycairo')
-source=(http://cairographics.org/releases/py2cairo-${pkgver}.tar.gz)
+source=(http://cairographics.org/releases/pycairo-${pkgver}.tar.bz2)
 url="http://www.cairographics.org/pycairo"
-md5sums=('87421a6a70304120555ba7ba238f3dc3')
+md5sums=('ddc544943d791e3c22ca8f019e10e1e3')
 
 build() {
   cd "${srcdir}/pycairo-${pkgver}"
-  PYTHON=python2 ./configure --prefix=/usr
-  make
+  ./waf configure --prefix=/usr
+  ./waf build
 }
 
 package() {
   cd "${srcdir}/pycairo-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  ./waf install --destdir="${pkgdir}"
 }




More information about the arch-commits mailing list