2016-01-21 16:46:06 +00:00
|
|
|
require python-setuptools.inc
|
2013-03-10 06:10:50 +00:00
|
|
|
|
|
|
|
DEPENDS += "python3"
|
2014-02-12 12:11:34 +00:00
|
|
|
DEPENDS_class-native += "python3-native"
|
2018-02-08 20:25:28 +00:00
|
|
|
DEPENDS_class-nativesdk += "nativesdk-python3"
|
2013-03-10 06:10:50 +00:00
|
|
|
|
|
|
|
inherit distutils3
|
|
|
|
|
2016-08-09 08:01:41 +00:00
|
|
|
DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}"
|
2013-03-10 06:10:50 +00:00
|
|
|
|
2016-01-21 16:46:06 +00:00
|
|
|
# The installer puts the wrong path in the setuptools.pth file. Correct it.
|
2013-03-10 06:10:50 +00:00
|
|
|
do_install_append() {
|
|
|
|
rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
|
|
|
|
mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install
|
|
|
|
echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
|
|
|
|
}
|
|
|
|
|
2018-02-08 20:25:28 +00:00
|
|
|
RDEPENDS_${PN}_class-native = "\
|
2013-03-10 06:10:50 +00:00
|
|
|
python3-distutils \
|
|
|
|
python3-compression \
|
|
|
|
"
|
2018-02-08 20:25:28 +00:00
|
|
|
RDEPENDS_${PN} = "\
|
2015-05-14 16:49:56 +00:00
|
|
|
python3-ctypes \
|
|
|
|
python3-distutils \
|
|
|
|
python3-email \
|
|
|
|
python3-importlib \
|
|
|
|
python3-numbers \
|
|
|
|
python3-compression \
|
|
|
|
python3-shell \
|
|
|
|
python3-subprocess \
|
|
|
|
python3-textutils \
|
|
|
|
python3-pkgutil \
|
|
|
|
python3-threading \
|
|
|
|
python3-misc \
|
|
|
|
python3-unittest \
|
|
|
|
python3-xml \
|
|
|
|
"
|
2018-02-08 20:25:28 +00:00
|
|
|
BBCLASSEXTEND = "native nativesdk"
|