summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass
AgeCommit message (Collapse)AuthorFilesLines
2020-04-10obmc-phosphor-python-autotools: remove unused bbclassPatrick Williams1-30/+0
(From meta-phosphor rev: e95fd00d32d7032cea056ef8a077903810bcc6b7) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia367acbef791cb1542734c53bc208c5eabc7e22e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-10obmc-phosphor-python-autotools: hack to support mixed python installsPatrick Williams1-0/+13
Some packages are switching to 'inherit python3native' while also having a DEPEND on a python2-based script (such as sdbus++). Rewrite the #! in these executables to use `nativepython` instead of `python` so that the correct version of python and modules are found. (From meta-phosphor rev: 75f63b9ee7741073d22cf9001bfe4c3f31e3a59f) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8a7bcb21a539463838a6a103d531aa8f90c5c8c3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2016-11-22python-autotools: add DEPEND=pythonPatrick Williams1-0/+2
This class is used for installing python-based packages, using python. So the packages need both python-native and python. Without this, there is a race condition in the SDK that can cause the package install to be attempted before python itself is installed. Change-Id: Iab1cf149d715e3d68ecb580c5f107d6534b0b484 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2016-11-22python-autotools: add configuration optionPatrick Williams1-1/+8
Allow class to be used on non-PN packages, by adding a variable to configure which package the python path is added to 'FILES' for. Change-Id: I4c00e949ea71074a5b7abd36b430f90d3eb4ab51 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2016-11-18Create bbclass for python in autotools recipesMatthew Barth1-0/+8
Add the base requirements for building and installing python scripts within a package using autotools. Change-Id: Ia6f6a819a80bc346153ff5c53cefad41d973d953 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>