diff options
author | wiz <wiz@pkgsrc.org> | 2010-05-02 13:51:44 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-05-02 13:51:44 +0000 |
commit | dae51cf6d67e7648059c0cdfa0b62083b98c7e0d (patch) | |
tree | a068542bf5ff99fde162d5788303679327f1ac9e /lang | |
parent | ca695f32c8c6ee9c1d89f71c85c20ccbc766165b (diff) | |
download | pkgsrc-dae51cf6d67e7648059c0cdfa0b62083b98c7e0d.tar.gz |
Update to 0.9.9, set LICENSE.
0.9.9
-----
New features:
- C++ struct declarations, 'new' operator, and del for C++ delete.
- As well as the 'not None' modifier for extension type arguments, there
is now 'or None' to explicitly allow passing None. It is planned to make
'not None' the default in a future version. For now, a warning is issued
(once per Pyrex run) if you do not specify one or the other.
- Extension types may have a 'nogc' option to suppress GC support.
Modifications:
- Exceptions caught by an except clause are no longer put into the thread
state and cannot be retrieved using sys.exc_info(). To access the caught
exception, it must be bound to a name in the except clause. A third name
can be supplied to capture the traceback.
- PyString_InternFromString is now exposed under the name 'cintern' because
it is not a complete substitute for 'intern' (it can't handle strings
containing null bytes). [John Arbash Meinel]
- Disabled size check for cimported types because it was generating too
many false positives in the field.
- Added __fastcall calling convention. Also no longer assuming that an
unspecified calling convention is the same as __cdecl.
- Operations between signed and unsigned ints of the same size now have
an unsigned result.
- Py_ssize_t now ranked between long and long long.
- Declaration of __new__ in an extension type is now an error, in
preparation for introducing new semantics.
- Added size_t type, and made sizeof() return it.
Bug fixes:
- When casting the result of a function call to a Python type, the
function could be called twice. [David Martinez]
- __Pyx_GetException was not taking account of the fact that the traceback
could be NULL.
- sizeof(module.typename) did not work. [Daniele Pianu]
Diffstat (limited to 'lang')
-rw-r--r-- | lang/py-pyrex/Makefile | 5 | ||||
-rw-r--r-- | lang/py-pyrex/PLIST | 5 | ||||
-rw-r--r-- | lang/py-pyrex/distinfo | 9 | ||||
-rw-r--r-- | lang/py-pyrex/patches/patch-aa | 13 |
4 files changed, 25 insertions, 7 deletions
diff --git a/lang/py-pyrex/Makefile b/lang/py-pyrex/Makefile index 4279c59eeea..9b92cb401cf 100644 --- a/lang/py-pyrex/Makefile +++ b/lang/py-pyrex/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.18 2010/03/15 12:55:46 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2010/05/02 13:51:44 wiz Exp $ -DISTNAME= Pyrex-0.9.8.6 +DISTNAME= Pyrex-0.9.9 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/P/p/} CATEGORIES= lang python MASTER_SITES= http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ @@ -8,6 +8,7 @@ MASTER_SITES= http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ MAINTAINER= tsarna@NetBSD.org HOMEPAGE= http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ COMMENT= Language for Writing Python Extension Modules +LICENSE= apache-2.0 PKG_DESTDIR_SUPPORT= user-destdir diff --git a/lang/py-pyrex/PLIST b/lang/py-pyrex/PLIST index bfd3f9f97fd..2c80586ca1f 100644 --- a/lang/py-pyrex/PLIST +++ b/lang/py-pyrex/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2009/06/14 18:03:39 joerg Exp $ +@comment $NetBSD: PLIST,v 1.8 2010/05/02 13:51:44 wiz Exp $ bin/pyrexc ${PYSITELIB}/Pyrex/Compiler/Builtin.py ${PYSITELIB}/Pyrex/Compiler/Builtin.pyc @@ -18,6 +18,9 @@ ${PYSITELIB}/Pyrex/Compiler/Errors.pyo ${PYSITELIB}/Pyrex/Compiler/ExprNodes.py ${PYSITELIB}/Pyrex/Compiler/ExprNodes.pyc ${PYSITELIB}/Pyrex/Compiler/ExprNodes.pyo +${PYSITELIB}/Pyrex/Compiler/Filenames.py +${PYSITELIB}/Pyrex/Compiler/Filenames.pyc +${PYSITELIB}/Pyrex/Compiler/Filenames.pyo ${PYSITELIB}/Pyrex/Compiler/Lexicon.pickle ${PYSITELIB}/Pyrex/Compiler/Lexicon.py ${PYSITELIB}/Pyrex/Compiler/Lexicon.pyc diff --git a/lang/py-pyrex/distinfo b/lang/py-pyrex/distinfo index a871ad395a5..147471944a6 100644 --- a/lang/py-pyrex/distinfo +++ b/lang/py-pyrex/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.10 2010/03/15 12:55:46 wiz Exp $ +$NetBSD: distinfo,v 1.11 2010/05/02 13:51:44 wiz Exp $ -SHA1 (Pyrex-0.9.8.6.tar.gz) = 8411d712d2e9157e795593ed5c4cc76b0ede1776 -RMD160 (Pyrex-0.9.8.6.tar.gz) = f10b719c1570ef95fdf7158413bdcc7d6f4b1348 -Size (Pyrex-0.9.8.6.tar.gz) = 246713 bytes +SHA1 (Pyrex-0.9.9.tar.gz) = 7ed91685dd0bb7f06474b7ad915a7cac4177fa67 +RMD160 (Pyrex-0.9.9.tar.gz) = e703edf68bcb4afc31e70d5cebac2304a59460fb +Size (Pyrex-0.9.9.tar.gz) = 255272 bytes +SHA1 (patch-aa) = a073422027ad352d5bf3a38bccd72168e79da775 diff --git a/lang/py-pyrex/patches/patch-aa b/lang/py-pyrex/patches/patch-aa new file mode 100644 index 00000000000..ca76f8abcc7 --- /dev/null +++ b/lang/py-pyrex/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2010/05/02 13:51:44 wiz Exp $ + +--- bin/pyxcc.orig 2010-04-11 09:39:38.000000000 +0000 ++++ bin/pyxcc +@@ -1,7 +1,7 @@ + #!/bin/sh + export MACOSX_DEPLOYMENT_TARGET=10.3 + ver=2.3 +-if [ $1 == -p ]; then ++if [ $1 = -p ]; then + ver=$2 + shift 2 + fi |