summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-extended/pywbem/python3-pywbem_0.17.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-extended/pywbem/python3-pywbem_0.17.3.bb')
-rw-r--r--meta-python/recipes-extended/pywbem/python3-pywbem_0.17.3.bb56
1 files changed, 56 insertions, 0 deletions
diff --git a/meta-python/recipes-extended/pywbem/python3-pywbem_0.17.3.bb b/meta-python/recipes-extended/pywbem/python3-pywbem_0.17.3.bb
new file mode 100644
index 0000000000..930f048964
--- /dev/null
+++ b/meta-python/recipes-extended/pywbem/python3-pywbem_0.17.3.bb
@@ -0,0 +1,56 @@
1SUMMARY = "Python WBEM Client and Provider Interface"
2DESCRIPTION = "\
3A Python library for making CIM (Common Information Model) operations over \
4HTTP using the WBEM CIM-XML protocol. It is based on the idea that a good \
5WBEM client should be easy to use and not necessarily require a large amount \
6of programming knowledge. It is suitable for a large range of tasks from \
7simply poking around to writing web and GUI applications. \
8\
9WBEM, or Web Based Enterprise Management is a manageability protocol, like \
10SNMP, standardised by the Distributed Management Task Force (DMTF) available \
11at http://www.dmtf.org/standards/wbem. \
12\
13It also provides a Python provider interface, and is the fastest and easiest \
14way to write providers on the planet."
15HOMEPAGE = "http://pywbem.github.io"
16LICENSE = "LGPLv2.1"
17LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24"
18
19SRC_URI[md5sum] = "9fbee6b4327f035eb212017b6cd84309"
20SRC_URI[sha256sum] = "1de9963adda97d89d191d027ddc64167699a11ac42ecc3ea35dddf7679ac2441"
21
22inherit pypi setuptools3 update-alternatives
23
24DEPENDS += " \
25 ${PYTHON_PN}-ply-native \
26 ${PYTHON_PN}-pyyaml-native \
27 ${PYTHON_PN}-six-native \
28"
29
30do_install_append() {
31 mv ${D}${bindir}/wbemcli.py ${D}${bindir}/pywbemcli
32
33 rm -f ${D}${bindir}/*.bat
34}
35
36RDEPENDS_${PN}_class-target += "\
37 ${PYTHON_PN}-datetime \
38 ${PYTHON_PN}-io \
39 ${PYTHON_PN}-netclient \
40 ${PYTHON_PN}-ply \
41 ${PYTHON_PN}-pyyaml \
42 ${PYTHON_PN}-six \
43 ${PYTHON_PN}-stringold \
44 ${PYTHON_PN}-threading \
45 ${PYTHON_PN}-unixadmin \
46 ${PYTHON_PN}-xml \
47"
48
49ALTERNATIVE_${PN} = "mof_compiler pywbemcli wbemcli"
50ALTERNATIVE_TARGET[mof_compiler] = "${bindir}/mof_compiler"
51ALTERNATIVE_TARGET[pywbemcli] = "${bindir}/pywbemcli"
52ALTERNATIVE_TARGET[wbemcli] = "${bindir}/wbemcli"
53
54ALTERNATIVE_PRIORITY = "60"
55
56BBCLASSEXTEND = "native"