xref: /openbmc/openbmc/poky/meta/recipes-devtools/python/python3-scons_4.8.1.bb (revision 8460358c3d24c71d9d38fd126c745854a6301564)
1*8460358cSPatrick WilliamsSUMMARY = "Software Construction tool (make/autotools replacement)"
2*8460358cSPatrick WilliamsHOMEPAGE = "https://github.com/SCons/scons"
3*8460358cSPatrick WilliamsSECTION = "devel/python"
4*8460358cSPatrick WilliamsLICENSE = "MIT"
5*8460358cSPatrick WilliamsLIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7"
6*8460358cSPatrick Williams
7*8460358cSPatrick WilliamsSRC_URI[sha256sum] = "5b641357904d2f56f7bfdbb37e165ab996b6143c948b9df0efc7305f54949daa"
8*8460358cSPatrick WilliamsUPSTREAM_CHECK_PYPI_PACKAGE = "SCons"
9*8460358cSPatrick Williams
10*8460358cSPatrick Williamsinherit pypi python_setuptools_build_meta
11*8460358cSPatrick Williams
12*8460358cSPatrick WilliamsS = "${WORKDIR}/SCons-${PV}"
13*8460358cSPatrick Williams
14*8460358cSPatrick WilliamsRDEPENDS:${PN}:class-target = "\
15*8460358cSPatrick Williams  python3-core \
16*8460358cSPatrick Williams  python3-compression \
17*8460358cSPatrick Williams  python3-fcntl \
18*8460358cSPatrick Williams  python3-io \
19*8460358cSPatrick Williams  python3-json \
20*8460358cSPatrick Williams  python3-shell \
21*8460358cSPatrick Williams  python3-pickle \
22*8460358cSPatrick Williams  python3-pkg-resources \
23*8460358cSPatrick Williams  python3-pprint \
24*8460358cSPatrick Williams  "
25*8460358cSPatrick Williams
26*8460358cSPatrick Williamsdo_install:append:class-native() {
27*8460358cSPatrick Williams    create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1'
28*8460358cSPatrick Williams}
29*8460358cSPatrick Williams
30*8460358cSPatrick WilliamsBBCLASSEXTEND = "native"
31