FreeBSD Bugzilla – Attachment 64689 Details for
Bug 96098
Upgrade devel/pyrex from 0.9.3_1 to 0.9.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pyrex-0.9.4.patch
pyrex-0.9.4.patch (text/plain), 2.74 KB, created by
Piet Delport
on 2006-04-20 13:30:20 UTC
(
hide
)
Description:
pyrex-0.9.4.patch
Filename:
MIME Type:
Creator:
Piet Delport
Created:
2006-04-20 13:30:20 UTC
Size:
2.74 KB
patch
obsolete
>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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 96098
: 64689