VirtualBox

vbox的更動 67995 路徑 trunk/src/libs


忽略:
時間撮記:
2017-7-17 下午01:01:46 (7 年 以前)
作者:
vboxsync
訊息:

xpcom: add more python 3.x versions
distributions_rpm: add Fedora 26, it's the first distro with Python 3.6m

位置:
trunk/src/libs/xpcom18a4/python
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/libs/xpcom18a4/python/Makefile.kmk

    r64057 r67995  
    2727#
    2828# List of supported Python versions, defining a number of
    29 # VBOX_PYTHON[26|27|31|32|32M|33|33M|34|34M|35|35M|DEF]_[INC|LIB] variables
     29# VBOX_PYTHON[26|27|31|32|32M|33|33M|34|34M|35|35M|36|36M|37|37M|DEF]_[INC|LIB] variables
    3030# which get picked up below.
    3131#
     
    387387endif
    388388
     389ifdef VBOX_PYTHON36_INC
     390#
     391# Python 3.6 version
     392#
     393DLLS += VBoxPython3_6
     394VBoxPython3_6_EXTENDS    = VBoxPythonBase
     395VBoxPython3_6_EXTENDS_BY = appending
     396VBoxPython3_6_TEMPLATE   = XPCOM
     397VBoxPython3_6_INCS       = $(VBOX_PYTHON36_INC)
     398VBoxPython3_6_LIBS       = $(VBOX_PYTHON36_LIB)
     399
     400 ifdef VBOX_WITH_32_ON_64_MAIN_API
     401  ifdef VBOX_PYTHON36_LIB_X86
     402DLLS += VBoxPython3_6_x86
     403VBoxPython3_6_x86_EXTENDS    = VBoxPythonBase_x86
     404VBoxPython3_6_x86_EXTENDS_BY = appending
     405VBoxPython3_6_x86_TEMPLATE   = XPCOM
     406VBoxPython3_6_x86_INCS       = $(VBOX_PYTHON36_INC)
     407VBoxPython3_6_x86_LIBS       = $(VBOX_PYTHON36_LIB_X86)
     408  endif
     409 endif
     410endif
     411
     412ifdef VBOX_PYTHON36M_INC
     413#
     414# Python 3.6 version with pymalloc
     415#
     416DLLS += VBoxPython3_6m
     417VBoxPython3_6m_EXTENDS    = VBoxPythonBase
     418VBoxPython3_6m_EXTENDS_BY = appending
     419VBoxPython3_6m_TEMPLATE   = XPCOM
     420VBoxPython3_6m_INCS       = $(VBOX_PYTHON36M_INC)
     421VBoxPython3_6m_LIBS       = $(VBOX_PYTHON36M_LIB)
     422
     423 ifdef VBOX_WITH_32_ON_64_MAIN_API
     424  ifdef VBOX_PYTHON36M_LIB_X86
     425DLLS += VBoxPython3_6m_x86
     426VBoxPython3_6m_x86_EXTENDS    = VBoxPythonBase_x86
     427VBoxPython3_6m_x86_EXTENDS_BY = appending
     428VBoxPython3_6m_x86_TEMPLATE   = XPCOM
     429VBoxPython3_6m_x86_INCS       = $(VBOX_PYTHON36M_INC)
     430VBoxPython3_6m_x86_LIBS       = $(VBOX_PYTHON36M_LIB_X86)
     431  endif
     432 endif
     433endif
     434
     435ifdef VBOX_PYTHON37_INC
     436#
     437# Python 3.7 version
     438#
     439DLLS += VBoxPython3_7
     440VBoxPython3_7_EXTENDS    = VBoxPythonBase
     441VBoxPython3_7_EXTENDS_BY = appending
     442VBoxPython3_7_TEMPLATE   = XPCOM
     443VBoxPython3_7_INCS       = $(VBOX_PYTHON37_INC)
     444VBoxPython3_7_LIBS       = $(VBOX_PYTHON37_LIB)
     445
     446 ifdef VBOX_WITH_32_ON_64_MAIN_API
     447  ifdef VBOX_PYTHON37_LIB_X86
     448DLLS += VBoxPython3_7_x86
     449VBoxPython3_7_x86_EXTENDS    = VBoxPythonBase_x86
     450VBoxPython3_7_x86_EXTENDS_BY = appending
     451VBoxPython3_7_x86_TEMPLATE   = XPCOM
     452VBoxPython3_7_x86_INCS       = $(VBOX_PYTHON37_INC)
     453VBoxPython3_7_x86_LIBS       = $(VBOX_PYTHON37_LIB_X86)
     454  endif
     455 endif
     456endif
     457
     458ifdef VBOX_PYTHON37M_INC
     459#
     460# Python 3.7 version with pymalloc
     461#
     462DLLS += VBoxPython3_7m
     463VBoxPython3_7m_EXTENDS    = VBoxPythonBase
     464VBoxPython3_7m_EXTENDS_BY = appending
     465VBoxPython3_7m_TEMPLATE   = XPCOM
     466VBoxPython3_7m_INCS       = $(VBOX_PYTHON37M_INC)
     467VBoxPython3_7m_LIBS       = $(VBOX_PYTHON37M_LIB)
     468
     469 ifdef VBOX_WITH_32_ON_64_MAIN_API
     470  ifdef VBOX_PYTHON37M_LIB_X86
     471DLLS += VBoxPython3_7m_x86
     472VBoxPython3_7m_x86_EXTENDS    = VBoxPythonBase_x86
     473VBoxPython3_7m_x86_EXTENDS_BY = appending
     474VBoxPython3_7m_x86_TEMPLATE   = XPCOM
     475VBoxPython3_7m_x86_INCS       = $(VBOX_PYTHON37M_INC)
     476VBoxPython3_7m_x86_LIBS       = $(VBOX_PYTHON37M_LIB_X86)
     477  endif
     478 endif
     479endif
     480
    389481ifdef VBOX_PYTHONDEF_INC
    390482#
  • trunk/src/libs/xpcom18a4/python/gen_python_deps.py

    r64070 r67995  
    1717from distutils.version import StrictVersion
    1818
    19 versions = ["2.6", "2.7", "3.1", "3.2", "3.2m", "3.3", "3.3m", "3.4", "3.4m", "3.5", "3.5m"]
     19versions = ["2.6", "2.7", "3.1", "3.2", "3.2m", "3.3", "3.3m", "3.4", "3.4m", "3.5", "3.5m", "3.6", "3.6m", "3.7", "3.7m"]
    2020prefixes = ["/usr", "/usr/local", "/opt", "/opt/local"]
    2121known = {}
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette