summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/recipes-phosphor/devtools/obmc-pydevtools_git.bb
blob: ea0264cb3bc0f596d455b42e499ceb71756d550e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SUMMARY = "OpenBMC python devtools"
DESCRIPTION = "Shortcut scripts for developers."
PR = "r1"
PV = "1.0+git${SRCPV}"

inherit skeleton-python

VIRTUAL-RUNTIME_skeleton_workbook ?= ""

RDEPENDS_${PN} += "\
        python-dbus \
        python-json \
        python-xml \
        python-pygobject \
        ${VIRTUAL-RUNTIME_skeleton_workbook} \
	"

SKELETON_DIR = "pytools"

do_install_append() {
	if [ -f ${S}/obmcutil-completion.sh ]
	then
		install -d ${D}${sysconfdir}/profile.d
		install -m 0644 -D -t ${D}${sysconfdir}/profile.d ${S}/obmcutil-completion.sh
	fi
}
OpenPOWER on IntegriCloud