transforms/python-3-soabi
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Fri, 05 Jun 2015 17:26:12 -0700
branchs11-update
changeset 4441 8e251f3e0ce3
parent 3783 9edbfb2ff34a
child 4912 0b79e9575718
permissions -rw-r--r--
21138378 Add group/feature packages to Userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3783
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     1
# Python 2's ABI for .so files is to simply append ".so".  But for Python
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     2
# 3, it appends ".cpython-3#[d][m][u].so", where # is the minor version,
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
# "d" is added if built --with-pydebug (we don't), "m" is added if built
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     4
# --with-pymalloc (we do) and "u" is added if built --with-wide-unicode
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     5
# (we don't).  See http://legacy.python.org/dev/peps/pep-3149/ for details.
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
<transform file -> edit path \
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
    (usr/lib/python3.)([0-9])(/vendor-packages/(.*/)?64/.*)\.so \
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
    \\1\\2\\3.cpython-3\\2m.so >