[arch-commits] Commit in python-cairo/trunk (PKGBUILD)

Stéphane Gaudreault stephane at archlinux.org
Wed Oct 3 01:10:17 UTC 2012


    Date: Tuesday, October 2, 2012 @ 21:10:17
  Author: stephane
Revision: 167694

upgpkg: python-cairo 1.10.0-2

rebuild for python 3.3.0

Modified:
  python-cairo/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-10-03 01:05:41 UTC (rev 167693)
+++ PKGBUILD	2012-10-03 01:10:17 UTC (rev 167694)
@@ -4,7 +4,7 @@
 
 pkgname=python-cairo
 pkgver=1.10.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Python bindings for the cairo graphics library"
 arch=('i686' 'x86_64')
 license=('LGPL3')
@@ -18,20 +18,12 @@
 build() {
   cd "${srcdir}/pycairo-${pkgver}"
 
-  # We patch the embedded copy of waf to fix compiling against python 3.2
-  # (due to PEP-3149), by using the appropriate python-config tool, rather
-  # than trying to find the libraries by directly using PYTHON_VERSION
-
   # Ensure that ./waf has created the cached unpacked version
   # of the wafadmin source tree.
   # This will be created to a subdirectory like
   #    .waf3-1.5.18-a7b91e2a913ce55fa6ecdf310df95752
-  python ./waf --version
+  python3 ./waf --version
 
-  # Patch the unpacked version of waf:
-  pushd .waf3*
-  popd
-
   ./waf configure --prefix=/usr
   ./waf build
 }




More information about the arch-commits mailing list