Files
meta-openembedded/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb
Mark Hatle 16b6e71213 openlmi-tools: Only build if the necessary python pieces are available
Since this isn't a python library it doesn't really belong to meta-python.
But I couldn't figure out where else to move it to.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-13 11:08:45 +02:00

29 lines
887 B
BlitzBasic

SUMMARY = "Set of CLI tools for Openlmi providers"
DESCRIPTION = "openlmi-tools is a set of command line tools for Openlmi providers."
HOMEPAGE = "http://www.openlmi.org/"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
SECTION = "System/Management"
inherit setuptools
DEPENDS = "python-native pywbem-native python-m2crypto pywbem"
SRC_URI = "http://fedorahosted.org/released/${BPN}/${BP}.tar.gz \
"
SRC_URI[md5sum] = "e156246cb7b49753db82f4ddf7f03e50"
SRC_URI[sha256sum] = "292b8f5f2250655a4add8183c529b73358bc980bd4f23cfa484a940953fce9e4"
do_compile_prepend() {
cd cli
sed 's/@@VERSION@@/$(VERSION)/g' setup.py.skel >setup.py
}
do_install_prepend() {
cd cli
}
python() {
if 'meta-python' not in d.getVar('BBFILE_COLLECTIONS').split():
raise bb.parse.SkipRecipe('Requires meta-python to be present.')
}