Ticket #11761: cython-0.15.1.diff

File cython-0.15.1.diff, 1.7 KB (added by jdemeyer, 10 years ago)

Diff for the new Cython spkg, for review only

  • SPKG.txt

    # HG changeset patch
    # User Robert Bradshaw <robertwb@math.washington.edu>
    # Date 1317709398 25200
    # Node ID 8ca49e83c9266015f06d5b7f8bc985c9c001b6db
    # Parent  e9d9d72696c7b36d5b7efb0beb543660ceaf1506
    Cython 0.15.1
    
    diff --git a/SPKG.txt b/SPKG.txt
    a b  
    3131
    3232== Changelog ==
    3333
     34=== cython-0.15.1 (Robert Bradshaw, 3 October 2011, #11761) ===
     35 * Upgrade Cython to 0.15.1
     36
    3437=== cython-0.14.1.p3 (Robert Bradshaw, 1 March 2011, #10493) ===
    3538 * Upgrade Cython to 0.14.1
    3639 * Disable (broken) temp arg assignments.
  • deleted file patches/ExprNodes.py.diff

    diff --git a/patches/ExprNodes.py.diff b/patches/ExprNodes.py.diff
    deleted file mode 100644
    + -  
    1 --- a/src/Cython/Compiler/ExprNodes.py
    2 +++ b/src/Cython/Compiler/ExprNodes.py
    3 @@ -3011,7 +3011,7 @@
    4                      self.args[i] = arg = arg.coerce_to(arg_ctype, env)
    5              if arg.is_temp and i > 0:
    6                  some_args_in_temps = True
    7 -        if some_args_in_temps:
    8 +        if some_args_in_temps and False:
    9              # if some args are temps and others are not, they may get
    10              # constructed in the wrong order (temps first) => make
    11              # sure they are either all temps or all not temps (except
  • spkg-install

    diff --git a/spkg-install b/spkg-install
    a b  
    1111rm -rf "$SAGE_LOCAL"/lib/python2.*/site-packages/Cython*
    1212rm -rf "$SAGE_LOCAL"/lib/python/site-packages/Cython*
    1313
    14 # Fix broken tmp assignments.
    15 # Many of the array _t types are declared to be void*, so are considered
    16 # assignable to temps even if they're not.
    17 patch -p1 < patches/ExprNodes.py.diff
    18 
    1914cd src/
    2015
    2116python setup.py install