Hi,

This patch is an update to py-cairo 1.8.6.  Since our default python
version is 2.5, I relaxed the python2.6 requirement which is not
technically needed (discussed with upstream).

comments, ok?

Eric.

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/py-cairo/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile    26 Apr 2009 11:01:04 -0000      1.17
+++ Makefile    30 Jun 2009 08:39:07 -0000
@@ -2,9 +2,9 @@
 
 COMMENT=       cairo bindings for Python
 
-VERSION=       1.8.2
+VERSION=       1.8.6
 DISTNAME=      pycairo-${VERSION}
-PKGNAME=       py-cairo-${VERSION}p0
+PKGNAME=       py-cairo-${VERSION}
 CATEGORIES=    graphics
 
 HOMEPAGE=      http://cairographics.org/pycairo/
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/py-cairo/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo    16 Feb 2009 14:48:53 -0000      1.6
+++ distinfo    30 Jun 2009 08:39:07 -0000
@@ -1,5 +1,5 @@
-MD5 (pycairo-1.8.2.tar.gz) = u/wML+8I37DFuLql8LZ6hw==
-RMD160 (pycairo-1.8.2.tar.gz) = zkimtxuALwfQ4NPPoUD9Oatf5Nc=
-SHA1 (pycairo-1.8.2.tar.gz) = tFeUnM+jr4Kvz/roo5ahyECpQoo=
-SHA256 (pycairo-1.8.2.tar.gz) = d6jL44j9ZoJQVnRPL8XFizr8JHdIvCx3d1HMDC6zCi8=
-SIZE (pycairo-1.8.2.tar.gz) = 519064
+MD5 (pycairo-1.8.6.tar.gz) = 0Qpo+I2gpqAoZL+PDCXuTQ==
+RMD160 (pycairo-1.8.6.tar.gz) = goGlXSoc+Y59nYyG7Z5ofg5BBRM=
+SHA1 (pycairo-1.8.6.tar.gz) = IodyAXoR8Pvy22NVlknNPH2feZY=
+SHA256 (pycairo-1.8.6.tar.gz) = Wt+/EpV1rF6YtgYkL2kpAXRkaMZtUhve5Ll0gRpaGyg=
+SIZE (pycairo-1.8.6.tar.gz) = 538013
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/graphics/py-cairo/patches/patch-configure,v
retrieving revision 1.3
diff -u -p -r1.3 patch-configure
--- patches/patch-configure     16 Feb 2009 14:48:53 -0000      1.3
+++ patches/patch-configure     30 Jun 2009 08:39:07 -0000
@@ -1,6 +1,42 @@
 $OpenBSD: patch-configure,v 1.3 2009/02/16 14:48:53 eric Exp $
---- configure.orig     Thu Jan 15 10:37:36 2009
-+++ configure  Tue Jan 20 10:53:17 2009
+--- configure.orig     Thu Mar 19 09:46:52 2009
++++ configure  Fri Jun 12 13:59:48 2009
+@@ -19941,12 +19941,12 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+ 
+         if test -n "$PYTHON"; then
+       # If the user set $PYTHON, use it and don't search something else.
+-      { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.6" >&5
+-$as_echo_n "checking whether $PYTHON version >= 2.6... " >&6; }
++      { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.5" >&5
++$as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
+       prog="import sys, string
+ # split strings by '.' and convert to numeric.  Append some zeros
+ # because we need at least 4 digits for the hex conversion.
+-minver = map(int, string.split('2.6', '.')) + [0, 0, 0]
++minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
+ minverhex = 0
+ for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
+ sys.exit(sys.hexversion < minverhex)"
+@@ -19967,8 +19967,8 @@ fi
+     else
+       # Otherwise, try each interpreter until we find one that satisfies
+       # VERSION.
+-      { $as_echo "$as_me:$LINENO: checking for a Python interpreter with 
version >= 2.6" >&5
+-$as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
++      { $as_echo "$as_me:$LINENO: checking for a Python interpreter with 
version >= 2.5" >&5
++$as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
+ if test "${am_cv_pathless_PYTHON+set}" = set; then
+   $as_echo_n "(cached) " >&6
+ else
+@@ -19978,7 +19978,7 @@ else
+         prog="import sys, string
+ # split strings by '.' and convert to numeric.  Append some zeros
+ # because we need at least 4 digits for the hex conversion.
+-minver = map(int, string.split('2.6', '.')) + [0, 0, 0]
++minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
+ minverhex = 0
+ for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
+ sys.exit(sys.hexversion < minverhex)"
 @@ -20125,7 +20125,7 @@ $as_echo "$am_cv_python_pyexecdir" >&6; }
  # Checks for libraries ---
  

Reply via email to