pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/py-pyrex Update to py-pyrex-0.9.6.4 for Python 2....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f6e172f2320
branches:  trunk
changeset: 541769:4f6e172f2320
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Apr 25 17:37:56 2008 +0000

description:
Update to py-pyrex-0.9.6.4 for Python 2.5 support.

0.9.6.4
-------
Enhancements:
  - Functions declared with_gil and external functions declared nogil
    are now allowed to have Python arguments and return types.
0.9.6.3
-------
Enhancements:
  - C API now only uses a single name in the module namespace
    instead of one for each exported C function. [Stefan Behnel]
  - Multiple declarations with the same visibility and api options
    can now be grouped into a 'cdef' block.
  - The 'api' keyword can now be used on extension types to cause
    generation of an api.h file when there are no exported C functions.
  - Added a getattr3() builtin for the three-argument form of getattr.
0.9.6
-----
New Features:
  - Top-level C functions defined in one module can now be used in
    another via cimport, and a C API can be produced to allow them
    to be used from C code without linking to the extension module.
    See "Interfacing with External C Code" and "Sharing Declarations
    between Pyrex Modules" in the Language Overview. [Stefan Behnel]
  - Facilities added for releasing the GIL around a section of code
    and acquiring it on entry to a C function. See "Acquiring and
    Releasing the GIL under "Interfacing with External C Code" in
    the Language Overview. [Ulisses Furquim, Stefan Behnel]
  - Some conditional compilation facilities have been added. See
    "Conditional Compilation" under "Language Basics" in the
    Language Overview. [Sam Rushing]
Language Changes:
  - The __new__ special method of extension types is being renamed
    to "__cinit__". For now, you will get a warning whenever you
    declare a __new__ method for an extension type, and it will
    automatically be renamed to __cinit__ for you. In the next
    release, the warning will become an error and no renaming will
    occur. In some later release, the __new__ method may be
    re-introduced with different semantics. It is recommended that
    you begin updating your sources now to use __cinit__.
  - A 'raise' statement with no arguments (i.e. to re-raise the
    last exception caught) is now required to be lexically within
    the 'except' clause which caught the exception. This change was
    necessary to efficiently support preserving the exception if an
    intervening call raises and catches a different exception.
  - The following new reserved words have been added:
      with, DEF, IF, ELIF, ELSE
Enhancements:
  - Calls to many of the builtin functions are now compiled as
    direct calls to Python/C API routines.
  -     A C type explicitly declared as 'signed' is represented as
    such in the generated code, to acommodate platforms where
    'char' is unsigned by default. [Francesc Altet]
  - Python function can now have an argument of type "unsigned
    char". [Alexander Belchenko]
  - A new Pyrex.Distutils implementation has been added, which
    exports an Extension type supporting the following options:
      pyrex_include_dirs - list of dirs to search for Pyrex header files
      pyrex_create_listing_file - bool - write errs to listing file
      pyrex_cplus - bool - generate C++ code
      pyrex_c_in_temp - bool - put generated C files in temp dir
      pyrex_gen_pxi - bool - generate .pxi file for public declarations
    [Contributed by Billie G. Allie]
  - Assert statements can be compiled out by arranging for
    PYREX_WITHOUT_ASSERTIONS to be #defined at C compilation time.
    [Contributed by Stefan Behnel]
  - Support for __index__ slot added to extension types.
    [William Stein]
  - Exception types now properly checked according to pre or post
    2.5 rules as appropriate.
  - Py_ssize_t support added. [Stefan Behnel]
  - Windows __stdcall and __decl qualifiers now supported.
    [Suggested by Eric Devolder]
  - Keyword-only argument support added. [Suggested by Stefan Behnel]
  - An 'include' statement can now appear anywhere that another kind
    of statement or declaration can appear, instead of being restricted
    to the top level. [Caio Marcelo]
  - Unnecessary PyErr_Occurred() call to check result of
    PyString_AsString() no longer made.
  - Complicated C types are displayed more readably in error messages.
Modifications:
  - A Python function argument declared as "char" or "unsigned
    char" now expects a Python integer rather than a string of
    length 1, for consistency with the way automatic conversions
    are done elsewhere.
  - Support for string and tuple exceptions dropped.
0.9.5.1
-------
Modifications:
  - NULL in Pyrex source now translated into NULL instead of 0
    in C code, to allow for the possibility of calling something
    not defined with a prototype in an external header. [Adapted Cat]
0.9.5
-----
Enhancements:
  - Exception return values may now be specified by arbitrary
    constant expressions of appropriate type, not just literals.
    [Stefan Behnel]
  - Redundant type check now omitted when passing a literal None
    to a function expecting an extension type. [Patch by Sam Rushing]
  - New-style classes now allowed as exceptions for compatibility
    with Python 2.5 (inheritance from BaseException not currently
    checked). [Stefan Behnel]
  - Sequence unpacking is now done using the iterator protocol
    instead of indexing.
  - Allocation of an empty tuple is avoided when making a
    Python call with no arguments. [Stefan Behnel]
  - Most warnings about unused variables and labels have been
    eliminated.
  - Support for running the test suite on Linux added but not
    yet fully tested. [Based in part on patch by Eric Wald].
  - Makefile included for compiling the patched Carbon File module
    used by the MacOSX test code.
Modifications:
  - Type rules for enums tightened for compatibility with C++.
  - Direct assignment from float to int disallowed to prevent
    C++ compilation warnings.
  - Hex literals left as hex in C code to avoid warnings from
    the C compiler about decimal constants becoming unsigned.

diffstat:

 lang/py-pyrex/Makefile |   6 ++----
 lang/py-pyrex/PLIST    |  40 +++++++++++++++++++++++++++-------------
 lang/py-pyrex/distinfo |   8 ++++----
 3 files changed, 33 insertions(+), 21 deletions(-)

diffs (126 lines):

diff -r 6100ebfe5664 -r 4f6e172f2320 lang/py-pyrex/Makefile
--- a/lang/py-pyrex/Makefile    Fri Apr 25 17:16:40 2008 +0000
+++ b/lang/py-pyrex/Makefile    Fri Apr 25 17:37:56 2008 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2007/07/01 16:42:56 heinz Exp $
+# $NetBSD: Makefile,v 1.16 2008/04/25 17:37:56 tnn Exp $
 
-DISTNAME=      Pyrex-0.9.4.1
+DISTNAME=      Pyrex-0.9.6.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/P/p/}
 CATEGORIES=    lang python
 MASTER_SITES=  http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
@@ -11,8 +11,6 @@
 
 PKG_DESTDIR_SUPPORT=           user-destdir
 
-PYTHON_VERSIONS_ACCEPTED=      24 23 22
-
 PYDISTUTILSPKG=        yes
 
 .include "../../lang/python/extension.mk"
diff -r 6100ebfe5664 -r 4f6e172f2320 lang/py-pyrex/PLIST
--- a/lang/py-pyrex/PLIST       Fri Apr 25 17:16:40 2008 +0000
+++ b/lang/py-pyrex/PLIST       Fri Apr 25 17:37:56 2008 +0000
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.5 2004/08/19 20:44:31 recht Exp $
+@comment $NetBSD: PLIST,v 1.6 2008/04/25 17:37:56 tnn Exp $
 bin/pyrexc
+${PYSITELIB}/Pyrex/Compiler/Builtin.py
+${PYSITELIB}/Pyrex/Compiler/Builtin.pyc
+${PYSITELIB}/Pyrex/Compiler/Builtin.pyo
 ${PYSITELIB}/Pyrex/Compiler/CmdLine.py
 ${PYSITELIB}/Pyrex/Compiler/CmdLine.pyc
 ${PYSITELIB}/Pyrex/Compiler/CmdLine.pyo
@@ -22,6 +25,9 @@
 ${PYSITELIB}/Pyrex/Compiler/Main.py
 ${PYSITELIB}/Pyrex/Compiler/Main.pyc
 ${PYSITELIB}/Pyrex/Compiler/Main.pyo
+${PYSITELIB}/Pyrex/Compiler/ModuleNode.py
+${PYSITELIB}/Pyrex/Compiler/ModuleNode.pyc
+${PYSITELIB}/Pyrex/Compiler/ModuleNode.pyo
 ${PYSITELIB}/Pyrex/Compiler/Naming.py
 ${PYSITELIB}/Pyrex/Compiler/Naming.pyc
 ${PYSITELIB}/Pyrex/Compiler/Naming.pyo
@@ -61,33 +67,33 @@
 ${PYSITELIB}/Pyrex/Distutils/build_ext.py
 ${PYSITELIB}/Pyrex/Distutils/build_ext.pyc
 ${PYSITELIB}/Pyrex/Distutils/build_ext.pyo
+${PYSITELIB}/Pyrex/Distutils/extension.py
+${PYSITELIB}/Pyrex/Distutils/extension.pyc
+${PYSITELIB}/Pyrex/Distutils/extension.pyo
+${PYSITELIB}/Pyrex/DistutilsOld/__init__.py
+${PYSITELIB}/Pyrex/DistutilsOld/__init__.pyc
+${PYSITELIB}/Pyrex/DistutilsOld/__init__.pyo
+${PYSITELIB}/Pyrex/DistutilsOld/build_ext.py
+${PYSITELIB}/Pyrex/DistutilsOld/build_ext.pyc
+${PYSITELIB}/Pyrex/DistutilsOld/build_ext.pyo
 ${PYSITELIB}/Pyrex/Mac/DarwinSystem.py
 ${PYSITELIB}/Pyrex/Mac/DarwinSystem.pyc
 ${PYSITELIB}/Pyrex/Mac/DarwinSystem.pyo
-${PYSITELIB}/Pyrex/Mac/Finder_Std_Suite.py
-${PYSITELIB}/Pyrex/Mac/Finder_Std_Suite.pyc
-${PYSITELIB}/Pyrex/Mac/Finder_Std_Suite.pyo
-${PYSITELIB}/Pyrex/Mac/MPW_Misc_Suite.py
-${PYSITELIB}/Pyrex/Mac/MPW_Misc_Suite.pyc
-${PYSITELIB}/Pyrex/Mac/MPW_Misc_Suite.pyo
 ${PYSITELIB}/Pyrex/Mac/MacSystem.py
 ${PYSITELIB}/Pyrex/Mac/MacSystem.pyc
 ${PYSITELIB}/Pyrex/Mac/MacSystem.pyo
 ${PYSITELIB}/Pyrex/Mac/MacUtils.py
 ${PYSITELIB}/Pyrex/Mac/MacUtils.pyc
 ${PYSITELIB}/Pyrex/Mac/MacUtils.pyo
-${PYSITELIB}/Pyrex/Mac/PS_Misc_Suite.py
-${PYSITELIB}/Pyrex/Mac/PS_Misc_Suite.pyc
-${PYSITELIB}/Pyrex/Mac/PS_Misc_Suite.pyo
-${PYSITELIB}/Pyrex/Mac/PyServerMain.py
-${PYSITELIB}/Pyrex/Mac/PyServerMain.pyc
-${PYSITELIB}/Pyrex/Mac/PyServerMain.pyo
 ${PYSITELIB}/Pyrex/Mac/TS_Misc_Suite.py
 ${PYSITELIB}/Pyrex/Mac/TS_Misc_Suite.pyc
 ${PYSITELIB}/Pyrex/Mac/TS_Misc_Suite.pyo
 ${PYSITELIB}/Pyrex/Mac/__init__.py
 ${PYSITELIB}/Pyrex/Mac/__init__.pyc
 ${PYSITELIB}/Pyrex/Mac/__init__.pyo
+${PYSITELIB}/Pyrex/Mac/setup.py
+${PYSITELIB}/Pyrex/Mac/setup.pyc
+${PYSITELIB}/Pyrex/Mac/setup.pyo
 ${PYSITELIB}/Pyrex/Plex/Actions.py
 ${PYSITELIB}/Pyrex/Plex/Actions.pyc
 ${PYSITELIB}/Pyrex/Plex/Actions.pyo
@@ -124,14 +130,22 @@
 ${PYSITELIB}/Pyrex/Plex/test_tm.py
 ${PYSITELIB}/Pyrex/Plex/test_tm.pyc
 ${PYSITELIB}/Pyrex/Plex/test_tm.pyo
+${PYSITELIB}/Pyrex/Unix/LinuxSystem.py
+${PYSITELIB}/Pyrex/Unix/LinuxSystem.pyc
+${PYSITELIB}/Pyrex/Unix/LinuxSystem.pyo
+${PYSITELIB}/Pyrex/Unix/__init__.py
+${PYSITELIB}/Pyrex/Unix/__init__.pyc
+${PYSITELIB}/Pyrex/Unix/__init__.pyo
 ${PYSITELIB}/Pyrex/Utils.py
 ${PYSITELIB}/Pyrex/Utils.pyc
 ${PYSITELIB}/Pyrex/Utils.pyo
 ${PYSITELIB}/Pyrex/__init__.py
 ${PYSITELIB}/Pyrex/__init__.pyc
 ${PYSITELIB}/Pyrex/__init__.pyo
+@dirrm ${PYSITELIB}/Pyrex/Unix
 @dirrm ${PYSITELIB}/Pyrex/Plex
 @dirrm ${PYSITELIB}/Pyrex/Mac
+@dirrm ${PYSITELIB}/Pyrex/DistutilsOld
 @dirrm ${PYSITELIB}/Pyrex/Distutils
 @dirrm ${PYSITELIB}/Pyrex/Compiler
 @dirrm ${PYSITELIB}/Pyrex
diff -r 6100ebfe5664 -r 4f6e172f2320 lang/py-pyrex/distinfo
--- a/lang/py-pyrex/distinfo    Fri Apr 25 17:16:40 2008 +0000
+++ b/lang/py-pyrex/distinfo    Fri Apr 25 17:37:56 2008 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2006/05/29 15:37:02 joerg Exp $
+$NetBSD: distinfo,v 1.8 2008/04/25 17:37:56 tnn Exp $
 
-SHA1 (Pyrex-0.9.4.1.tar.gz) = cafd221d75bacd411d8f0ca8dabc450a58466ba5
-RMD160 (Pyrex-0.9.4.1.tar.gz) = c6474bfdab3ed7df745b83aba89a47c6482d7d0a
-Size (Pyrex-0.9.4.1.tar.gz) = 181507 bytes
+SHA1 (Pyrex-0.9.6.4.tar.gz) = 233fb9b92b62015b9d0f24c9e1aea4acdcd6782d
+RMD160 (Pyrex-0.9.6.4.tar.gz) = 4209739535744b65b8681e8974c5eac7894d3431
+Size (Pyrex-0.9.6.4.tar.gz) = 221658 bytes



Home | Main Index | Thread Index | Old Index