diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2020-06-29 15:12:26 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-06-30 07:50:23 -0700 |
| commit | 8865244010462548b542a6a47f64da248d34821f (patch) | |
| tree | bc77bd8807208fa9c7b52b8e1b4798fb63e31bc8 | |
| parent | 2da77b348ea2b2894747cba3e9ce39debb3a3569 (diff) | |
| download | meta-openembedded-8865244010462548b542a6a47f64da248d34821f.tar.gz | |
python3-pywbem: Consolidate in a single file
Consolidate inc and bb files into a single bb file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-python/recipes-extended/pywbem/python-pywbem.inc | 51 | ||||
| -rw-r--r-- | meta-python/recipes-extended/pywbem/python3-pywbem_0.15.0.bb | 53 |
2 files changed, 51 insertions, 53 deletions
diff --git a/meta-python/recipes-extended/pywbem/python-pywbem.inc b/meta-python/recipes-extended/pywbem/python-pywbem.inc deleted file mode 100644 index 98508b0c30..0000000000 --- a/meta-python/recipes-extended/pywbem/python-pywbem.inc +++ /dev/null | |||
| @@ -1,51 +0,0 @@ | |||
| 1 | SUMMARY = "Python WBEM Client and Provider Interface" | ||
| 2 | DESCRIPTION = "\ | ||
| 3 | A Python library for making CIM (Common Information Model) operations over \ | ||
| 4 | HTTP using the WBEM CIM-XML protocol. It is based on the idea that a good \ | ||
| 5 | WBEM client should be easy to use and not necessarily require a large amount \ | ||
| 6 | of programming knowledge. It is suitable for a large range of tasks from \ | ||
| 7 | simply poking around to writing web and GUI applications. \ | ||
| 8 | \ | ||
| 9 | WBEM, or Web Based Enterprise Management is a manageability protocol, like \ | ||
| 10 | SNMP, standardised by the Distributed Management Task Force (DMTF) available \ | ||
| 11 | at http://www.dmtf.org/standards/wbem. \ | ||
| 12 | \ | ||
| 13 | It also provides a Python provider interface, and is the fastest and easiest \ | ||
| 14 | way to write providers on the planet." | ||
| 15 | HOMEPAGE = "http://pywbem.github.io" | ||
| 16 | LICENSE = "LGPLv2.1" | ||
| 17 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24" | ||
| 18 | |||
| 19 | inherit pypi | ||
| 20 | |||
| 21 | SRCREV = "b3386b3bee8876d15f0745147c0b08937d8ab18e" | ||
| 22 | PYPI_SRC_URI = "git://github.com/pywbem/pywbem;protocol=https;branch=stable_0.15" | ||
| 23 | |||
| 24 | S = "${WORKDIR}/git" | ||
| 25 | |||
| 26 | DEPENDS += " \ | ||
| 27 | ${PYTHON_PN}-ply-native \ | ||
| 28 | ${PYTHON_PN}-pyyaml-native \ | ||
| 29 | ${PYTHON_PN}-six-native \ | ||
| 30 | " | ||
| 31 | |||
| 32 | do_install_append() { | ||
| 33 | mv ${D}${bindir}/wbemcli.py ${D}${bindir}/pywbemcli | ||
| 34 | |||
| 35 | rm -f ${D}${bindir}/*.bat | ||
| 36 | } | ||
| 37 | |||
| 38 | RDEPENDS_${PN}_class-target += "\ | ||
| 39 | ${PYTHON_PN}-datetime \ | ||
| 40 | ${PYTHON_PN}-io \ | ||
| 41 | ${PYTHON_PN}-netclient \ | ||
| 42 | ${PYTHON_PN}-ply \ | ||
| 43 | ${PYTHON_PN}-pyyaml \ | ||
| 44 | ${PYTHON_PN}-six \ | ||
| 45 | ${PYTHON_PN}-stringold \ | ||
| 46 | ${PYTHON_PN}-threading \ | ||
| 47 | ${PYTHON_PN}-unixadmin \ | ||
| 48 | ${PYTHON_PN}-xml \ | ||
| 49 | " | ||
| 50 | |||
| 51 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-python/recipes-extended/pywbem/python3-pywbem_0.15.0.bb b/meta-python/recipes-extended/pywbem/python3-pywbem_0.15.0.bb index abfb8d9202..cbb55b8f7a 100644 --- a/meta-python/recipes-extended/pywbem/python3-pywbem_0.15.0.bb +++ b/meta-python/recipes-extended/pywbem/python3-pywbem_0.15.0.bb | |||
| @@ -1,5 +1,52 @@ | |||
| 1 | require python-pywbem.inc | 1 | SUMMARY = "Python WBEM Client and Provider Interface" |
| 2 | inherit setuptools3 update-alternatives | 2 | DESCRIPTION = "\ |
| 3 | A Python library for making CIM (Common Information Model) operations over \ | ||
| 4 | HTTP using the WBEM CIM-XML protocol. It is based on the idea that a good \ | ||
| 5 | WBEM client should be easy to use and not necessarily require a large amount \ | ||
| 6 | of programming knowledge. It is suitable for a large range of tasks from \ | ||
| 7 | simply poking around to writing web and GUI applications. \ | ||
| 8 | \ | ||
| 9 | WBEM, or Web Based Enterprise Management is a manageability protocol, like \ | ||
| 10 | SNMP, standardised by the Distributed Management Task Force (DMTF) available \ | ||
| 11 | at http://www.dmtf.org/standards/wbem. \ | ||
| 12 | \ | ||
| 13 | It also provides a Python provider interface, and is the fastest and easiest \ | ||
| 14 | way to write providers on the planet." | ||
| 15 | HOMEPAGE = "http://pywbem.github.io" | ||
| 16 | LICENSE = "LGPLv2.1" | ||
| 17 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24" | ||
| 18 | |||
| 19 | inherit pypi setuptools3 update-alternatives | ||
| 20 | |||
| 21 | SRCREV = "b3386b3bee8876d15f0745147c0b08937d8ab18e" | ||
| 22 | PYPI_SRC_URI = "git://github.com/pywbem/pywbem;protocol=https;branch=stable_0.15" | ||
| 23 | |||
| 24 | S = "${WORKDIR}/git" | ||
| 25 | |||
| 26 | DEPENDS += " \ | ||
| 27 | ${PYTHON_PN}-ply-native \ | ||
| 28 | ${PYTHON_PN}-pyyaml-native \ | ||
| 29 | ${PYTHON_PN}-six-native \ | ||
| 30 | " | ||
| 31 | |||
| 32 | do_install_append() { | ||
| 33 | mv ${D}${bindir}/wbemcli.py ${D}${bindir}/pywbemcli | ||
| 34 | |||
| 35 | rm -f ${D}${bindir}/*.bat | ||
| 36 | } | ||
| 37 | |||
| 38 | RDEPENDS_${PN}_class-target += "\ | ||
| 39 | ${PYTHON_PN}-datetime \ | ||
| 40 | ${PYTHON_PN}-io \ | ||
| 41 | ${PYTHON_PN}-netclient \ | ||
| 42 | ${PYTHON_PN}-ply \ | ||
| 43 | ${PYTHON_PN}-pyyaml \ | ||
| 44 | ${PYTHON_PN}-six \ | ||
| 45 | ${PYTHON_PN}-stringold \ | ||
| 46 | ${PYTHON_PN}-threading \ | ||
| 47 | ${PYTHON_PN}-unixadmin \ | ||
| 48 | ${PYTHON_PN}-xml \ | ||
| 49 | " | ||
| 3 | 50 | ||
| 4 | ALTERNATIVE_${PN} = "mof_compiler pywbemcli wbemcli" | 51 | ALTERNATIVE_${PN} = "mof_compiler pywbemcli wbemcli" |
| 5 | ALTERNATIVE_TARGET[mof_compiler] = "${bindir}/mof_compiler" | 52 | ALTERNATIVE_TARGET[mof_compiler] = "${bindir}/mof_compiler" |
| @@ -7,3 +54,5 @@ ALTERNATIVE_TARGET[pywbemcli] = "${bindir}/pywbemcli" | |||
| 7 | ALTERNATIVE_TARGET[wbemcli] = "${bindir}/wbemcli" | 54 | ALTERNATIVE_TARGET[wbemcli] = "${bindir}/wbemcli" |
| 8 | 55 | ||
| 9 | ALTERNATIVE_PRIORITY = "60" | 56 | ALTERNATIVE_PRIORITY = "60" |
| 57 | |||
| 58 | BBCLASSEXTEND = "native" | ||
