Date: Thu, 20 Apr 2006 12:28:25 +0000 (UTC) From: Piet Delport <pjd@satori.za.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: perky@FreeBSD.org Subject: ports/96098: Upgrade devel/pyrex from 0.9.3_1 to 0.9.4 Message-ID: <20060420122825.325B96215@odin.cheetah-is.co.za> Resent-Message-ID: <200604201230.k3KCUNAi048713@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 96098 >Category: ports >Synopsis: Upgrade devel/pyrex from 0.9.3_1 to 0.9.4 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Apr 20 12:30:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Piet Delport >Release: >Organization: >Environment: >Description: >How-To-Repeat: >Fix: (Maintainer CC'd.) Release announcement: http://lists.copyleft.no/pipermail/pyrex/2006-April/001708.html Changelog: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/version/CHANGES.txt This is mostly a straightforward update of the port, with the following changes: * removed the post-patch target, which is not needed anymore * replaced the build_ext.py patch (which also isn't needed anymore) with a different patch[1] to the same file, which fixes a trivial indentation bug that slipped into the official release [1] http://lists.copyleft.no/pipermail/pyrex/2006-April/001713.html --- pyrex-0.9.4.patch begins here --- diff -ruN /usr/ports/devel/pyrex/Makefile pyrex/Makefile --- /usr/ports/devel/pyrex/Makefile Sat Feb 19 20:27:31 2005 +++ pyrex/Makefile Thu Apr 20 11:54:41 2006 @@ -6,8 +6,7 @@ # PORTNAME= pyrex -PORTVERSION= 0.9.3 -PORTREVISION= 1 +PORTVERSION= 0.9.4 CATEGORIES= devel lang python MASTER_SITES= http://nz.cosc.canterbury.ac.nz/~greg/python/Pyrex/ PKGNAMEPREFIX= ${PYTHONPKGNAMEPREFIX} @@ -19,16 +18,6 @@ USE_PYTHON= yes USE_PYDISTUTILS=yes USE_REINPLACE= yes - -post-patch: - @${REINPLACE_CMD} -e 's|^PYINCLUDE =.*|PYINCLUDE=${PYTHON_INCLUDEDIR}|g' \ - -e 's|\.\./py|${PREFIX}/bin/py|g' ${WRKSRC}/Demos/Makefile - @${REINPLACE_CMD} -e 's|sys.platform in ("unix", "darwin")|1|g'\ - ${WRKSRC}/setup.py - @${REINPLACE_CMD} -e 's|from Plex|from Pyrex.Plex|g' \ - ${WRKSRC}/Pyrex/Compiler/Lexicon.py - @${RM} -f ${WRKSRC}/Demos/Makefile.bak - @${FIND} ${WRKSRC} -name .DS_Store | ${XARGS} ${RM} -f post-install: @# precompile lexicon pickle diff -ruN /usr/ports/devel/pyrex/distinfo pyrex/distinfo --- /usr/ports/devel/pyrex/distinfo Sun Jan 22 10:29:57 2006 +++ pyrex/distinfo Thu Apr 20 11:38:03 2006 @@ -1,3 +1,3 @@ -MD5 (Pyrex-0.9.3.tar.gz) = 63c4cb884d6b777d3806f9669ba5feba -SHA256 (Pyrex-0.9.3.tar.gz) = 64e475924df3d55b7d1f9b17b7c088713917ed611de0fc2ee02394aa5ba9ab9a -SIZE (Pyrex-0.9.3.tar.gz) = 176072 +MD5 (Pyrex-0.9.4.tar.gz) = 9afab3de2dd16da97f482b2dc16fdd46 +SHA256 (Pyrex-0.9.4.tar.gz) = 8baf53037a6e42ce77fb31d0e7f2795f6ebd84437248b503ca3639daccce65e7 +SIZE (Pyrex-0.9.4.tar.gz) = 183983 diff -ruN /usr/ports/devel/pyrex/files/patch-Pyrex::Distutils::build_ext.py pyrex/files/patch-Pyrex::Distutils::build_ext.py --- /usr/ports/devel/pyrex/files/patch-Pyrex::Distutils::build_ext.py Sun Dec 5 05:17:37 2004 +++ pyrex/files/patch-Pyrex::Distutils::build_ext.py Tue Apr 18 11:35:33 2006 @@ -1,11 +1,13 @@ ---- Pyrex/Distutils/build_ext.py.orig Sun Dec 5 12:11:14 2004 -+++ Pyrex/Distutils/build_ext.py Sun Dec 5 12:11:41 2004 -@@ -32,7 +32,7 @@ - if self.compiler == 'mingw32': - self.swig_cpp = 1 - -- def swig_sources (self, sources): -+ def swig_sources (self, sources, extension=None): # workaround for 2.4 compat - if not self.extensions: - return +--- Pyrex/Distutils/build_ext.py.orig 2006-04-18 08:24:19.000000000 +0200 ++++ Pyrex/Distutils/build_ext.py 2006-04-18 08:24:19.000000000 +0200 +@@ -65,8 +65,8 @@ + return [replace_suffix(src, suffix) for src in pyx_sources] + other_sources + def pyrex_compile(self, source): +- options = CompilationOptions(default_options, +- include_path = self.include_dirs) ++ options = CompilationOptions(default_options, ++ include_path = self.include_dirs) + result = compile(source, options) + if result.num_errors <> 0: + sys.exit(1) --- pyrex-0.9.4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060420122825.325B96215>