Lines Matching refs:python

2 HOMEPAGE = "http://www.python.org"
5 SECTION = "devel/python"
9 SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
19 file://0001-Do-not-use-the-shell-version-of-python-config-that-w.patch \
20 file://python-config.patch \
37 file://0001-Avoid-shebang-overflow-on-python-config.py.patch \
43 file://0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch \
49 # exclude pre-releases for both python 2.x and 3.x
51 UPSTREAM_CHECK_URI = "https://www.python.org/downloads/source/"
53 CVE_PRODUCT = "python"
76 ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config"
77 ALTERNATIVE_TARGET[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}"
84 # force to use the mutex+cond implementation (https://bugs.python.org/issue41710)
90 export CROSSPYTHONPATH="${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/"
148 oe_multilib_header python${PYTHON_MAJMIN}/pyconfig.h
152 # Make sure we use /usr/bin/env python
153 for PYTHSCRIPT in `grep -rIl ${bindir}/${PN}/python ${D}${bindir}/${PN}`; do
164 # when they're only used for python called with -O or -OO.
167 # python create the ones it wants at runtime rather than manage in the sstate
173 ${D}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}*/Makefile
177 for c in ${D}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py; do
180 rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sysconfigdata*.cpython*
182 mkdir -p ${D}${libdir}/python-sysconfigdata
192 cp $sysconfigfile ${D}${libdir}/python-sysconfigdata/_sysconfigdata.py
199 # More info: http://benno.id.au/blog/2013/01/15/python-determinism
200 rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_range.cpython*
201 rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_xml_etree.cpython*
206 rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/__pycache__/traceback.cpython*
209 # style targets as they're only used when python is called with the -O or -OO options
215 # Make sure we use /usr/bin/env python
216 for PYTHSCRIPT in `grep -rIl ${bindir}/python ${D}${bindir}`; do
219 …create_wrapper ${D}${bindir}/python${PYTHON_MAJMIN} TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/ter…
228 populate_sysroot:*/lib*/python-sysconfigdata/_sysconfigdata.py:${TMPDIR} \
229 populate_sysroot:*/lib*/python-sysconfigdata/_sysconfigdata.py:${COREBASE} \
241 … ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}*/Makefile \
242 ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py \
243 ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config
247 for c in ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py; do
262 …mv ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config…
265 rm -rf ${PKGD}/${libdir}/python-sysconfigdata
272 python(){
276 # This python changes the datastore based on the contents of a file, so mark
313 # We need to prepend, otherwise python-misc gets everything
317 # "Build" python's manifest FILES, RDEPENDS and SUMMARY
340 # Prepending so to avoid python-misc getting everything
356 # native python build, containing all dependencies, otherwise the task
362 # This needs to be executed by python-native and NOT by HOST's python
367 # bitbake python -c create_manifest
368 # Make sure we have native python ready when we create a new manifest
383 # provide python-pyvenv from python3-venv
389 FILES:libpython3-staticdev += "${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}-*/libpython…
406 FILES:${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload"
412 # See https://bugs.python.org/issue18748 and https://bugs.python.org/issue37395
428 rm -rf ${SYSROOT_DESTDIR}${libdir}/python${PYTHON_MAJMIN}/test