pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/py-fonttools Fix Python 2.6, disable 2.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d51c738b3a4
branches:  trunk
changeset: 561780:5d51c738b3a4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jul 16 15:11:37 2009 +0000

description:
Fix Python 2.6, disable 2.3.

diffstat:

 fonts/py-fonttools/Makefile         |   3 ++-
 fonts/py-fonttools/distinfo         |   3 ++-
 fonts/py-fonttools/patches/patch-aa |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r 4634e6471e72 -r 5d51c738b3a4 fonts/py-fonttools/Makefile
--- a/fonts/py-fonttools/Makefile       Thu Jul 16 14:59:19 2009 +0000
+++ b/fonts/py-fonttools/Makefile       Thu Jul 16 15:11:37 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2009/02/22 12:29:42 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2009/07/16 15:11:37 joerg Exp $
 #
 
 DISTNAME=              fonttools-2.2
@@ -12,6 +12,7 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
+PYTHON_VERSIONS_ACCEPTED=      26 25 24
 PYDISTUTILSPKG=                yes
 
 .include "../../lang/python/extension.mk"
diff -r 4634e6471e72 -r 5d51c738b3a4 fonts/py-fonttools/distinfo
--- a/fonts/py-fonttools/distinfo       Thu Jul 16 14:59:19 2009 +0000
+++ b/fonts/py-fonttools/distinfo       Thu Jul 16 15:11:37 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2009/02/22 12:29:42 wiz Exp $
+$NetBSD: distinfo,v 1.4 2009/07/16 15:11:37 joerg Exp $
 
 SHA1 (fonttools-2.2.tar.gz) = 7f4c63b4c42057a01552f54c392c0e9184e27df0
 RMD160 (fonttools-2.2.tar.gz) = 77aa0498acfe8eed19c02e558bd81afe2ff5f713
 Size (fonttools-2.2.tar.gz) = 336019 bytes
+SHA1 (patch-aa) = d02581b28337ada973b0788db1c267e2bf9d01b8
diff -r 4634e6471e72 -r 5d51c738b3a4 fonts/py-fonttools/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/py-fonttools/patches/patch-aa       Thu Jul 16 15:11:37 2009 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2009/07/16 15:11:37 joerg Exp $
+
+--- Lib/fontTools/ttLib/tables/ttProgram.py.orig       2009-07-16 17:07:23.000000000 +0200
++++ Lib/fontTools/ttLib/tables/ttProgram.py
+@@ -394,7 +394,7 @@ if __name__ == "__main__":
+       
+       p = Program()
+       p.fromBytecode(bc)
+-      as = p.getAssembly()
+-      p.fromAssembly(as)
++      as_ = p.getAssembly()
++      p.fromAssembly(as_)
+       print bc == p.getBytecode()
+ 



Home | Main Index | Thread Index | Old Index