transforms/python-3-soabi
author Rich Burridge <rich.burridge@oracle.com>
Tue, 02 Feb 2016 12:18:19 -0800
changeset 5385 ada5863c16fd
parent 4912 0b79e9575718
permissions -rw-r--r--
22649522 Popplet should be Poppler in its package manifest file.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4912
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
     1
#
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
     2
# CDDL HEADER START
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
     3
#
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
     4
# The contents of this file are subject to the terms of the
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
     5
# Common Development and Distribution License (the "License").
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
     6
# You may not use this file except in compliance with the License.
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
     7
#
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    10
# See the License for the specific language governing permissions
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    11
# and limitations under the License.
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    12
#
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    18
#
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    19
# CDDL HEADER END
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    20
#
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    21
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    22
#
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    23
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    24
#
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    25
2060
a9ad5cd0ec29 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    26
# Python 2's ABI for .so files is to simply append ".so".  But for Python
a9ad5cd0ec29 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    27
# 3, it appends ".cpython-3#[d][m][u].so", where # is the minor version,
a9ad5cd0ec29 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    28
# "d" is added if built --with-pydebug (we don't), "m" is added if built
a9ad5cd0ec29 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    29
# --with-pymalloc (we do) and "u" is added if built --with-wide-unicode
a9ad5cd0ec29 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    30
# (we don't).  See http://legacy.python.org/dev/peps/pep-3149/ for details.
a9ad5cd0ec29 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    31
<transform file -> edit path \
4912
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 2060
diff changeset
    32
    (usr/lib/python3.)([4-9])(/vendor-packages/(.*/)?(64/)?.*)\.so$ \
2060
a9ad5cd0ec29 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    33
    \\1\\2\\3.cpython-3\\2m.so >