[59138] trunk/dports/print/fonttools

snc at macports.org snc at macports.org
Fri Oct 9 23:18:36 PDT 2009


Revision: 59138
          http://trac.macports.org/changeset/59138
Author:   snc at macports.org
Date:     2009-10-09 23:18:33 -0700 (Fri, 09 Oct 2009)
Log Message:
-----------
updated version, switch to python26, ticket #21726

Modified Paths:
--------------
    trunk/dports/print/fonttools/Portfile

Added Paths:
-----------
    trunk/dports/print/fonttools/files/patch-setup.py.diff

Removed Paths:
-------------
    trunk/dports/print/fonttools/files/patch-Lib-fontTools-ttLib-sfnt.py

Modified: trunk/dports/print/fonttools/Portfile
===================================================================
--- trunk/dports/print/fonttools/Portfile	2009-10-10 05:58:48 UTC (rev 59137)
+++ trunk/dports/print/fonttools/Portfile	2009-10-10 06:18:33 UTC (rev 59138)
@@ -1,11 +1,11 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem			1.0
-PortGroup			python24 1.0
+PortGroup			python26 1.0
 
 name            	fonttools
-version         	2.0b1
-revision			1
+version         	2.2
 description     	XML<->TrueType/OpenType Converter
 long_description	TTX is a tool to convert OpenType and TrueType fonts to \
 					and from XML. FontTools is a library for manipulating \
@@ -16,13 +16,22 @@
 maintainers     	kallisys.net:pguyot
 homepage			http://www.letterror.com/code/ttx/
 master_sites		sourceforge
-extract.suffix		.tgz
-checksums			md5 f9eb9fcb994af6537e10692f14c2778c \
-					sha1 3d67701a9251aa9ab12d3ecf2d600c59a99761a9 \
-					rmd160 8634f66b3a643edad9eba4a7da130def3d3cce4b
-worksrcdir			${name}
-depends_build		port:py-numeric
+checksums			md5     639c68113cc04e8f30ae8997d6cc480a \
+					sha1    7f4c63b4c42057a01552f54c392c0e9184e27df0 \
+					rmd160  77aa0498acfe8eed19c02e558bd81afe2ff5f713
+depends_build		port:py26-numeric
 
-patchfiles			patch-Lib-fontTools-ttLib-sfnt.py
+patchfiles			patch-setup.py.diff
 
+post-destroot {
+	foreach binfile [glob -tails -directory ${destroot}${python.prefix}/bin *] {
+		ln -s ${python.prefix}/bin/${binfile} \
+			${destroot}${prefix}/bin/${binfile}
+	}
+	foreach manfile [glob -tails -directory ${destroot}${python.prefix}/share/man/man1 *] {
+		ln -s ${python.prefix}/share/man/man1/${manfile} \
+			${destroot}${prefix}/share/man/man1/${manfile}
+	}
+}
+
 livecheck.regex	<title>FontTools/TTX Source Code (.*) released.*</title>

Deleted: trunk/dports/print/fonttools/files/patch-Lib-fontTools-ttLib-sfnt.py
===================================================================
--- trunk/dports/print/fonttools/files/patch-Lib-fontTools-ttLib-sfnt.py	2009-10-10 05:58:48 UTC (rev 59137)
+++ trunk/dports/print/fonttools/files/patch-Lib-fontTools-ttLib-sfnt.py	2009-10-10 06:18:33 UTC (rev 59138)
@@ -1,11 +0,0 @@
---- Lib/fontTools/ttLib/sfnt.py	2002-09-11 04:43:18.000000000 +0900
-+++ Lib/fontTools/ttLib/sfnt.py.new	2006-10-28 20:19:08.000000000 +0900
-@@ -149,6 +149,8 @@
- 		
- 		checksums[-1] = calcChecksum(directory)
- 		checksum = Numeric.add.reduce(checksums)
-+		if checksum < 0:
-+			checksum += 0x100000000
- 		# BiboAfba!
- 		checksumadjustment = Numeric.array(0xb1b0afba) - checksum
- 		# write the checksum to the file

Added: trunk/dports/print/fonttools/files/patch-setup.py.diff
===================================================================
--- trunk/dports/print/fonttools/files/patch-setup.py.diff	                        (rev 0)
+++ trunk/dports/print/fonttools/files/patch-setup.py.diff	2009-10-10 06:18:33 UTC (rev 59138)
@@ -0,0 +1,10 @@
+--- setup.py.orig	2008-05-18 00:15:11.000000000 -0600
++++ setup.py	2009-09-30 15:52:20.000000000 -0600
+@@ -99,6 +99,6 @@
+ 		],
+ 		scripts = ["Tools/ttx"],
+ 		cmdclass = {"build_ext": build_ext_optional},
+-		data_files = [('man/man1', ["Doc/ttx.1"])],
++		data_files = [('share/man/man1', ["Doc/ttx.1"])],
+ 		**classifiers
+ 	)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091009/637ef271/attachment.html>


More information about the macports-changes mailing list